NodeOS Agent Starter Kit
CLI client, steering template and env template for connecting any project — and its AI agent — to the NodeOS Public API.
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
| File | Purpose |
|---|---|
| README.md | Quick start and requirements. |
| AGENT_CONTRACT.md | The agent contract: the rules every connected agent must follow. |
| setup.mjs | Install, check and update script for the workspace. |
| manifest.json | Kit version and SHA-256 checksums for all governed files. |
| codex/* | Codex adapter: AGENTS.md section and config.toml section. |
| nodeos-client.mjs | Standalone CLI + ESM module (recommended file extension). |
| nodeos-client.js | Same file for projects with "type": "module". |
| steering-template.md | Generic workflow rule set for AI agents. Adapt the placeholders. |
| .env.example | Environment template (placeholders only). |
| kiro-hooks/*.json | Three 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.md | Full API reference in markdown. |
https://nodeos.dk. www.nodeos.dk
issues a 302 redirect, and most HTTP clients strip the
Authorization header on cross-host redirects.