Agents
OpenCode
Track OpenCode-generated code with Git AI, including line-level attribution, prompt history, token usage, and tool activity from prompt to production.
Supported since: 2025-12-05

Install Git AI
No special setup required. One command, no per-repo config.
curl -sSL https://usegitai.com/install.sh | bash
Prompt OpenCode & Commit
No workflow changes. AI attribution is added automatically on commit.
AI Blame & Ask
See who wrote every line — human or AI. Use git-ai ask to query the original prompts and context behind any AI-generated code.
Capabilities
OpenCode fully supports the Git AI standard.
| Feature | Supported |
|---|---|
| Agent Mode | ✓ |
| Prompt Saving | ✓ |
How this integration works
OpenCode has a very robust plugin system that exposes tool.execute.before and tool.execute.after hooks. When you install Git AI it will automatically installs the neccesary hooks to detect file edits.
Gemini CLI
Track Gemini CLI-generated code with Git AI so AI-authored lines, prompts, models, and tool activity stay connected through every Git operation.
Continue
Track Continue-generated code with Git AI so AI-authored lines, prompts, models, and tool activity stay connected to commits and pull requests.