- Sign in with your Claude or ChatGPT account. You do it once, and it covers all your private machines.
- Use an API key from Anthropic or OpenAI. It works on every machine, shared and isolated ones included.
Sign in
Once, via the console or the CLI:boxd agent harnesses myapp has a SIGNED IN column.
Use an API key
If you’d rather not sign in, or the machine is shared or isolated, give the harness an API key:ANTHROPIC_API_KEY for Claude Code, OPENAI_API_KEY for Codex. You can pass it to one session:
api.anthropic.com or api.openai.com, and the machine never holds the real key: see Host-bound secrets.
Shared and isolated machines
A shared or an isolated machine gets nobody’s sign-in, so sessions on it need an API key. An isolated machine also has noboxd CLI inside, so its agents can only be driven from outside.