All apps & tools

GitAgent

Agentic graph for commit and deploy workflows

Turns a dirty working tree into an open pull request, one approved step at a time. Scans your repo, drafts a commit message and a PR description with a local ollama model or Mistral, then commits, pushes, and opens the PR — but nothing touches git history or the remote without an explicit yes at each gated step.

Free for personal, educational and non-profit use, in every repository. Commercial use — including a solo consultant on client work — requires GitAgent Pro, which also brings AI credits every month for the api0 model. Every build is produced by release CI and served from mayorana.ch.

The macOS build is signed with an Apple Developer ID and notarized, so it opens with a normal double-click.

Share:XLinkedIn
GitAgent running Review → Merge on a pull request: the step graph, with the review fanning out to a second model and focused reviews

How GitAgent compares

Only the things GitAgent is strong at are listed. The others do plenty it doesn't — this table is about why you would pick it.

FeatureGitAgentaicommitsGitHub Copilot in VS CodeClaude Code / Cursor
Dirty working tree to open pull request in one flowCommit message onlyDrafts text, you run each step
Stops before every commit, push and PR, showing the exact commandConfirms the commit onlyUnless auto-approve is on
Exact file list committed; untracked files never swept inWhatever is stagedWhatever is stagedDepends on the prompt
Runs entirely on a local model: the diff never leaves the machineVia an OpenAI-compatible endpoint
No AI subscription needed

Compared in October 2026 from each product's public documentation. Something out of date? Tell us

Claude skill

Lets Claude help you with GitAgent: how it works, the known errors and their fixes, and a bug report you review before sending it yourself.

Download the skill (.zip)
How to install it
  • claude.ai or the Claude app: Customize → Skills → + → Create skill → Upload a skill, then choose the .zip. “Code execution and file creation” must be on in Settings → Capabilities.
  • Claude Code: unzip it into ~/.claude/skills/, so that the skill ends up in ~/.claude/skills/gitagent/.
See the plans

GitAgent Pro comes with a monthly plan, which also brings AI credits. Subscribe with your email; your licence number is shown right after and sent by email.

Drive it from Claude, in plain language

One sentence to Claude Code: run the PR review and merge for #75 on gateway-api0, using the Europe model. Claude calls GitAgent through its MCP server, GitAgent runs its Review → Merge flow — the same graph of steps you watch light up in its window — and Claude comes back with what the reviews found and the exact command the merge will run.

The language model understands what you ask and writes the reviews; it never decides which git commands run. Every step is either code or a declared model call, in a flow defined ahead of time, so there is nothing for the model to make up: GitAgent runs the steps the flow names, or it stops. Here it stops at the merge, waiting for your approval in Claude, where the run was started.

Claude Code on the left, GitAgent on the right. 30 seconds, no sound.

Overview

Most AI git tooling has the same problem: it is either a text generator that hands you a commit message to paste, or an agent that runs commands on your repository and tells you afterwards. Neither is what you want on a repo you care about.

GitAgent models the work as a graph of steps — scan the tree, draft the commit message, commit, push, draft the PR description, open the PR — and stops at each one. You see what it proposes and what command it will run before it runs.

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.

What it does

Approval at every step

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

Commit messages from the actual diff

Scans the working tree and drafts a message describing what changed, rather than restating the branch name.

PR descriptions

Drafts the pull request body from the commits on the branch, then opens the PR through the gh CLI.

Local model support

Point it at an ollama model running on your own machine and the contents of a private repository never leave it. Mistral is available as a hosted alternative.

The whole path in one place

Scan, commit, push and open the PR without switching between a terminal, a browser and a chat window.

What it costs your agent

Connecting GitAgent to Claude Code, Claude Desktop or Codex costs tokens of the agent's own model, not AI credits of GitAgent: the server's instructions are in every conversation, the tool definitions once they are loaded, and every reply stays in the conversation and is read again on each later turn, mostly from the prompt cache at a tenth of the price.

What the agent readsTokens
Server instructions, in every conversation≈ 680
Every tool definition (Claude Code loads one when it is first used; Claude Desktop, all of them in every chat)≈ 2,850
Reply to list_repos≈ 440
Reply to repo_insight≈ 290
Reply to list_flows≈ 720
Reply to run_flow≈ 990

Measured on GitAgent 0.1.140, 2026-10-31, on a typical project. Replies grow with what there is to report: a longer list, a bigger diff. Counts are estimates to about 15%.

Requirements

  • macOS on Apple Silicon, Windows, or Linux x86_64
  • git, and the GitHub CLI (gh) authenticated, for opening pull requests
  • Either ollama running locally, or a Mistral API key

Built with

Rust · Dioxus · ollama / Mistral · git · gh

What's new

Version 0.1.204, released 5 December 2026. GitAgent ships often; every version and what it changed is listed on the release notes page.

Read the release notes

Licence

Source-available under the PolyForm Noncommercial License 1.0.0: free for personal use, learning, research and hobby projects, and for charities, schools, universities and government institutions, in every repository, with or without a licence. Commercial use — including a solo consultant on client work and an employee using it at their job — requires GitAgent Pro, which also brings AI credits every month. Pro is the commercial licence: there is nothing else to buy.

Source

The source is public and readable. Fork it and rebrand it — the name and logo are trademarks and are not covered by the licence.

View on GitHub

Questions

Can it push or rewrite history on its own?

No. Every step that touches git history or the remote is gated behind an explicit approval for that step.

Does my code get sent to a third party?

Only if you choose a hosted model. With a local ollama model, drafting happens on your machine and the diff never leaves it.

Does it work with GitLab or Bitbucket?

Pull request creation goes through the GitHub CLI, so PR opening is GitHub-only today. The commit and push steps work on any git remote.

Questions about this tool?

Ask about a commercial licence for your team, report an issue, or tell us what is missing. We read every message.

Get in touch