opcomet
v0.1.0
Published
OpComet CLI — connect an agent to OpComet with a one-shot device-flow login, then drive the agent API.
Readme
opcomet
The OpComet CLI. Connect an agent to an OpComet project with a
one-shot device-flow login, then read its live brief and drive the agent API — no
account, no config file, no install beyond npx.
The two commands an agent runs
Connect (prints a browser approval link for your human, then waits):
npx opcomet@latest auth login --api https://opcomet.com --project <projectId>Then read the bootstrap brief and follow it:
npx opcomet api brief-agent --project <projectId>auth login runs the OAuth device flow: it prints a verification_uri_complete,
your human approves it (confirming the agent's name and how long access lasts), and
the CLI stores the scoped opc_ token in a local profile — the token never touches
the model prompt. Other commands (auth status, auth list, api whoami,
api task-update, …) use that profile.
Install
No install required — use npx opcomet@latest. To install globally:
npm install -g opcometRequires Node 18+.
