NodeOS Agent Starter Kit

CLI client, steering template and env template for connecting any project — and its AI agent — to the NodeOS Public API.

Requirements: Node.js 18+ (global fetch, no dependencies). The client is an ES module. Use nodeos-client.mjs, or nodeos-client.js in a project with "type": "module" in package.json — otherwise it fails with SyntaxError: Cannot use import statement outside a module.

Recommended: set up the whole workspace

Run it in the folder you open in your IDE (the root above all repos) — not inside a single repo.

curl -o nodeos-setup.mjs https://nodeos.dk/docs/agent-kit/setup.mjs
node nodeos-setup.mjs --tool kiro
# paste the key into .env, then check:
node nodeos-setup.mjs --tool kiro --check
# update an existing kit:
node nodeos-setup.mjs --tool kiro --update

New in 2.3.0: preflight now shows whether your local kit (.nodeos/kit-lock.json) is older than the released version and suggests the update command. The steering template describes the valid evidence types (including test_run and build for CI) and checks for missing evidence with completion before a session ends.

Full adapters (Starter Kit 2.3.0): kiro and codex (use --tool codex). Cursor, Claude Code and VS Code: MCP setup only via --tool cursor|claude|vscode, not full adapters. Windows (PowerShell): Invoke-WebRequest -Uri https://nodeos.dk/docs/agent-kit/setup.mjs -OutFile nodeos-setup.mjs.

Manual setup

mkdir -p scripts
curl -o scripts/nodeos-client.mjs https://nodeos.dk/docs/agent-kit/nodeos-client.mjs
echo 'NODEOS_API_KEY=nw_live_' >> .env
echo 'NODEOS_API_BASE_URL=https://nodeos.dk' >> .env
node scripts/nodeos-client.mjs me
FilePurpose
README.mdQuick start and requirements.
AGENT_CONTRACT.mdThe agent contract: the rules every connected agent must follow.
setup.mjsInstall, check and update script for the workspace.
manifest.jsonKit version and SHA-256 checksums for all governed files.
codex/*Codex adapter: AGENTS.md section and config.toml section.
nodeos-client.mjsStandalone CLI + ESM module (recommended file extension).
nodeos-client.jsSame file for projects with "type": "module".
steering-template.mdGeneric workflow rule set for AI agents. Adapt the placeholders.
.env.exampleEnvironment template (placeholders only).
kiro-hooks/*.jsonThree recommended IDE hooks (SessionStart, UserPromptSubmit, Stop) in Kiro's v2 format. Put them in .kiro/hooks/ and commit them. These are not NodeOS webhooks. See the steering template.
API.mdFull API reference in markdown.
⚠️ Always use the apex domain https://nodeos.dk. www.nodeos.dk issues a 302 redirect, and most HTTP clients strip the Authorization header on cross-host redirects.