Git AI

Background Agent Setup

Configure background agents to collect telemetry automatically.

Background agents run autonomously — generating code, opening pull requests, and resolving issues without a developer actively steering the session. Tracking this code is critical: background agent output flows directly into the codebase, often without real-time human review.

Git AI for Teams breaks down AI-authored code by background vs local agents, making it possible to compare acceptance rates, rework frequency, and costs across both modes. See the analytics breakdown for details.

Commits from Claude Code and Codex background agents are automatically attributed correctly — no additional setup required beyond the standard developer install.

The same hooks that track local agent sessions also capture background agent sessions. As long as Git AI is installed on the machine where the background agent runs, telemetry flows to the dashboard automatically.

AgentBackground SupportSetup Required
Claude CodeAutomaticStandard install
CodexAutomaticStandard install

Custom Background Agents

Some engineering teams build internal background agents tailored to their codebase and workflows — like Ramp's background agent, which autonomously resolves issues and opens pull requests across their codebase. Git AI can track code from these agents too.

Custom background agent telemetry collection is currently in beta. To get started, reach out through the dedicated Git AI Slack channel or schedule a call with the core maintainers.

For the technical integration path, see the Custom Agent Integration guide and the full Add Your Agent reference.