feat: add agy-acp adapter for Google Antigravity CLI#896
Merged
Conversation
d4906a8 to
c197492
Compare
Collaborator
Author
Fixes pushed (2 commits)
|
a4f96f0 to
146d2f4
Compare
Add a thin Rust ACP stdio adapter (agy-acp) that translates openab's JSON-RPC protocol into `agy -p` invocations, enabling Antigravity CLI as an agent backend. - agy-acp/: standalone Rust crate, reads ACP JSON-RPC on stdin, spawns `agy -p "prompt"` for each session/prompt, uses --continue for multi-turn session continuity - Dockerfile.antigravity: multi-stage build bundling openab + agy-acp + agy binary from Google Storage - docs/antigravity.md: configuration and usage guide Tested end-to-end locally with Discord (周嘟嘟 bot) — ~5s response time. Closes #863
146d2f4 to
eba5deb
Compare
thepagent
approved these changes
May 22, 2026
This was referenced May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a thin Rust ACP stdio adapter (
agy-acp) that bridges openab to Google's Antigravity CLI (agy) viaagy -pinvocations.Inspired by #863 (@Joseph19820124) — this implementation takes a different approach: a standalone Rust binary instead of a Node.js wrapper, with proper stdin/stdout pipe handling for reliable subprocess communication.
Changes
agy-acp/: standalone Rust crate (same pattern asgateway/,xai-proxy/)<sender_context>blocks, extracts user textagy -p "prompt"withstdin=null,stdout=piped--continuefor multi-turn session continuityagent_message_chunknotificationDockerfile.antigravity: multi-stage build (openab + agy-acp + agy binary)docs/antigravity.md: configuration and usage guideConfig
Test plan
--continueverifiedLimitations
--continue(resumes most recent conversation)Discord Discussion URL: https://discord.com/channels/1491295327620169908/1491365150664560881/1507210905862017227