Setup guides
Set up Claude Code
Install Claude Code on each machine, log in with your Claude subscription or API account, and check it in Picnic's setup checks.
Claude Code is Picnic's default engine. Every machine that runs Claude Code jobs needs it installed and logged in. Picnic runs the official claude binary under that machine's own login, exactly as if you ran it yourself in Terminal.
Note: Picnic never reads, copies, relays or stores your Claude credentials, and never calls the Anthropic API directly. The login belongs to the machine and stays in its own Keychain.
Install
The quickest way is the setup sheet the first time you open Picnic, or the Fix button next to the Claude Code installed check in the Factory tab. Both run the official installer:
curl -fsSL https://claude.ai/install.sh | bash
You can also run that command yourself in Terminal on the machine. Picnic looks for claude in /opt/homebrew/bin, /usr/local/bin and ~/.local/bin.
Log in
Logging in is always something you do yourself, on the machine. In Terminal, run:
claude auth login
and follow the prompts in the browser. The setup sheet's Log in button opens Terminal for you, but you type the command and complete the login.
Subscription or API account
Claude Code works with either:
- A Claude subscription (Pro or Max, or a Team or Enterprise seat). Jobs count against that subscription's usage, the same as Claude Code you run by hand.
- An Anthropic API account (Console). Jobs are billed to that account by usage.
Picnic doesn't mind which. It doesn't see the login and it doesn't add to the bill. Picnic's own price covers the board, the relay and loops, never model usage. See Plans and billing.
Because the login lives on the machine, two machines can use two different accounts, and one machine can hold more than one: add them in Settings > Agent accounts and pick one per job. See Several accounts.
Check it
Open the Factory tab and choose the machine. Three checks cover Claude Code:
| Check | Green means | If it isn't |
|---|---|---|
| Claude Code installed | claude was found and answered with its version |
Run curl -fsSL https://claude.ai/install.sh | bash |
| Claude Code up to date | The installed version is at least the current stable release | Run claude update (amber only, jobs still run) |
| Claude Code logged in | claude auth status says logged in, with the account and organisation |
Open Terminal on the machine and run claude auth login |
Checks run again about once a minute, and the setup sheet re-checks every few seconds, so a fix shows within moments. The full list is in Setup checks.
How Picnic runs Claude Code
For each job, Picnic:
- Makes a git worktree and branch for the job.
- Starts a Claude Code session in that worktree through the official Agent SDK, using the installed
claudebinary and the machine's login. - Runs it in auto mode, where Claude Code's own classifier approves or refuses each tool call. Picnic's own safety rules run first and send a few kinds of call to you, such as
sudoor changes to CI config. See Permission asks. - Gives it the job's prompt, your global instructions and a short note for the job's mode, and asks it to finish by writing a short report Picnic checks.
Follow-ups in the chat resume the same session, so the agent keeps its context.
Titles
Picnic asks the installed claude for a short title for each new job with a quick one-off call using a small model, under the same login. If that fails, the job keeps the first line of your prompt as its title.
Open in Terminal
For a job on the machine you are using, Open in Terminal in the job's menu runs claude --resume <session> in the job's worktree, so you can pick up the session by hand. While the agent is still working, it opens a fork of the session so you don't collide with it.
Troubleshooting
- "claude was not found": install it, or if you installed it somewhere unusual, make sure it is in one of the three folders above.
- "Claude Code is not logged in on this machine": run
claude auth loginin Terminal on that machine. Logging in on another machine doesn't help, each machine has its own. - A job fails straight away with a Claude Code error: jobs that can't start because Claude Code is missing or logged out go to Needs you as failed. Fix the check, then start a new job.
See also Engines and Set up Codex.
