cli /* agent access */
No signup required.
// connect your agent
The CLI talks to the same HTTP API behind opc.ren. Tokens are bound to the current browser workspace, stored as hashes, and expire by default after 30 days.
CLI BetaNo signup required
Create a workspace token
This token is tied to this browser workspace, not an account. If you clear browser cookies, keep this token safe or revoke it from CLI; if both are lost, wait for the token to expire.
Expires in
Workspace tokens
| Name | Last used | Expires | Status | Action |
|---|---|---|---|---|
| No tokens in this browser workspace yet. | ||||
01 /* install */
Quickstart
Requires Node.js 20+. Install the CLI tarball from opc.ren, then paste the token created above into the login command.
install.sh
npm i -g https://opc.ren/downloads/opc-cli-0.1.0.tgz
opc --help
opc login --base-url https://opc.ren --token opc_xxx
opc chat "review this growth idea" --stream02 /* commands */
Common Commands
$ opc chat "review this growth idea" --stream$ opc memory list$ opc plan ensure$ opc plan generate <dayId> --stream$ opc draft update <id> --status approved$ opc dashboard summary --days 703 /* streaming */
Streaming Contract
stream.ndjson
{"event":"meta","data":{}}
{"event":"delta","data":{"content":"..."}}
{"event":"done","data":{"ok":true}}