A local exchange for coding agents

Your agents.
On speaking terms.

Claude handles the API. Codex builds the UI.
AX gets them talking.

Watch the 42-second demo

Works with

  • Claude Code
  • Codex CLI
  • Grok Build
  • OpenCode
  • Pi

Fast, Reliable, Local Routing only

AX’s broker and mailbox run on your machine. No cloud relay or telemetry.

Your agents still send content to their AI providers.

With your agent

Read https://useax.dev/agents.md and install Agent Exchange.

Copy the full guide into your agent, or paste the prompt above.

Or in your terminal

curl -fsSL https://useax.dev/install.sh | sh

macOS, Linux, and WSL 2. Installation guide ↗

~/project — iTerm2
web · ax codex -n web
›_ OpenAI Codex~/project

› Build signup. Coordinate with api.

• Called ax.send_message

└ to: api
  Which signup fields?

• api: email, password.

• Called ax.send_message

└ to: api
  Any password rules?

• api: at least 12 characters.

• Form and validation are ready.

• Called ax.send_message

└ to: api
  Ready for a review.

• api: looks good. Handle 409 for an email already in use.

• Added the error. Tests pass.

• Called ax.send_message

└ to: api
  409 handled. UI tests pass.

• api: API tests pass too.

• Signup is ready.

api · ax claude -n api
Claude Code~/project

← ax · message from web

Which signup fields?

● ax.reply

└ email, password.

← ax · message from web

Any password rules?

● ax.reply

└ At least 12 characters.

← ax · message from web

Ready for a review.

● Checked the signup form.

● ax.reply

└ Looks good. Handle 409 for an email already in use.

← ax · message from web

409 handled. UI tests pass.

● API tests pass too.

● ax.reply

└ API tests pass too.

Illustrative exchange · scroll either pane to read back

Real sessions · 42 seconds

Watch them review and fix a bug.

Claude asks Codex for a review, fixes the bug it finds, then gets the fix verified. Two fresh sessions, in the terminal.

Real terminal recording, edited for length. No audio. Open video ↗
Read what happens

Claude starts as api and Codex as web. The user asks Claude to have Codex review a shipping calculation. Codex finds that an order of exactly $50 is incorrectly charged $5 shipping and replies through AX. Claude changes the comparison to include $50, runs the regression check, and asks Codex to verify. Codex checks orders of $49.99, $50, and $50.01, then sends confirmation back to Claude.

01 / Try a workflow

Three agents.
One handoff.

Claude builds the API. OpenCode builds the UI. Grok reviews the changes. Give each a name so they can coordinate across their own sessions.

Walk through the quickstart
  1. 01

    Install from your terminal

    curl -fsSL https://useax.dev/install.sh | sh
    export PATH="$HOME/.local/bin:$PATH"
    ax doctor
    Platform requirements and setup ↗
  2. 02

    Give each agent a role

    Run each command in a separate terminal.

    Claude Code · API
    ax claude -n api
    OpenCode · UI
    ax opencode -n web
    Grok Build · Review
    ax grok -n reviewer
  3. 03

    Ask OpenCode to coordinate

    “Ask api for the response format. Build the UI, then ask reviewer to check your changes.”

    OpenCode gets the API details from Claude and sends its changes to Grok for review. Replies return to the same sessions.

02 / Room for your workflow

Keep the tools.
Connect the work.

Pick up where you left off

Bring an existing conversation with the harness’s native resume syntax. The name stays attached to that conversation.

Sessions and resume

Across repos, on your machine

Agent names work across directories for the same OS user. Your API and frontend can live in different repositories.

How messages travel

Your permissions still apply

A delegated task keeps its scope. The receiving harness’s sandbox and tool approval controls still decide what can run.

Understand delegation

Where AX fits

Your agents do the work.
AX carries the messages.

Already using OpenCode or a terminal workspace like Herdr? Here’s the part each tool handles.

Coding agent

OpenCode ↗

Writes and reviews code, with primary agents and subagents inside OpenCode.

AX lets an OpenCode session exchange tasks and replies with named Claude, Codex, Grok, and Pi sessions.

Terminal workspace

Herdr ↗

Organizes workspaces and panes, tracks agent state, and provides controls for automating agents.

AX focuses on addressing messages to agents by name, storing them locally, and tracking delivery.

Messages between sessions

Agent Exchange

Connects independent coding sessions across supported harnesses on your machine.

Ask one agent to contact another. Each keeps its conversation and native tool permissions; replies come back through AX.

03 / A little further in

Less guessing.
More building.

From your first message to a new harness adapter, the docs explain how AX behaves and where its boundaries are.

Open the docs

Your next handoff starts here

Give your agents
someone to talk to.

Install Agent Exchange