GitAgent (formerly gitclaw) is an open-source CLI coding agent developed under the open-gitagent organization and associated with Lyzr. It is designed to operate directly within software repositories, enabling autonomous and semi-autonomous coding workflows, codebase analysis, and task execution directly from the terminal. Day-to-day operations can be executed against local directories or remote Git repositories using dedicated CLI flags such as `--repo`, `--pat`, and `--session`. The agent relies on a structured workspace specification—including `SOUL.md`, `RULES.md`, and `agent.yaml`—to constrain operational boundaries and agent personas. GitAgent supports modern foundation models including Claude and integrates with external developer tooling via Model Context Protocol (MCP) client capabilities. What differentiates GitAgent is its standardized Open Git Agent architecture combined with production-oriented developer tooling. It includes dedicated memory scaffolding for context persistence, an extensible global plugin ecosystem, and native OpenTelemetry (OTel) instrumentation for tracing execution spans, token usage, and tool invocations. GitAgent is an open-source project distributed via npm and GitHub. It requires no subscription fees beyond the user's standard model API provider costs.
Tags: agent harness, ai agent, cli, codebase, developer tools, OpenSource
SOUL.md, RULES.md, and agent.yaml files. - Repository Management Flags — Supports local and remote repository targeting via --repo, --pat, and --session CLI options. - Model Context Protocol (MCP) Client — Connects to local or remote MCP servers to dynamically discover and execute developer tools and data sources. - Built-in Memory Scaffolding — Persists session context and cross-session knowledge within dedicated repository memory structures. - OpenTelemetry Instrumentation — Emits native OTel trace spans for detailed visibility into agent reasoning, tool calls, and execution lifecycles. - Global Plugin Architecture — Allows developers to extend base agent capabilities by loading custom plugins from a global directory.RULES.md and instruct GitAgent to refactor functions or implement features while strictly adhering to established style, testing, and architecture requirements.GitAgent is built for software engineers, DevOps teams, and platform developers who want a customizable, scriptable CLI agent that supports MCP and OpenTelemetry tracing. It is less suited for developers seeking a standard graphical IDE extension or a zero-configuration chat assistant.
bash npm install -g gitagentbash export ANTHROPIC_API_KEY="your-api-key-here" gitagent --helpbash gitagent --repo . --session refactor-authPart of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools