Skip to main content
Glama
Antigravity ↔ Codex Bridge

Antigravity ↔ Codex Bridge

by zbush

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGY_BINNoAbsolute file path. Explicit agy executable (.exe or .js on Windows; .cmd/.bat shims are refused). Defaults auto-check %LOCALAPPDATA%\agy\bin\agy.exe, ~/.local/bin/agy, Homebrew, and PATH.
CODEX_BINNoAbsolute file path. Explicit codex executable (.exe on Windows; .cmd/.bat shims are refused—use CODEX_CLI_JS for npm installs).
CODEX_CLI_JSNoAbsolute file path. Explicit @openai/codex/bin/codex.js path (run directly via process.execPath).
AGENT_BRIDGE_CONFIGNoNonblank absolute file path. Shared override path for runtime and scripts/configure.mjs. Missing explicit files fail closed at runtime, and --config selects the configurator target ahead of this variable.
AGENT_BRIDGE_MAX_DEPTHNoMaximum delegated hop depth. Integer 0..10.
AGENT_BRIDGE_ALLOW_EDITSNoSet to the string 'true' to request workspace-write for Codex. Antigravity CLI tasks require this to be true on the host because the CLI can edit files even when asked to plan.
AGENT_BRIDGE_ALLOW_CYCLESNoAllow delegating back to an agent already in the chain up to max_depth. Values: true / false (on/off).
AGENT_BRIDGE_MAX_CONCURRENTNoMaximum concurrent active child CLI jobs per server. Integer >= 1 (default 4).
AGENT_BRIDGE_WORKSPACE_ROOTSNoSet in each host's MCP registration to a JSON array of absolute directories, e.g. ["/home/me/projects"]. The bridge resolves symlinks and checks cwd and every add_dirs entry against those roots before launch. If absent, the server uses its startup directory.
AGENT_BRIDGE_ANTIGRAVITY_TO_CODEXNoOverride Antigravity → Codex direction. Values: true / false (on/off).
AGENT_BRIDGE_CODEX_TO_ANTIGRAVITYNoOverride Codex → Antigravity direction. Values: true / false (on/off).
AGENT_BRIDGE_CODEX_WINDOWS_SANDBOXNoSelect the Windows sandbox backend provisioned on this machine when delegated Codex sessions need it for shell commands. Values: mxc, elevated, unelevated.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources