agy-orchestrator
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGY_BIN | No | Path to the agy executable. Defaults to ~/.local/bin/agy, otherwise agy on PATH. | |
| AGY_ORCA | No | Set to 0 to disable Orca IDE integration entirely. | |
| ORCA_BIN | No | Path to the Orca CLI. Defaults to the CLI bundled with Orca.app, otherwise orca on PATH. | |
| AGY_LOG_DIR | No | Directory for per-worker *.ndjson, *.stderr and *.verify.log files. Defaults to <server>/logs. | |
| AGY_STATE_DIR | No | Directory for the persisted agents.json registry. Defaults to <server>/state. | |
| AGY_KILL_ON_EXIT | No | Set to 1 to kill workers when the server exits. By default workers are not killed on server exit. | |
| ORCA_CLI_COMMAND | No | Alternative Orca CLI command/path. Defaults to the CLI bundled with Orca.app, otherwise orca on PATH. | |
| AGY_MAX_CONCURRENT | No | Maximum number of running plus verifying workers; additional workers are queued. Defaults to 4. | |
| AGY_RETENTION_DAYS | No | Number of days after which finished workers and their logs are pruned. Defaults to 7. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Delegate to Antigravity workers: agy_spawn (role + short brief; tasks[] to fan out; use_worktree for parallel edits; verify_cmd so the server tests and auto-fixes). Then agy_wait: it blocks, and returns each finished worker's report + change summary once. Don't poll. Read agy_result view=diff only when the report or verify result is doubtful. Fix via agy_instruct (same conversation). Finish with agy_merge then agy_cleanup. watch / orca_open show work to the user in Orca IDE.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| agy_spawnC | Start Antigravity worker(s) async. Top-level fields are defaults for each |
| agy_waitB | Block until workers finish or need attention; returns each report once. timeout_seconds=0 = snapshot. |
| agy_resultD | Worker output. orca_open shows changes to the user in Orca. |
| agy_instructC | Follow-up in the same conversation. |
| agy_stopC | Stop or dequeue a worker. |
| agy_listD | One line per worker. |
| agy_mergeA | Commit a worktree worker's changes and merge into the checked-out branch. Refuses on dirty target, secrets or conflicts. |
| agy_cleanupC | Forget a finished worker and remove its worktree. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool maps to a distinct phase of the worker lifecycle: spawn, result, instruct, stop, list, merge, cleanup, wait. There is minor overlap between agy_result and agy_wait since both surface worker output, but the blocking/snapshot semantics of wait keep them separable.
All tools use the same agy_ snake_case prefix and mostly verb-based names. agy_result is noun-like rather than a verb, but the overall pattern remains predictable.
Eight tools is well-scoped for an orchestration server, covering creation, monitoring, interaction, termination, merge, and cleanup without obvious redundancy.
The surface covers the full worker lifecycle from spawn through cleanup, including follow-up instructions and worktree merging. Minor gaps exist around detailed status or conflict inspection, but core workflows have no dead ends.