Agent Upstart

Cool things people are building with agents — and practical help getting the most out of them.

Playbooks · Coding tasks

GitAgent: gated commit messages and PRs, locally

Written November 7, 2026

GitAgent drafts commit messages and PR descriptions with a local model and stops at every step for approval. What it gates, and what it costs.

What it does

GitAgent is an agentic graph for commit and deploy workflows. It turns a dirty working tree into an open pull request, one approved step at a time: it scans the repo, drafts a commit message and a PR description with a local ollama model or Mistral, then commits, pushes, and opens the PR. The work is modeled as a graph of steps — scan the tree, draft the commit message, commit, push, draft the PR description, open the PR — and it stops at each one. You see what it proposes and what command it will run before it runs.

The commit message comes from the actual diff, not the branch name: GitAgent scans the working tree and drafts a message describing what changed. The PR description is drafted from the commits on the branch, and the PR is opened through the gh CLI.

What it gates

Nothing touches git history or the remote without an explicit go-ahead on that specific step. The agent proposes; you approve. The gates cover every step that changes state:

The point of the design is the contrast with the two usual shapes of AI git tooling: a text generator that hands you a commit message to paste, or an agent that runs commands on your repository and tells you afterwards. GitAgent does neither — the model drafts the text, and the steps are code or declared model calls in a flow defined ahead of time, so the model never decides which git commands run.

What "local" means here

Drafting can run entirely on a local ollama model, which means the diff of a private repository never leaves your machine. Mistral is there if you would rather use a hosted model — in which case the diff does leave the machine, and the privacy claim does not apply. The choice is per setup, not per tool: the same install can point at ollama or at a Mistral API key.

GitAgent also runs as an MCP server for Claude Code, Claude Desktop, and Codex, so you can drive it in plain language — for example, asking Claude to run the PR review and merge for an issue. Connecting it that way costs tokens of the agent's own model, not GitAgent AI credits: the server's instructions (about 680 tokens) sit in every conversation, and every reply stays in the conversation and is read again on each later turn.

What it costs

The current version is 0.1.176, released November 7, 2026. GitAgent ships often; every version and what it changed is listed on the release notes page.

Requirements

Limits

Related playbooks

Sources

Back to: Coding playbooks hub · Also: Manage Git worktrees for parallel AI agents with Worktrunk · Audit a repository's git config before any agent opens it · Run three independent lines of research at the same time in Claude Code, then combine the short summaries