> ## Documentation Index
> Fetch the complete documentation index at: https://eispatch.framewire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Supported coding agents

> Compare the AI coding agents that EISPATCH supports and how each intercepts, composes, and dispatches your prompts.

EISPATCH v1.1.0 integrates with four AI coding agents. Each adapter intercepts trigger prompts, opens the EISPATCH composer for review, and hands the prompt back to the agent after you approve. EISPATCH is a composition layer: the agent still executes the prompt under its own permissions and tool controls. The interception mechanism and dispatch path vary by host.

> [!WARNING]
>
> Keep the cloned repository in place after installing. Installers reference absolute paths inside it, so moving the repo without re-running the installer will break the integration.

## Host comparison

| Host | Verified version | Interception | Dispatch mode |
| - | - | - | - |
| Google Antigravity | v1.1.0 | `PreInvocation` hook; MCP App (aux\_pane + inline) | Native `app.sendMessage()` same-session |
| OpenAI Codex | `codex-cli 0.169.0` | `UserPromptSubmit` hook blocks with `"decision": "block"`; MCP stdio server; Local Composer | Clipboard fallback |
| OpenCode (**experimental**) | `opencode v2.3.0` (adapter harness; native end-to-end pending) | Plugin `chat.message` hook replaces the trigger message with a composer notice; Local Composer | `client.session.prompt()` or HTTP session message when available; otherwise clipboard fallback |
| Claude Code | `2.1.332` | `UserPromptSubmit` block hook; MCP stdio server; Local Composer | Clipboard fallback |

## Trigger prefixes

Start any prompt with one of these prefixes to activate EISPATCH:

* `/eispatch`
* `/dispatch`
* `eispatch:`
* `dispatch:`

Example:

```text theme={null}
/eispatch Create a React calculator component.
```

Hooks match the pattern `^(?:\/(?:e|d)ispatch|(?:e|d)ispatch:)\s*(.+)$` (case-insensitive). Prompts containing `<!-- DISPATCH_COMPILED_PROMPT` pass through automatically to prevent recursion.

## Environment variables

| Variable | Effect |
| - | - |
| `EISPATCH_AUTO_INTERCEPT=1` | Intercept **every** prompt, even without a prefix. Supported by Codex, Claude Code, and OpenCode. |
| `EISPATCH_NO_SPAWN=1` | Codex and Claude Code only. The hook does not start the Local Composer; it still blocks and tells you to use the MCP tool `dispatch_compose` or `npm run preview`. Not implemented by the OpenCode plugin. |

## Dispatch modes explained

**Native dispatch (Antigravity)**: the MCP App sends the approved prompt into the current session with `app.sendMessage()`. No copy and paste is needed.

**Clipboard fallback (Codex and Claude Code)**: the Local Composer has no session injection API for these hosts. After you approve and dispatch, the approved prompt is copied so you can paste it into the agent. Pasted prompts carry the `<!-- DISPATCH_COMPILED_PROMPT` marker, so the hook lets them through.

**OpenCode (experimental)**: the plugin tries `client.session.prompt()`, then an HTTP session message, then falls back to the clipboard.

Server-side approval tokens and SHA-256 prompt hashes apply only to the Local Composer hosts (Codex, Claude Code, OpenCode). See [Security](https://eispatch.framewire.io/security.md).

## Install at a glance

| Host | Install command |
| - | - |
| Antigravity (global) | `node scripts/install-antigravity.mjs` |
| Codex | `node scripts/install-codex.mjs` |
| OpenCode | `node scripts/install-opencode.mjs` |
| Claude Code | `node scripts/install-claude-code.mjs` |

Every installer supports `--check` and `--uninstall`. Uninstall removes only EISPATCH-owned entries.

## Next steps

> [card] [Google Antigravity](https://eispatch.framewire.io/agents/antigravity.md)
>
> Workspace or global plugin, MCP App, native same-session dispatch.

> [card] [OpenAI Codex](https://eispatch.framewire.io/agents/codex.md)
>
> UserPromptSubmit hook, Local Composer, clipboard fallback.

> [card] [OpenCode (experimental)](https://eispatch.framewire.io/agents/opencode.md)
>
> Plugin hooks, Local Composer, session dispatch with clipboard fallback.

> [card] [Claude Code](https://eispatch.framewire.io/agents/claude-code.md)
>
> UserPromptSubmit block hook, MCP server, clipboard fallback.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.