nxnodex
Search docsv0.1.0GitHub

CLI

CLI commands

The CLI mirrors the simple Express flow: scaffold, develop, run.

nodex new my-agentCreate a starter agent project.
nodex dev agent:appRun an agent in watch mode while editing.
nodex run agent:appRun an agent once for production-style execution.

cli

$ nodex new my-agent
$ cd my-agent
$ nodex dev agent:app

Input

Pass initial state as JSON

nodex run agent:app --input '{"query":"hello"}'

The target format is `module:instance`, such as `agent:app`.