Skip to content

✨ feat(harness): add agy coding agent integration - #332

Open
Skyline-9 wants to merge 1 commit into
alphaXiv:mainfrom
Skyline-9:feat/antigravity-harness
Open

Skyline-9 wants to merge 1 commit into
alphaXiv:mainfrom
Skyline-9:feat/antigravity-harness

Conversation

@Skyline-9

@Skyline-9 Skyline-9 commented Sep 14, 2026

Copy link
Copy Markdown

Description

Resolves #223

This PR integrates Google Antigravity (agy) as a first-class coding-agent harness in OpenResearch (orx), alongside Claude Code, OpenAI Codex, OpenCode, and Cursor.

Key Motivation

  • Token Quotas & Broad Access: Higher limits on Gemini Pro & Flash tiers, lowering friction for student and academic users running intensive auto-research loops.
  • Outreach for Edu: Google has a generous edu plan for gemini, making it more accessible than Claude and Codex for student researchers
  • Large Context Window (1M+ Tokens): Essential for full-paper review, arXiv exploration, large benchmark traces, and autonomous loop logs.
  • Unified Tooling: Seamless normalization of native tools (run_command, view_file, write_to_file, replace_file_content, list_dir, read_url_content).

Changes

  1. Harness Trait Implementation (src/local/harness/antigravity.rs):

    • Spawns agy --output-format stream-json per turn, folding streaming NDJSON into TurnCtx.
    • Multi-turn conversation continuity with --conversation <conversation_id>.
    • Dynamic model discovery and authentication verification via agy models.
    • Worktree isolation via project cwd and --add-dir.
    • Worktree session skills auto-discovery via .agents/skills.
    • Native options: permission modes (ask, auto, bypass), reasoning effort levels (low, medium, high), and command-based planning mode.
    • Fast one-shot execution (agy_one_shot) for session titling and summaries.
  2. Registry & Storage (src/local/harness/mod.rs, src/local/native_store.rs):

    • Registered Antigravity in registry().
    • Added antigravity_home to native storage resolution.
  3. Skills Installer (src/commands/install_skills.rs):

    • Added antigravity and agy aliases to orx install-skills --agent <name>.
  4. Web UI & Dashboard (ui/src/):

    • Added antigravity to HarnessId in ui/src/api.ts.
    • Added SVG mark for Antigravity in ui/src/components/HarnessLogo.tsx.
    • Added human-readable labels in ui/src/components/ModelPicker.tsx.
    • Rebuilt and committed production bundle assets in ui/dist.
  5. Testing:

    • Comprehensive unit tests in antigravity.rs for NDJSON stream folding, tool translation, model list parsing, and error result handling.
    • Integration tests in harness/mod.rs and install_skills.rs passing.
    • Full test suite passing (818 passed; 0 failed).
    • Clean cargo fmt and cargo clippy --all-targets.

@Skyline-9
Skyline-9 force-pushed the feat/antigravity-harness branch from 9a2022d to a317383 Compare September 14, 2026 08:28
@Skyline-9 Skyline-9 changed the title feat(harness): integrate Google Antigravity (agy) coding agent ✨ feat(harness): add agy coding agent integration Sep 14, 2026
@Skyline-9
Skyline-9 force-pushed the feat/antigravity-harness branch 2 times, most recently from bdb6c19 to 5a5713c Compare September 14, 2026 08:32
@Skyline-9
Skyline-9 marked this pull request as ready for review September 14, 2026 08:33
- Implement Harness trait for agy harness adapter
- Support streaming NDJSON turns via agy --output-format stream-json
- Support multi-turn conversation resumption via --conversation <id>
- Support project worktree directory and session skills via .agents/skills
- Support dynamic model enumeration and auth verification via agy models
- Support permission modes (ask, auto, bypass) and effort tiers (low, medium, high)
- Add agy alias to orx install-skills
- Add brand logo mark and model picker labels to web UI
- Include comprehensive unit and stream folding tests

Closes alphaXiv#223
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.

Antigravity Intergration?

1 participant