Claude Code (Claude Agent)
TatsuCode hosts Claude Code as a first-class CLI provider. If you have a Claude Pro, Max, Team, or Enterprise subscription, you can sign in once and use Claude Code's full agentic capabilities directly inside TatsuCode — without paying API token rates on top of your existing subscription.
This is the headline feature of the v0.9.107 release for Claude subscribers.
What You Get
- Use your subscription, not your wallet. Sign in with the Anthropic account behind your Claude Pro / Max / Team / Enterprise plan. No API key billing.
- Claude Code's native tools. Claude's own
Read,Edit,Bash,Glob,Grep,WebSearch,WebFetch, and parallelTaskrunner — all available in your TatsuCode session. - Plus TatsuCode's tools. Screenshots, DevBrowser, Office documents, image generation, Unity Editor, the rest of the
tatsu_*tools — exposed to Claude Code via MCP. - Streaming, durable file diffs, session restore. First-class chat experience, just like API-backed providers.
- Cross-Agent Relay. Every Claude Code run is archived as
report.mdand can hand off to other agents (or future runs) viacontinueFrom.
Sign In
- Open
/connect - Select Claude Agent (Claude Code)
- A browser window opens — sign in with your Anthropic account and approve the connection
- Return to TatsuCode; the Claude Code models now appear in
/models
The CLI itself owns the auth token. TatsuCode never sees it.
Requirements
- An active Claude Pro, Max, Team, or Enterprise subscription. (Free Claude.ai accounts cannot run Claude Code.)
- A working internet connection. Like other cloud providers, Claude Code is online-only.
Two Ways to Use It
1. As your main chat model
Pick a Claude Code model from /models and chat normally. Claude Code drives the whole turn — picking which tools to call (its own and TatsuCode's), streaming output back to you, and producing a final response.
This is the simplest path and the one most users want.
2. Delegated to from another main model
When your main chat is running on a different model (say GPT-5.5 or Gemini), you can still get Claude Code involved for a specific subtask — just ask the main model to delegate. The main model has a ClaudeAgent tool available and will call it on your behalf.
You don't write the tool call yourself. You ask in plain language:
"Use Claude Code to find every place the auth middleware decides whether to issue a session token. We're investigating CVE-2026-0001 — see /docs/incident.md."
"Delegate steps 1 through 5 to Claude Agent, get a full report back, then review its work."
"Have Claude Code continue from the previous exploration and propose a fix."
The main model picks up the request, packages it as a delegation, and runs Claude Code in the background. When Claude Code finishes, the main model receives a structured report.md and folds the findings back into your conversation. You can hand that same report.md to another agent later — that's the relay.
The same pattern applies in reverse: when Claude Code is your main chat, you can ask it to delegate to GPT, Gemini, or any other CLI provider you have connected.
What's Different from API-Key Claude
| Concern | Claude via API/OpenRouter | Claude Code (CLI provider) |
|---|---|---|
| Auth | TatsuCode holds API key | CLI owns subscription auth |
| Tool loop | TatsuCode drives | Claude Code drives |
| Tool surface | TatsuCode-internal tools | Claude Code's native tools + TatsuCode MCP tools |
| Cost reporting | Exact per-call dollars | Best-effort (subscription = no per-call cost) |
| Cross-Agent Relay archive | ❌ | ✅ — every run archived |
| Use as Task Agent assignee | ✅ | ❌ — see below |
Background Shells
When Claude Code launches a long-running shell command in the background (e.g., a ping, a build watcher, a dev server), TatsuCode tracks it across turn boundaries. While the shell is alive you'll see a small terminal badge near the input field showing how many background shells are running, with a tooltip listing each one and how long it's been alive.
If a turn ends with shells still running, the badge stays visible with a quiet "reply to follow up" hint. That tells you the input is live and a reply will route back into the same Claude session — so you can ask "is the build done?" or "kill that ping" and Claude addresses the same shell handle. The badge clears automatically when Claude reports the shell has terminated.
This is built on Claude Code's own Bash(run_in_background:true) + BashOutput + KillShell tools — TatsuCode just makes them visible across the gap between turns.
Limitations
- Cannot be assigned as a Task Agent. Same reason as every other CLI provider — the Task Agent's tool whitelist doesn't apply when the CLI drives its own loop. Use the
ClaudeAgenttool instead for delegated exploration. See CLI vs API/Subscription Providers for the structural reasons. - Cannot run in parallel today. Single CLI run at a time. Parallel CLI execution is on the roadmap.
- Token / cost accounting is best-effort. Subscription auth means per-call cost isn't reported, so
/usagefor CLI turns shows estimates only. - TatsuCode's auto-compact doesn't apply. Claude Code manages its own context window during a run.
FAQ
Do I still need an Anthropic API key?
No. If your goal is to use Claude inside TatsuCode and you have a Claude subscription, sign in via Claude Agent and you're done.
Will my Claude Pro quota apply?
Yes. The CLI uses your subscription's quota directly. Heavy use will count against your plan's limits the same way it would inside Anthropic's own clients.
Can I switch back to API-backed Claude mid-conversation?
Yes — switch the active model from /models. With Cross-Agent Relay, you can also hand off the conversation context cleanly.
What about Claude Free?
Claude Code requires an active paid subscription. Free Claude.ai accounts can't run it.
Next Steps
- CLI Providers Overview — how CLI providers work, Cross-Agent Relay, stdin routing
- Providers — connect, disconnect, manage
- CLI vs API/Subscription Providers — full feature matrix