Async Parallel Antigravity for Codex & Claude Code

v0.1.12
io.github.varadfromeast/codex-agy-bridge Checked 4 days ago Published 2 months ago

Run parallel, resumable, human-operable Antigravity CLI sessions from any MCP agent harness

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

agy_run_start

Start or continue one foreground Antigravity Run. mode="task" starts a normal bridge-owned task. mode="interactive" starts a persistent conversation session that should be used sparingly. Supplying conversation_id continues that exact Antigravity conversation. Use agy_start_with_expected_file for reviews and other artifact-producing tasks. dangerously_skip_permissions must be true; the bridge always forwards --dangerously-skip-permissions to Antigravity.

ParameterTypeDescription
prompt *string
workspace *string
additional_directories
conversation_id
dangerously_skip_permissionsboolean
modestring
model
sandboxboolean
timeout_secondsinteger

agy_start_with_expected_file

Start one task Run that cannot complete until expected_file is non-empty.

ParameterTypeDescription
expected_file *string
prompt *string
workspace *string
additional_directories
conversation_id
dangerously_skip_permissionsboolean
model
sandboxboolean
timeout_secondsinteger

agy_run_wait

Wait for sparse Run events instead of repeatedly polling status. run_ids is always a list, even for one Run. Supported condition values: any_attention, any_terminal, all_terminal, any_event, plus aliases attention, terminal, finished, finish, complete, completed, result, all_finished, all_complete, and all_completed.

ParameterTypeDescription
run_ids *array
after
conditionstring
timeout_secondsinteger

agy_login

Refresh Antigravity auth state and optionally open one login session.

ParameterTypeDescription
force_newboolean
open_terminalboolean
refreshboolean
workspace

agy_run_observe

Inspect Run state through one lean observation surface. view="full" returns merged observable state for all run_ids. view="status", "transcript", or "terminal" requires exactly one run_id and returns the corresponding focused view.

ParameterTypeDescription
run_ids *array
after
after_stepinteger
compactboolean
include_contentboolean
include_terminal_tailboolean
limitinteger
max_charsinteger
max_content_charsinteger
timeout_secondsnumber
viewstring

agy_run_input

Send input to a live foreground Run with optional stale-write guards.

ParameterTypeDescription
run_id *string
text *string
enterboolean
expected_event_key
expected_transcript_step

agy_run_cancel

Cancel one active Run and terminate its Antigravity process group.

ParameterTypeDescription
run_id *string

agy_run_result

Read final result metadata, or a bounded chunk when offset_bytes is set.

ParameterTypeDescription
run_id *string
max_bytesinteger
offset_bytes

agy_review_commit

Start a typed review Run for one commit and return immediately. Keep issue focused and use narrow scope_paths when possible. After the run completes, prefer agy_review_result over manually polling raw artifacts.

ParameterTypeDescription
commit *string
issue *string
workspace *string
additional_directories
conversation_id
dangerously_skip_permissionsboolean
model
output_file
sandboxboolean
scope_paths
timeout_secondsinteger

agy_review_branch

Start a typed review Run for branch and working-tree changes. Keep issue focused and use narrow scope_paths when possible. Wait for completion with agy_run_wait, then prefer agy_review_result. Avoid frequent agy_run_observe(include_terminal_tail=True) calls unless debugging the bridge.

ParameterTypeDescription
issue *string
workspace *string
additional_directories
base_ref
conversation_id
dangerously_skip_permissionsboolean
include_untrackedboolean
model
output_file
sandboxboolean
scope_paths
timeout_secondsinteger

agy_review_files

Start an artifact-gated typed review Run for local files.

ParameterTypeDescription
issue *string
paths *array
workspace *string
additional_directories
conversation_id
dangerously_skip_permissionsboolean
model
output_file
sandboxboolean
timeout_secondsinteger

agy_review_result

Validate and summarize the artifact from a typed review Run. Preferred way to consume completed commit, branch, or file review Runs.

ParameterTypeDescription
run_id *string

agy_goal

Manage bridge scheduler goals with actions create, start_target, status. dangerously_skip_permissions must be true when supplied.

ParameterTypeDescription
action *string
additional_directories
dangerously_skip_permissions
goal_id
max_parallelinteger
model
objective
prompt
sandbox
target_name
timeout_secondsinteger
workspace

agy_admin

Run bounded diagnostics and metadata actions for the bridge and agy CLI.

ParameterTypeDescription
action *string
path
refreshboolean
run_id
workspace