apiKeyHelper and ANTHROPIC_BASE_URL. No wrapper, no SDK in your code.
Discover and report
Stop command hook into ~/.claude/settings.json and a launcher under ~/.claude/. Existing hooks stay. disconnect claude --reporting removes only the Nasiko entries.
On a terminal, nasiko connect claude with no flags asks about routing, MCP connectors, and reporting in turn.
Session reporting always uses ~/.claude, even when $CLAUDE_CONFIG_DIR is set.
After that, use claude the way you always do. Each completed turn is queued under ~/.nasiko/integrations/queue/ and delivered in the background. See Session reporting.
Route models
connect claude edits ~/.claude/settings.json:
apiKeyHelperrunsnasiko __claude-token, which mints a one-hour JWT from your cluster.env.ANTHROPIC_BASE_URLpoints at the cluster. Claude Code keeps sending Anthropic-format/v1/messagesrequests; Nasiko translates and routes them.
x-api-key. The router accepts that header and Authorization: Bearer.
Connection state is stored in ~/.nasiko/integrations/claude.json.
If routing is configured under $CLAUDE_CONFIG_DIR, that directory is what connect and disconnect edit. Reporting still uses ~/.claude.
One-shot, no settings change
--agent is required.
Disconnect
--routing leaves reporting in place, and --reporting leaves routing in place. Pass both to remove everything. On a terminal, nasiko disconnect claude with no flags asks what to remove.
Identity in Nasiko
Registration creates a coding-agent identity named<username>-claude-code, labelled Claude Code (<your email>) in the dashboard. Reported sessions and routed calls are both attributed to it.
Troubleshooting
More: Troubleshooting and Route models.