Set Up AI
in Pachinko
Link your Claude or ChatGPT account.
Takes about 5 minutes.
TWO WAYS TO CONNECT
CLI Apps or API Keys - Your Choice
Pachinko connects to AI through your existing Claude or ChatGPT account. There are two ways to set it up: install the provider's CLI app (Claude Code or Codex), or paste in an API key. Both work. The CLI apps use your existing subscription. API keys are pay-as-you-go.
When you use AI features, Pachinko sends the content needed for that request to the provider you choose: selected notes, your prompt, Function context, Feed inputs, and MCP-provided context. Projects hidden with Hide from AI are skipped during normal AI browsing, but notes you explicitly select still count as context you chose to send.
OPTION 1
Claude Code (Anthropic)
Claude Code is Anthropic's terminal AI agent. It's the bridge between Pachinko and Claude.
Requirements: A Claude Pro ($20/mo), Max, Teams, or Enterprise account - or an Anthropic API key. The free plan does not include Claude Code.
Install on macOS
curl -fsSL https://claude.ai/install.sh | bash
After install, open a terminal and run claude. You'll be prompted to authenticate via your browser or API key. That's it.
Codex (OpenAI)
Codex is OpenAI's terminal AI agent. Same idea - bridges Pachinko to ChatGPT.
Requirements: A ChatGPT Plus, Pro, Team, or Enterprise account - or an OpenAI API key.
Install on macOS
Install the Codex CLI with OpenAI's standalone installer:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
For unattended installs:
curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh
Run codex in your terminal. The first time you run it, you'll be prompted to sign in with your ChatGPT account or an API key. To upgrade a standalone install, rerun the installer.
OPTION 2
API Keys
If you have or want API keys, you can skip the CLI apps. Request context flows directly from your Mac to the AI provider.
Anthropic API Key
Pricing: Anthropic charges per token (roughly per word). Check current rates at anthropic.com/pricing.
OpenAI API Key
Pricing: OpenAI also charges per token. Check current rates at openai.com/pricing.
WHICH SHOULD I USE?