keli-wen/agy-staff
A CLI delegation layer that brings Gemini research and review to coding agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
agy-staff is a host-side delegation layer: coding-agent plugins and skills hand work to Google's Antigravity CLI (agy), while the host retains responsibility for verification, acceptance, and integration. lead keeps orchestration in the host and delegates substantive work to staffer by default. brain puts an external model's proposal first, then has the host challenge assumptions before execution.
The architecture combines Bash and skills with a Node.js prerequisite and host-specific adapters. The tree separates shared skills/ and companion/ from Claude Code and Codex plugin metadata (.claude-plugin/, .codex-plugin/), a DeepSeek Harness integration (dsh/), and Pi and OpenCode skill sets; OpenCode also has opencode.mjs. DeepSeek Harness surfaces three native Cordis tools and a visual sidebar. The integration is demonstrated through plugins, CLI calls, and jobs; no standalone MCP endpoint or transport is established.
Key Capabilities & Differentiators
Five personas cover general tasks, research, review, scoped implementation, and quick queries. ask returns inline; the other personas return a job ID and a collection command. The host normally collects the final report with wait or result, while observe provides an on-demand snapshot of recent tool activity and response text. A wait such as wait --timeout 10m can expire without stopping the worker. The separate execution deadline defaults to 60 minutes, can be set at launch up to 120 minutes, and can be cut short with cancel. Continuing or restarting is an explicit decision after inspection.
Gemini 4 Hydrogen is the default worker model, Carbon is the default external reasoning model for brain, and --model argon selects Argon. Version 0.9.3 adds explicit Gemini 4 Neon variants at low, medium, high, and xhigh without changing the built-in defaults. The reviewer routes prompts to severity-ranked code review or to a broader critique of a plan or design. It gathers evidence from sources such as git diff, gh pr view, or files rather than accepting a dedicated diff argument.
Trade-offs & Limitations
The main reason to add agy-staff is to get a Gemini perspective without building your own delegation workflow. Host-native subagents avoid the extra agy dependency and job lifecycle; cospan is the closer alternative when you want fewer prescribed roles and bidirectional delegation across multiple CLIs. agy-staff's role-specific workflows make adoption easier, but collection behavior is host-dependent: Claude Code waited in the background in Bench v1, while Codex polled and brought its full context back on each wake-up.
Bench v1 ran each task once per setup. On DeepSearchQA, delegation cut host spend by 39% for Claude Code and 16% for Codex. On the other two benchmarks, Codex host spend rose by 86% on SWE-bench and 22% on QnA. Across the suite, median task times rose from 2–8 minutes solo to 13–26 minutes with delegation, and solved-task counts matched solo or dropped by one. These figures measure host spend, not total cost including the worker. Start with research or an independent review where a second model family is useful, rather than delegating short or latency-sensitive work by default.
Hardware & Deployment Guide
Install Node.js and Google's Antigravity CLI, verify agy --version, and make sure an authenticated agy is on PATH. Install agy@agy-staff through the Claude Code or Codex marketplace flow, or use the corresponding native path for another host: the DeepSeek Harness package spec github:keli-wen/agy-staff (also requires pnpm), pi install git:github.com/keli-wen/agy-staff, or the OpenCode plugin manager. The OpenCode manifest declares >=1.18.34 <2, with 1.18.34 explicitly verified. An ask invocation is a practical smoke test after installation.
The integration runs locally, but model access goes through authenticated agy; this is not an offline Gemini deployment. Size the host for the coding harness, Node.js, and concurrent worker processes and commands, not local model weights. No exact hardware minimum is given. Claude Code and Codex install versioned copies, so updates require pulling the new plugin and restarting the host. Model defaults have moved across releases: v0.9.1 promoted Carbon for brain, v0.9.2 replaced Gemini 3.8 Flash in the built-in defaults and promoted Hydrogen as the worker, and v0.9.3 added Neon as an explicit choice.
agy CLI; the host owns acceptance and integration.lead keeps the host in charge and delegates substantive work; brain asks Carbon or Argon to propose the route before the host commits to it.ask is synchronous; background jobs support wait, result, observe, and cancel, with a 60-minute default execution deadline and a 120-minute maximum.agy_brain, agy_worker, and agy_job as Cordis tools, alongside a visual subagent sidebar.Teams with a supported coding host and authenticated agy that want independent Gemini research, design critique, or code review while keeping final decisions in the host.
You require offline inference, a standalone MCP endpoint, or consistently low turnaround on short tasks. Use native subagents first if a second model family adds little value.
Quick Start & Installation
curl -fsSL https://antigravity.google/cli/install.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agy-staff ★ | 949 | +12 | JavaScript | MIT | A CLI delegation layer that brings Gemini research and review to coding agents |
| agent-skills | 122.5k | +1.7k | JavaScript | MIT | A modular skill pack for consistent coding-agent workflows, from spec to release |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/keli-wen/agy-staff.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agy-staff
How does a coding agent connect to agy-staff and receive results?
agy available on PATH. ask answers inline; the other personas hand back a job ID and a collection command. DeepSeek Harness also exposes native Cordis tools. The concrete integration path is through host plugins and skills; no standalone MCP transport is shown.Do I need a GPU, and how should I size the runtime?
agy CLI, and the commands each job may run, rather than for Gemini model weights. Measure memory and process usage at your expected concurrency; no general sizing figures are available.Can we use it commercially or run the entire stack on-premises?
agy. Check provider terms, quota, and data-handling requirements separately before delegating proprietary code.When should I choose agy-staff over native subagents or cospan?
agy, codex, claude, and dsh with fewer prescribed roles.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy