oc login, OPENCOMPUTER_API_KEY, or --api-key.
oc agent invoke
Start a durable session through an agent’s canonical URL:--data defaults to {}. The CLI rejects non-JSON input locally, calls exact
POST / with the configured org key, and prints the accepted session id plus
follow/steer commands. It generates one idempotency key and keeps it stable
across automatic retries; supply your own key when separate command runs must
converge.
With --json, the output is the complete acceptance receipt, including the
one-hour session client token and canonical event/message links. Treat that
output as a session-scoped credential.
Use oc session create instead when you need model, source, destination, or
per-session limit overrides.
oc agent hook create
--agent is
omitted, the CLI resolves the agent from agent.toml in the current directory.
oc agent hooks
--limit at 100.