With the CLI
Install the CLI and sign in once (soma). Then tell your agent it can use it, for example in CLAUDE.md or AGENTS.md:
--jsonprints the API’s JSON on stdout; progress goes to stderr.- No prompt and no browser when there is no terminal.
- Exit codes:
0ok,1failed,2bad usage,3sign-in needed.