Git AI
Agents

OpenCode

Track OpenCode AI-code generated with OpenCode all the way to production.

Supported since: 2025-12-05

OpenCode logo
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.

FeatureSupported
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.