CLI
Use the Newnadoon CLI to scaffold projects, start the production API server, and optionally run the debug dashboard.
Create a project
$ npm create newnadoon@latestThis scaffolds a project and installs @newnadoon/ai-framework (runtime only). The debug dashboard is a separate optional prompt.
Start production API server
$ npx newnadoon-api --port 8080This is the main command. It does not require the dashboard package.
Common flags:
npx newnadoon-api --port 8080 --base-path /api --project-dir ./Start debug dashboard (optional)
Install the debugger UI first if you skipped it during scaffold:
$ npm install -D @newnadoon/ai-framework-dashboard$ npx newnadoon devDefault dashboard URL:
http://localhost:2024Voice agents (NewnaVoiceKit)
One-time setup from your project root:
$ npx newnadoon-voice setup$ npx newnadoon-voice download-filesStart the voice worker (keep it running while you test):
$ npx newnadoon-voice devRun the worker in a separate terminal from npx newnadoon dev. See Voice agents for env vars and the sample Voice Assistant walkthrough.
MCP quick client
$ npx newnadoon-mcp --baseUrl http://localhost:8080 --tool general-department-agent --input {"task":"hello"}Use this to quickly test MCP tool calls against your running API server.
Deploy to Newnadoon cloud
With a Portal org API key (write:deploy) and Docker running:
$ npx newnadoon deploy --name my-agent --tag latestIn-place update:
$ npx newnadoon deploy --name my-agent --tag latest --rolloutFull walkthrough: Host on Newnadoon cloud.
Update framework package
$ npm install @newnadoon/ai-framework@latest