← Back to Leaderboard
Gopen-gitagent

open-gitagent/gitagent

A Git-native Rust agent framework for versioning behavior, tools, and memory

View on GitHub ↗
Engineering Health (Methodology)
A+ · 90/100
Maintenance Activity
● Updated 25d ago
Latest Release
v3.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
CLISelf-HostedAPI
Total Stars
★ 758
24h Growth
+0
7d Growth
+3
Forks
146

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

open-gitagent/gitagent Star History (2026-03-03 - 2026-12-04) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +757 in 276d · avg +3/day 800 400 0 2026-03-03: ★ 12026-03-21: ★ 1592026-04-11: ★ 1982026-05-02: ★ 3192026-05-23: ★ 3922026-06-13: ★ 5242026-07-04: ★ 5752026-07-25: ★ 6152026-08-15: ★ 6442026-09-05: ★ 6692026-09-26: ★ 7022026-10-17: ★ 7132026-11-04: ★ 7402026-11-21: ★ 7532026-12-04: ★ 758 ★ 758 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

gitagent treats the agent folder as the unit of configuration and review. agent.yaml declares the model, tools, runtime and compliance settings; SOUL.md, RULES.md, and the skills, workflows and memory directories contribute to a system prompt assembled in a fixed order at startup. Working memory is committed on save, whereas .gitagent/ holds uncommitted session, audit and schedule state. A Git commit therefore captures the versioned files, not the complete execution record.

The Rust 2021 workspace sets a minimum Rust version of 1.89, forbids unsafe code in its workspace lint configuration, and separates loading, context, providers, hooks, guards, sandboxing, and SDK integration into internal crates. Local plugins contribute tools, skills, hooks, or prompt text. Tool declarations can invoke scripts or HTTP calls; MCP adds local stdio and remote HTTP connections. Python and TypeScript SDKs and line-oriented --ipc provide application integration without requiring callers to embed the Rust engine.

Key Capabilities & Differentiators

The CLI supports interactive sessions, one-shot prompts, named workflows, JSONL events, and clone-based branch runs. A repo-mode run commits only when files change and pushes only with --push. Cron-style schedules run through a long-lived gitagent schedule start process. Optional parallel execution gives each task a fresh context and shell, runs tasks in phases, and reconciles the results with another sub-agent. Concurrency defaults to four and drops when the provider rate-limits requests.

Provider support covers Anthropic, OpenAI's Responses API, Gemini, and OpenAI-compatible endpoints such as OpenRouter, Ollama, and vLLM. The harness limits model-visible command output to 8,000 tokens, retains the full output separately, and uses provider-side context editing to clear older tool results after the conversation exceeds 50,000 tokens. The published Terminal-Bench 2.1 run scored 93.03% ±0.8 with Claude Opus 5.5 across 89 tasks and five runs per task; two tasks requiring nested VMs failed on that host. The result describes that model, harness, and environment, not performance across all backends.

Trade-offs & Limitations

Compared with using Codex CLI or Claude Code as a terminal coding assistant, the adoption case for gitagent is stronger when changes to agent behavior need Git review or when one agent definition must serve both CLI and SDK callers. That control comes with maintenance: repository layout and hooks become operational configuration, and versioned memory needs a retention policy because deleting a file does not remove it from Git history. Parallel phases can shorten independent work but add model calls, and provider-specific caching or context editing should not be assumed to behave the same across endpoints.

Repo mode keeps commits and pushes off the base branch and excludes force-pushes. Provider keys are kept out of the agent shell, but neither control makes an untrusted agent folder safe to run: shell-backed tools, hooks, and MCP servers still require explicit trust and permissions. Set tool allowlists, turn and time limits, and scoped Git credentials before unattended use. The MIT license permits commercial use, but it does not address the separate terms or data-handling requirements of model providers and connected services.

Hardware & Deployment Guide

