Prerequisites
- Rust to install the CLI
- Docker with Compose, to run a local Nasiko cluster — or the URL of your organization’s cluster and an account on it
- At least one supported coding agent installed: Claude Code, Codex, OpenCode or the Cursor CLI
Find and measure your coding agents
1
Install the CLI
nasiko into ~/.cargo/bin. Use --force when you update: every build reports version 0.1.0, so the version number alone won’t tell you whether you have the latest commands.2
Discover what's already running
PATH or its config directory exists. Connected means session reporting is installed, and Version is the version of the Nasiko reporting hook.3
Start or connect to a Nasiko cluster
- Local (Docker Compose)
- Your organization's cluster
From the Edit The first build compiles the server inside Docker and takes a few minutes. The dashboard is at http://localhost:8080. The Compose stack already sets up everything coding-agent cost reporting needs. See Deploy the stack for details.
nasiko repo you cloned:.env and set:ADMIN_PASSWORD: the password for theadminaccountOPENAI_API_KEY: a model provider keyAGENT_JWT_SECRET: uncomment it and set a random value (openssl rand -base64 48). Model routing in the last step needs it.
4
Sign in — reporting installs itself
nasiko agents discover again and Connected reads yes.To install reporting for one harness explicitly, or to leave prompt and response text out of what’s reported:Restart OpenCode after reporting is installed so it loads the plugin. Codex asks you to trust the new Nasiko hooks the next time it starts.
5
Work as usual, then look at the spend
Use your harness the way you always do. Each completed turn is queued on your machine and delivered to the cluster in the background. If the cluster is unreachable, turns wait in the queue and the harness is never blocked.In the dashboard, Sessions lists the same conversations. Overview and TokenOps break down spend by agent — each harness is registered as its own agent — and by model. See the TokenOps dashboard.
6
Optional: route a harness to the model you choose
Harnesses arrive tied to a vendor: Claude Code to Anthropic, Codex to OpenAI. Routing gives the model choice back to you. Register a provider key once, then connect a harness to it:Claude Code keeps speaking its own protocol, and Nasiko routes each call to the model in your config. Routing is available for Claude Code, Codex and OpenCode. Undo it at any time with
nasiko disconnect claude. See Route models for what changes on your machine and how failures behave.Next steps
How reporting works
What’s captured, where it’s queued, and how delivery is kept safe.
Cost attribution
One cost schema across every harness and vendor.
Per-harness guides
Claude Code, Codex, OpenCode and Cursor specifics.
Deploy an agent
Build and run your own agent on the same cluster.
