The Jev MCP server for coding agents.
A fast decision layer for Claude Code, Codex, Cursor, and nine more agents. agent-fastpath answers the small questions agents keep stopping on (is CI ready to ship, which files handle auth, is this command safe) with typed, calibrated results, and hands control back when it is not sure.
claude mcp add agent-fastpath -s user -e TYPESAFE_API_KEY=<key> -- npx -y agent-fastpath start
Rules first, then Jev, then a confidence gate
Clear-cut cases are decided by code without an API call. Everything else goes to TypeSafe Jev in one request, and a gate turns low-confidence answers into review or escalate instead of a guess. Select a stage to see what it does.
Real responses
Each example is a recorded response from agent-fastpath 0.2.0. The semantic ones were answered by TypeSafe Jev, so your confidence values will differ slightly.
Estimate the context you save
Triage reads files on the server, so your agent only sees ranked results with short snippets. Move the sliders to estimate the saving for your repository.
Estimate. It assumes the triage response stays near the measured 408 tokens (top 10 results with snippets). Measured result: 35 files, 35,256 tokens reduced to 408. Triage sends redacted excerpts of up to 4,000 characters per file to TypeSafe for scoring, so the saving is in your agent's context, not in data sent. How it was measured
Coding agents need fast reflexes, not only deep reasoning
Your agent is good at slow, deliberate work. It is wasteful at the quick judgments in between. agent-fastpath takes those.
Many agent steps are small judgments: did the tests pass, which files matter, is this command safe, is this request contradictory. When the agent answers them itself it reads whole files and logs into its context, then reasons in free text. agent-fastpath answers them in one call: rules for the clear cases, TypeSafe Jev for the rest, and a typed result the agent can act on.
| Your coding agent | agent-fastpath | |
|---|---|---|
| Good at | Planning, reasoning, writing code | Ship gates, triage, risk and ambiguity checks |
| Speed | Seconds per model turn | < 1 ms (rules) to ~350 ms (Jev) |
| Reads | Whole files into its context | Files on the server; returns ranked snippets |
| Answers with | Free text | Typed decision, probabilities, and a status |
Why not let the agent read the files itself?
Why not grep or a script?
What happens when it is not sure?
escalate: decide yourself or use a larger model. When the top two answers are within 0.15 of each other the result is review. Contradictory or vague requests return ask_user, risky commands return review with ask_user, and failing builds return blocked with fix_and_retry. You can tune the thresholds per call.
Does my code leave the machine?
Do I need a TypeSafe API key?
escalate instead of guessing.More than a pipe to Jev
A basic Jev MCP server passes your agent's questions to Jev and returns the answer. agent-fastpath adds what an agent needs to act on that answer safely.
| Plain Jev connector | agent-fastpath | |
|---|---|---|
| Questions | The agent writes question schemas | Presets: ship_gate, risk, severity, ambiguity, relevance, verify_claim, and more |
| Clear cases | Every call goes to the API | Rules decide failing builds, force pushes, and DROP TABLE in under 1 ms, with no API call |
| Uncertain answers | Raw probabilities; the agent decides | A gate returns accept, review, or escalate, with a recommended action |
| Files | The agent reads them first | Server-side triage; files stay out of the agent's context |
| Web pages | Not covered | Headless browser with SSRF blocking and an irreversible-action gate |
| Audit | Varies | Secret redaction and an evidence trace for every decision |
Safe by default
Tool inputs, logs, and web pages can be hostile. You set the limits; tool callers can tighten them but never loosen them.
allowIrreversible: true.Details in the security model. Report vulnerabilities privately through GitHub security advisories.
Connect your coding agent
Pick your agent and copy the config. You can also print it with npx agent-fastpath install-config <agent>.
npx; nothing else to install.npx playwright install chromium for the browser tool.