Skip to main content
Glama
T3 Codex Proxy

T3 Codex Proxy

by omry

T3 Agent Proxy

T3 Agent Proxy provides local compatibility wrappers for T3's Codex, Claude and Antigravity providers. It rewrites known T3 instructions and tool descriptions so your workflow can control reviews, waits, tool selection, and recovery. T3 itself is not modified.

One npm package provides three executables:

T3 provider

Executable

Protocol

Codex

t3-codex-proxy

Codex app-server

Claude

t3-claude-proxy

Claude Agent SDK / stream-json

Antigravity

t3-antigravity-proxy

Agent Client Protocol (ACP)

All adapters share the guidance rules, MCP proxy, diagnostics and process forwarding. Antigravity has passed a live T3 proxy-check locally on Linux.

The package requires Node.js 24+ and an existing executable for the provider you use. It has no runtime dependencies. Codex supports npm-installed Windows codex.cmd/codex.bat launchers. Claude requires its native executable; its adapter has been verified locally on Linux.

Why it exists

T3 adds orchestration guidance and tool descriptions to its agents. Some releases have made that guidance too prescriptive for workflows that need to keep their own review context, fixer assignment, wait deadlines, retry and recovery rules, or tool choices. Browser instructions have also treated a URL or page name as a reason to use browser automation even when an authenticated API, CLI, or connector is the better interface.

Related MCP server: ai-devtool-mcp-server

What it changes

  • Rewrites recognized T3 guidance so your workflow controls review routing, continuity, fixer assignment, delegate and PR waits, PR tool choice, device tool choice, environment linking, and browser versus API/CLI selection.

  • Removes T3's sudo-password collection requirement and command recipe without adding an administrator-authentication policy.

  • Normalizes known next hints in identified waiting-tool replies and matching output-schema literals. Preserves task identity, status, timeout facts, input schemas, user input, and unrelated result data. Unknown wording stays visible and is reported.

  • Routes T3 MCP connections through a loopback proxy and adds the read-only proxy-check diagnostic. Preserves authentication and stateless MCP metadata.

  • For Codex, adds configured writable roots to workspace-write turns and reports both proxy-process access and the current Codex turn's marker test. Claude and Antigravity keep their own permission settings.

Codex selects rules using T3's reported version. Claude's SDK does not expose that version; it uses guarded substitutions for captured guidance and reports the version as unknown. Neither rewrite counts nor fixtures prove what the model received. The live diagnostic requires inspection of the actual context.

Install and configure

The project/npm package has been renamed from t3-codex-proxy to t3-agent-proxy. The renamed package is not published yet. Until release, run from this checkout:

node bin/t3-codex-proxy.mjs configure
node bin/t3-claude-proxy.mjs configure
node bin/agy configure

Configure only the providers you use. Each explicit configure command prints a short-lived, token-protected loopback URL. Open it locally and select the original provider executable, not a proxy. The page closes after saving.

After publication, installation will use:

npm install --global t3-agent-proxy

If you installed the old t3-codex-proxy npm package, remove it first to avoid an executable-name collision:

npm uninstall --global t3-codex-proxy
npm install --global t3-agent-proxy

Run both commands in the same backend environment and npm prefix. Uninstalling the old package preserves the provider configuration outside the package.

The provider commands are t3-codex-proxy, t3-claude-proxy, and t3-antigravity-proxy. Their configuration locations and environment variables are provider-specific:

Provider

Default configuration

Explicit path variable

Codex

~/.config/t3-codex-proxy/config.json

T3_CODEX_PROXY_CONFIG

Claude

~/.config/t3-claude-proxy/config.json

T3_CLAUDE_PROXY_CONFIG

Antigravity

~/.config/t3-antigravity-proxy/config.json

T3_ANTIGRAVITY_PROXY_CONFIG

When set, XDG_CONFIG_HOME replaces ~/.config. Existing Codex setup remains valid. The package rename does not migrate provider configuration or change which executable T3 launches.

Configure T3

Set each provider's Binary path in Settings → Providers to its wrapper's absolute executable path. For a source checkout, use the corresponding bin/t3-codex-proxy.mjs, bin/t3-claude-proxy.mjs, or bin/agy. After npm installation, command -v with the provider command prints that path.

Codex's shared app-server requires a coordinated T3 restart to adopt a changed executable. Claude uses the wrapper when T3 starts its next SDK process; its configuration is read at process startup. Coordinate any interruption before restarting a shared backend.

See Codex configuration and compatibility for writable roots, version support and hot reload, and Claude setup and limitations for its protocol, configuration and compatibility boundary. See Antigravity setup and limits for the new ACP adapter.

Check the installation

In a conversation using the configured provider, send:

proxy-check

Claude may need ToolSearch to discover the proxy-check MCP tool. The diagnostic checks actual received guidance and tool descriptions, MCP connectivity, and any configured Codex writable roots. Waiting-tool descriptions and complete output schemas come from the authenticated upstream tool list after rewrites; the model must inspect its own visible context before reporting PASS.

See verification notes for live evidence and its limits. A clean instruction check does not demonstrate timers or timeout recovery.

Development

npm run check
npm test
npm run pack:check

See RELEASE.md for the release procedure. Publication requires live verification, review, CI and explicit user approval. Use Sapling for repository history and commits.

MIT licensed. See LICENSE and third-party notices.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers