TauDOCS

External Agents

Run Codex, Claude Code, or Grok Build inside a Tau project through its own CLI and login.

An external agent is a coding CLI you already have installed. Tau starts it, gives it the project, and shows its work in the chat.

Supported CLIs

AgentAdapterCLIMinimum CLI
Codex@agentclientprotocol/codex-acp 1.7.0codex0.148.0
Claude Code@agentclientprotocol/claude-agent-acp 0.70.0claude2.1.232
Grok BuildNative ACP (no adapter package)grok1.0.41

An older CLI is refused, naming the version found.

macOS is qualified for all three, from any vendor install and from Finder. Linux is checked for discovery only; Windows is unqualified.

Install and sign in

Install each CLI with its vendor's script, then sign in. macOS and Linux:

curl -fsSL https://chatgpt.com/codex/install.sh | sh
curl -fsSL https://claude.ai/install.sh | bash
curl -fsSL https://x.ai/cli/install.sh | bash

Windows PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
irm https://claude.ai/install.ps1 | iex
irm https://x.ai/cli/install.ps1 | iex
AgentSign inUpdate
Codexcodex logincodex update
Claude Codeclaude auth loginclaude update
Grok Buildgrok logingrok update

claude update skips Homebrew and WinGet installs.

Tau searches PATH, then each vendor's install directories, including ChatGPT.app and Claude.app on macOS, so Finder, the Start menu and a terminal find the same CLI. npm and version-manager installs are found on PATH only.

A refused agent shows its reason and, when you can act, a fix command. A CLI that does not answer is reported unavailable, not missing. Tau Desktop re-checks refused agents on its next listing; restart tau serve after installing.

Agents run on a Tau Host: Tau Desktop, or tau serve paired with the browser. A browser tab with no host refuses the turn instead of answering with Tau.

Each agent keeps its own configuration directory — CODEX_HOME, CLAUDE_CONFIG_DIR, or GROK_HOME. Tau credentials and provider API keys never reach the child process.

Permission mode

A new chat starts in Auto, else Claude's Accept Edits, Codex's Approve for me or Grok's Always approve. Your pick is kept; plan modes are hidden.

Where the agent works

Each chat picks where the agent works; every turn is recorded in history, which the agent reads with the read-only history tool.

  • Direct — the agent works in the project folder itself. Its edits are the files you are looking at.
  • Candidate — the host materializes a checkout, the agent works there, and the result comes back as a branch you can review and merge.

Tau Desktop and tau serve offer both. Chat and run records under .tau/chats and .tau/runs refuse agent writes; the history store is hidden. Workbench records differ: arrange_workbench writes at the live project root, including candidate turns. The editor applies them, and the card offers Restore.

What reaches the vendor

The agent is the vendor's own client, so what it reads it may send. In direct mode that is your project tree. The CAD context Tau adds — the kernel, the open files, the model state — rides the session's first prompt and is sent the same way.

Billing and sign-in

The vendor bills the account you signed that CLI into. Tau charges no credits for an external turn: the chat footer names the agent, the model and the vendor's own usage report.

Tau never brokers a login. A logged-out agent's card lists its sign-in command. In Tau Desktop, Sign in in Tau's Terminal fills a tab; Enter runs it; success continues the chat. Tau stores none of it.

On this page