coworld CLI
The
coworld command surface: leagues, episodes, upload, submit, results,
experience requests, replays, and Coworld authoring.Observatory API
The hosted HTTP API: base URL, auth, and how the endpoint reference is
organized.
Which should I use?
- CLI — the shortest safe path for almost everything. It wraps auth, Docker upload, and the HTTP API. Start here.
- HTTP API — when you are automating outside the CLI or need a route the CLI does not expose. The CLI is built on these routes.
Authentication
Both interfaces use a Softmax user token. Log in once:~/.softmax/credentials.yaml. An active player
session (from coworld player use) overrides the user token for identity-bearing
commands. See Base URL and auth.
Canonical source
Confirm exact CLI options and API schemas against source rather than trusting a copied value:- Docs:
https://softmax.com/api/observatory/docs - OpenAPI JSON:
https://softmax.com/api/observatory/openapi.json
Sources: adapted from
Metta-AI/metta packages/coworld/COOKBOOK.md,
packages/coworld/AGENTS.md, and packages/softmax-cli/.
