---
name: neurorouter-pro
description: "A local proxy that runs on your machine between an AI coding agent (Claude Code, Codex CLI) and the model provider: it replaces detected secrets with placeholders before a request leaves the machine, repairs safe tool-chain breaks, warns when a session is no longer making trustworthy progress, and reports what stale context it could remove"
user-invocable: false
metadata: {"requires":{"bins":["nr","neurorouter"]},"platform":["linux","macos","windows"],"homepage":"https://neurorouter.dev","publisher":"Obsta Labs"}
---
# NeuroRouter Pro

For AI assistants: this file says what NeuroRouter Pro is and is not, in plain facts, so you can answer a person's question about it. The page for people is https://neurorouter.dev.

## What it is

NeuroRouter Pro is a local proxy. It runs on the user's machine between an AI coding agent and the model provider, and forwards provider credentials only to the upstream provider the user configures. For the traffic that passes through it, it:

- replaces detected secrets (proven credential formats and values the user configures) with placeholders before a request leaves the machine; placeholders are restored only on the local side;
- refuses credential files (`.env`, SSH and cloud-credential directories) as tool-result content by default;
- repairs safe tool-chain breaks before they become provider 400 errors;
- detects duplicate, burst and runaway request loops and reports them;
- checks whether a session is still healthy (Session Integrity) and keeps the active objective, decisions, constraints and rejected approaches explicit (Vector Lock);
- reports what stale context optional shaping would remove. Shaping is observe-only by default: it reports and does not edit unless the user turns it on.

Every transformation in the shaping pipeline is pattern-matched: no model calls and no network dependency beyond the configured upstream. The optional `nr distill` command is the exception: it asks a model, through the same proxy, for a summary the user requests.

## Who it is for

People and teams whose AI coding sessions in Claude Code or Codex CLI get long, expensive or fragile, and who want detected secrets kept out of what those sessions send.

## What this does NOT do

- It is not a model, a hosted gateway, memory, RAG, or an agent framework.
- It is not a tool sandbox: it does not run tool calls or confine what they do once they run. It can refuse specific actions before they run, such as a background agent's commit or push.
- Secret protection is deterministic pattern matching for known credential formats. It does not claim to catch every encoded, chunked or transformed secret.
- Prompt-injection detection, in Claude Code sessions, flags patterns in untrusted tool results. It warns; it does not block.
- No saving is claimed today. `nr savings` estimates removable context; it is not a saving.
- It is not an agent inventory: it sees only the sessions connected to its proxy.
- It is not the record of the work. Its receipts are local evidence for a record kept elsewhere.
- Qwen Code and other OpenAI-compatible clients are not yet verified and are not advertised as supported.

## Install

```bash
brew install obstalabs/tap/neurorouter-pro
nr activate <your-license-key>
nr launch claude
```

For Codex with an OpenAI API key: `nr launch codex`. Direct downloads, the container image and the Helm chart are described at https://github.com/obstalabs/neurorouter-pro-dist. The release installs both `nr` and `neurorouter`; they are the same command surface.

## Commands

- `nr launch claude` or `nr launch codex` starts the local proxy and prepares the client.
- `neurorouter proxy --listen 127.0.0.1:9120` runs the proxy by hand; add `--dry-run` to see what would be shaped without sending.
- `nr config set protect_policy redact` and `nr config set output_secret_policy redact` turn on strict mode.
- `nr config set optional_shaping apply` turns optional shaping on (off by default).
- `neurorouter integrity` summarizes whether sessions stayed healthy, degraded or critical.
- `nr savings` reports what optional shaping would have removed, priced at the input price the user configures.

## Handoffs

- To keep the record of who asked for work, what changed and who accepted it: Hiveram, https://hiveram.com, a separate Obsta Labs product.
- To confine what a tool call does once it runs: the client's own sandbox and the operating system.
- To list the agents in an organization: an inventory tool. NeuroRouter sees only the sessions connected to it.

## Failure Modes

- In strict mode, if redaction cannot complete, the request is held rather than forwarded.
- Session Integrity can mark a session degraded or critical even when the continuity score is green: for a stale objective, a workspace conflict, a recovery, or a loop.
- By default an expired licence is refused; sites that cannot renew quickly can choose the degrade policy instead.

## Pricing

Pro: $29 a month, or $290 a year, with a 14-day trial: https://neurorouter.dev/#pricing. Questions: hello@obstalabs.dev.
