Agents commands
spwn auth login
Set up credentials for a provider.
Register credentials for a provider. The simplest path is an API key:
spwn auth login anthropic --api-key sk-ant-...For OAuth-backed subscription access (Claude.ai / ChatGPT Plus via codex), run the upstream CLI login first, then re-run this command; Spwn will detect the new credential and record it:
claude login # then: spwn auth login anthropic
codex login # then: spwn auth login openaiFor hosted MCP providers (Notion, ...), the command runs the OAuth dance itself in a one-shot helper container: click the link it prints, approve in your browser, the token persists for every world:
spwn auth login notionUsage
spwn auth login <provider> [flags]Options
--api-keystringSave an API key for this providerRelated Commands