The v3.0.0 Rust rewrite ships one static binary through npm or the install script for Linux and macOS on x86_64 and arm64. Running the installed binary does not require Node or a Rust toolchain; npm is needed only for that installation route or the TypeScript integration. Source builds use the pinned toolchain in rust-toolchain.toml and cargo build --release. The release preserves compatibility with 1.x and 2.x agent definitions, hooks, schedules, and SDK code, and can load OpenGAP agent folders. MCP client support arrived in v2.1.0, and v2.2.0 introduced the Rust engine before the v3 rewrite became the main distribution.

For self-hosting, run the CLI or manage the IPC process from your application; keep a scheduler process alive for timed work. Hosted inference requires provider credentials and network access. A local compatible model endpoint can keep inference local, but a fully offline deployment also requires local repositories, tools, and data. No GPU is needed on the gitagent host for remote inference; local inference hardware depends on the separate model server. Size CPU, RAM, and disk for concurrent shells, repository work, and retained logs.

Agent definition: agent.yaml and Markdown files capture configuration and behavior; working memory is committed on each save, while .gitagent/ holds uncommitted runtime state.
Integration: Python and TypeScript SDKs plus line-oriented IPC; MCP connects to local servers over stdio or remote servers over HTTP.
Context budgeting: command results are capped at 8,000 tokens, with full output retained separately; older results are cleared in batches through provider-side context editing.
Parallel execution: sub-agents work in phases with separate contexts and shells; concurrency defaults to four and is halved on provider rate limiting.
Git workflow: clone-based runs commit changes to a work branch, push only on request, and neither push the base branch nor force-push.
Benchmark scope: 93.03% ±0.8 on Terminal-Bench 2.1 with Claude Opus 5.5 across 89 tasks and five runs per task.
Best For

Engineering teams that want to review agent behavior in Git, run branch-scoped automation, and share one agent definition across the CLI and application integrations.

Skip If

You want a managed service with a ready-made web console and no processes to operate, or you need to run untrusted agent folders without reviewing their scripts, tools, and permissions.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLISelf-HostedAPI
curl -fsSL https://raw.githubusercontent.com/open-gitagent/gitagent/main/scripts/install.sh | sh

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
gitagent ★758+3RustMITA Git-native Rust agent framework for versioning behavior, tools, and memory
zeroclaw33.7k+75RustApache-2.0Self-hosted Rust runtime for multichannel AI assistants and approval-gated autom
langchain150.4k+290PythonMITModular Python framework for building agents across model providers
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/open-gitagent/gitagent.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

open-gitagent/gitagent Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about gitagent

How do I embed a versioned agent in an existing application?

Keep agent behavior in agent.yaml and the associated Markdown and YAML files, then launch the Rust binary through the Python or TypeScript SDK. For another language, use --ipc and implement the line-oriented protocol. Validate the agent folder with gitagent validate before integrating it, and treat the binary as a process your application must manage, not as a hosted HTTP API.

Do I need a GPU, and what should I size for?

A GPU is not needed to run the agent binary against a remote model API. Size the host for concurrent sub-agents, shell processes, repository operations, and retained tool output. If you run the model locally through Ollama, vLLM, or another compatible endpoint, size VRAM separately for that model and serving configuration; there is no universal gitagent VRAM figure.

Can we use gitagent commercially and self-host it?

Yes. MIT permits commercial use and self-hosting; retain the copyright and license notices when redistributing covered copies. Hosting the binary yourself does not keep inference traffic on your infrastructure if you use an external model provider. Review provider terms and the data flows through prompts, Git-backed memory, tool calls, and logs separately.

When should we pick gitagent over Codex CLI or Claude Code?

Choose gitagent when agent identity, rules, skills, and memory need to be reviewed as file changes, or when the same agent folder must serve both CLI and SDK users. If the job is simply interactive coding in a terminal, compare it with Codex CLI or Claude Code on your own repositories, measuring completion rate, cost, and review effort. A terminal benchmark alone does not establish the better fit.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining open-gitagent/gitagent? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature open-gitagent/gitagent on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare