// Documentation
cosmo CLI reference.
Every command and flag for the cosmo developer CLI, verified against packages/cli.
CLI · 02
cosmo init
Scaffold a minimal, runnable project - a worker Dendrite hosting an Axon, and an orchestrator that dispatches one task and prints the result. Three files (worker.py, orchestrator.py, README.md) are written into ./NAME; pass --namespace to choose the namespace and --force to write into a non-empty directory.
$ cosmo init my-app --namespace=demo Scaffolded my-app in /path/to/my-app + worker.py + orchestrator.py + README.md Next steps: cd my-app cosmo synapse start memory --namespace=demo python worker.py # in a second terminal python orchestrator.py # in a third terminal
Have a feature in mind?
The protocol, SDKs, and CLI are still pre-1.0. If something here is missing, ambiguous, or wrong - open an issue and propose a change. Every breaking change is debated in DECISIONS.md first.