Skip to content

Agent Support

Agent Note uses the same git-note format for every agent, but each agent exposes different hooks and transcript data. This page helps you choose what to expect before you enable it for a team.

AgentStatusPromptResponseFilesAI RatioLine Estimate
Claude CodeFull supportYesYesYesYesDefault
Codex CLISupportedYesYesYesYesWhen Codex patch history matches the final commit
CursorSupportedYesYesYesYesWhen edit counts match and the final file still matches the latest AI edit
Gemini CLIPreviewYesYesYesYesNot yet
Terminal window
npx agent-note init --agent claude

Use one --agent value for each agent your team actually uses. Multiple agents can be enabled in one repository:

Terminal window
npx agent-note init --agent claude codex cursor gemini

Each developer still needs to run init once after cloning because git hooks live inside .git/.

You need…Expect…
The most complete line attribution todayClaude Code
Codex CLI support with conservative attributionCodex CLI
Cursor editor history and response recoveryCursor
Gemini CLI prompt / response captureGemini CLI

Line-level

Agent Note can count AI-added lines when it has enough edit history to compare the AI edit, later human edits, and the final commit diff.

File-level

When line-level proof is not safe, Agent Note records whether the committed file was touched by the agent and calculates the ratio by files.

Line-level is intentionally conservative. If the evidence does not line up, Agent Note falls back to file-level or skips uncertain data instead of guessing.

Claude Code provides hook-native prompt, response, and edit data. Agent Note records pre-edit and post-edit file states, then subtracts later human edits from the final diff.

Codex CLI support is transcript-driven. Agent Note reads local transcripts, connects apply_patch operations to committed files, and upgrades to line-level only when patch counts match the final diff.

Shell-only edits do not create per-prompt files_touched from command text. When the current Codex transcript is trusted, Agent Note can still mark the commit files as AI-assisted at commit-level.

Cursor support uses afterFileEdit / afterTabFileEdit hooks plus response hooks or local transcripts. Line-level attribution is possible only when edit counts match and the committed file still matches the latest AI edit.

Gemini CLI support uses BeforeTool / AfterTool for file edits and BeforeAgent / AfterAgent for prompt and response recovery. Attribution currently stays at file-level.

Missing data usually means Agent Note chose safety over a guess.

  • No note is written when Agent Note cannot find a committed file touched by the agent.
  • A prompt can be omitted when it belongs to an older commit window.
  • A response can be missing when the agent did not expose it through hooks or transcripts.
  • Generated artifacts and paths listed in the repository-root .agentnoteignore stay visible in Notes, PR Report, and Dashboard; they are only excluded from the AI Ratio denominator.

If you need to inspect a specific case, start with Troubleshooting.