Pen's chat on your Claude subscription
Pen.app has an agent chat of its own, separate from /pen-design. It does not talk to Anthropic directly — it starts the Claude Code CLI on your machine, so your Claude subscription pays for those prompts.
No Anthropic API key is stored for this — not in Pen's own key field, and not as ANTHROPIC_API_KEY in your environment. A set variable makes Claude Code skip the subscription login and bill that key per token instead, which is the one outcome this path avoids. Check without printing the secret using test -z "${ANTHROPIC_API_KEY:-}": exit 0 means empty; remove a set variable from your shell profile.
Four steps
- Install Claude Code, if it is not there yet:
brew install --cask claude-codeThis Homebrew installation does not update itself. claude --version must print a version followed by (Claude Code).
- Log in once. Start the CLI and follow the browser prompt:
claudePick your subscription account — Pro, Max, Team or Enterprise. /login inside a running session switches accounts later.
Point Pen at it. In Pen's agent settings under Anthropic Claude Code, select Your Claude Code settings (e.g. subscription) under AUTHENTICATION. The status leaves
Checking status…once the CLI is found and logged in.If Pen cannot find the CLI, put the full path into Claude executable under ADVANCED:
which claudemacOS GUI apps do not inherit your shell's PATH, which is why the field exists. A native install sits at ~/.local/bin/claude, Homebrew on Apple Silicon at /opt/homebrew/bin/claude.
Check the project instructions
Open the .pen from <repo>/design: Pen's agent starts in the folder of the open canvas.
| Agent | Project instructions loaded |
|---|---|
| Claude Code >= 2.1.281 | The repository AGENTS.md and design/AGENTS.md (no blocking project CLAUDE files) |
| Pen's pi-backed models (DeepSeek, Kimi) and Codex | The repository and design/ AGENTS.md files |
Ask Pen's agent: “What is the first heading of your project instructions?” Compare its answer with your design channel to check that it loaded the file.
The one trap
A Console login looks exactly like a subscription login in the browser, but it creates a "Claude Code" workspace and spends pre-paid credit per token. The account picker is the only place the difference shows.
Not the same as pen login
Two subscriptions meet in Pen and they pay for different things:
| Pays for | |
|---|---|
| Claude subscription | the prompts in Pen's own agent chat, through the Claude Code CLI |
pen.dev subscription (pen login) | the pen CLI and pencil MCP that /pen-design drives |
Both are subscriptions, and neither wants an agent API key.