[FEATURE]: Git AI Integration #7463

Open
opened 2026-02-16 18:07:16 -05:00 by yindo · 1 comment
Owner

Originally created by @svarlamov on GitHub (Jan 24, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

To support the growing number of users who would like to annotate their commits with AI attribution, we propose a first-class Git AI integration for OpenCode. This would bring first-class support for the Git AI spec into OpenCode.

Enabling the integration would require:

  1. New git-ai subcommand on the opencode CLI as a shortcut to install Git AI. The idea borrows from the existing github install subcommand.
  2. Automatically call git-ai checkpoint opencode with session metadata before/after edit tool calls (only if git-ai is installed on the system)
  3. On the Git AI side, we will update git-ai to provide a first-class opencode integration (dedicated opencode checkpoint command, transcript parsing, integrate opencode to summarize prompts if the user only wants to save summaries, etc.)

After the core integration is complete, we would love to help implement:

  • A TUI/GUI for "AI Blame" natively in OpenCode (see Git AI VS Code extension)
  • A tool for the OpenCode Agent to have access to search/read transcripts/transcript summaries for a given file, line range, etc. within the project, including prompts that were generated from other agents that integrate with Git AI
  • Pulling in prompts as context for code reviews on PRs that have Git AI notes

All of these features would help support users on multi-agent teams seamlessly.

Originally created by @svarlamov on GitHub (Jan 24, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request To support the growing number of users who would like to annotate their commits with AI attribution, we propose a first-class Git AI integration for OpenCode. This would bring first-class support for the [Git AI spec](https://github.com/git-ai-project/git-ai/blob/main/specs/git_ai_standard_v3.0.0.md) into OpenCode. Enabling the integration would require: 1. New `git-ai` subcommand on the `opencode` CLI as a shortcut to install Git AI. The idea borrows from the existing `github` install subcommand. 2. Automatically call `git-ai checkpoint opencode` with session metadata before/after edit tool calls (only if git-ai is installed on the system) 3. On the Git AI side, we will update `git-ai` to provide a first-class opencode integration (dedicated opencode checkpoint command, transcript parsing, integrate opencode to summarize prompts if the user only wants to save summaries, etc.) After the core integration is complete, we would love to help implement: * A TUI/GUI for "AI Blame" natively in OpenCode (see [Git AI VS Code extension](https://usegitai.com/blog/git-ai-blame)) * A tool for the OpenCode Agent to have access to search/read transcripts/transcript summaries for a given file, line range, etc. within the project, including prompts that were generated from other agents that integrate with Git AI * Pulling in prompts as context for code reviews on PRs that have Git AI notes All of these features would help support users on multi-agent teams seamlessly.
yindo added the discussion label 2026-02-16 18:07:16 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 24, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6309: Connecting sessions/interactions with commits or be included when extracting a transcription — This discusses the core idea of linking AI interactions with commits and metadata, which is fundamental to the Git AI integration feature.
  • #7509: [FEATURE]: Native git tool for repository context awareness — This proposes a native git tool for the LLM to understand repository state and commit context, which complements the Git AI integration goals.

Feel free to ignore if your specific case involves features not covered by these issues.

@github-actions[bot] commented on GitHub (Jan 24, 2026): This issue might be a duplicate of existing issues. Please check: - #6309: Connecting sessions/interactions with commits or be included when extracting a transcription — This discusses the core idea of linking AI interactions with commits and metadata, which is fundamental to the Git AI integration feature. - #7509: [FEATURE]: Native git tool for repository context awareness — This proposes a native git tool for the LLM to understand repository state and commit context, which complements the Git AI integration goals. Feel free to ignore if your specific case involves features not covered by these issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7463