Set up Tahoe CLI
A small command-line tool for Tahoe inference. Install it once, connect your account, and use it from your terminal or coding agent.
Get the link working.
Install locally, sign in once, then check the connection.
Install
Use Node.js 24 or newer and run:
npm install --global --ignore-scripts https://www.tahoecloud.ai/tahoe-cli.tgzA self-contained package with no dependencies or install scripts; no registry account is needed. You can also download
tahoe-cli.tgzand install the local file, or run its Node entry point from the Tahoe source checkout.Sign in once
Run this and approve the request in your browser, signed in to an approved account. The key is created for this computer, saved in your Keychain, and never shown.
tahoe loginRevoke it any time from API keys or with
tahoe logout. For CI, setTAHOE_API_KEYinstead using the credential guide. The default endpoint ishttps://www.tahoecloud.ai/v1; account approval, capacity and allowance still apply.Check the connection
tahoe whoami tahoe ask "Say hello in five words."Both commands return JSON. A successful model listing checks access; a completed chat with recorded usage verifies inference.
A small request. A clear result.
Save this body as request.json. Use a unique request identifier you keep with the original input.
{
"messages": [{ "role": "user", "content": "Reply with hello." }],
"stream": false,
"max_tokens": 128
}tahoe chat --input request.json --idempotency-key YOUR_SAVED_REQUEST_IDOutput contains the API response, request metadata and metering state. The CLI sends once and exits. Read the response and error contract before adding retries.
Callable from Claude Code and Codex.
Ask your coding tool to read the reference and invoke Tahoe through its shell tool, under its existing permissions.
Read the Tahoe CLI reference at https://www.tahoecloud.ai/tahoe-cli.md. Use the installed tahoe command through your shell tool. Start with tahoe models and tahoe usage --days 7. Ask before sending inference. Keep credentials out of prompts and logs; preserve request IDs and never automatically retry an uncertain chat.Or connect it as tools.
After tahoe login, register Tahoe’s built-in MCP server once. Your agent gains tahoe_ask, tahoe_get_usage and more, and it never sees your key.
tahoe setup claude
tahoe setup codexA clear permission boundary.
Your key stays in your Keychain, outside the agent conversation. Installation does not change the model running your coding tool, and shell and network access remain subject to Claude Code or Codex permissions.