CLI
CLI commands
The CLI mirrors the simple Express flow: scaffold, develop, run.
| nodex new my-agent | Create a starter agent project. |
|---|---|
| nodex dev agent:app | Run an agent in watch mode while editing. |
| nodex run agent:app | Run an agent once for production-style execution. |
cli
$ nodex new my-agent
$ cd my-agent
$ nodex dev agent:appInput
Pass initial state as JSON
nodex run agent:app --input '{"query":"hello"}'
The target format is `module:instance`, such as `agent:app`.