Skip to content

feat(providers): add official local Antigravity (agy) CLI ACP provider - #99

Merged
tachyon6 merged 1 commit into
mainfrom
feat/add-agy-provider
Dec 6, 2026
Merged

tachyon6 merged 1 commit into
mainfrom
feat/add-agy-provider

Conversation

@tachyon6

@tachyon6 tachyon6 commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds first-class local Antigravity (agy) provider support powered strictly by the user's locally installed official agy acp CLI (bidirectional JSON-RPC ACP over stdio, zero custom auth bypasses or cloud dependencies).

  • Go daemon (morphcode):
    • Added clean AgyACPAdapter (morphcode/internal/harness/agy_acp.go) supporting initialize, session/new, session/resume/session/load, session/set_model, session/set_mode, session/prompt, session/cancel, live thinking/text/tool streaming, approval & elicitation callbacks, native /compact, and dynamic model discovery.
    • Wired ProviderAgy into DetectNativeCLIAvailability(), Orchestrator.selectAdapter (always locked to official agy CLI), /v1/code/models, providerHarnesses/workerHarnesses, and morphcode doctor.
    • Added unit test TestAgyACPAdapterTurnAndModelDiscovery.
  • Native macOS UI (apple/):
    • Added Antigravity (Agy) to Settings → Providers & Models (Local CLI detection + Gemini brand icon) and Orchestrator / Default Provider Harness (locked to Native CLI).
    • Added agy/ model family grouping and curated entries in CodeModelMenu.
  • Docs & Hero:
    • Updated README.md and assets/hero.png to include Antigravity (agy).

Verification

  • cd morphcode && go vet ./... && go test -race ./...: 10/10 packages pass.
  • cd apple/Packages/MorphCore && swift test: 256/256 tests pass.
  • cd apple && xcodegen generate && xcodebuild: Morph Code.app builds cleanly.
  • Live daemon check: cliAvailable.agy == true, /v1/code/models lists agy/gemini-4-neon-medium, agy/gemini-pro-orchestrator-neon, agy/gemini-3.8-flash-medium as available, morphcode doctor detects local agy binary.

@tachyon6
tachyon6 merged commit 6ea3d6c into main Dec 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant