decisionkit

Fast, cheap, closed-form decisions for coding agents, scripts and CI. You ask a question about a piece of text: yes/no, pick one of a list, rate it on a scale, or rank candidates. A specialized decision API answers with probabilities, not paragraphs.
decisionkit is provider-neutral. It talks to:
- Claude, with the Claude Code login you already have (
claude -p): no extra API key. Claude's probabilities are its own self-reported estimates, and it is slower (about 4 s per call).
- OpenAI Decisions API (public beta),
POST api.openai.com/v1/decisions
- Jev by TypeSafe AI,
POST api.typesafe.ai/v1/systemone, with a TypeSafe key
- Jev via OpenRouter: the same Jev API at
POST openrouter.ai/api/v1/systemone, with an OpenRouter key and billed by OpenRouter
You can use it as a CLI, as a Claude Code plugin, or as an MCP server for Codex, Cursor, VS Code, Gemini CLI, Claude Desktop, Windsurf and Zed.
Requires Node.js ≥ 20 on your PATH.
Quickstart (CLI, 1 minute)
npm i -g @adxtya21/decisionkit
# Have Claude Code? No API key needed:
export DECISIONKIT_PROVIDER=claude
# Or use a decision API (faster, real probabilities):
export DECISIONKIT_PROVIDER=openai DECISIONKIT_OPENAI_API_KEY=sk-...
echo "Clicking Export CSV returns HTTP 500 since v2.3" | decisionkit choice "What kind of issue is this?" bug feature refactor docs
# decisionkit: sent to OpenAI Decisions API (gpt-6-luna) · 852 ms · $0.000013 ← stderr
# bug 1 ← stdout
That output is from a real run. The npm package is @adxtya21/decisionkit; the command it installs is decisionkit.
See it work
In Claude Code: Claude hands the triage of three issues to Jev in a single call, then flags the one answer it isn't sure about (61%). This is a real recording; Claude's thinking is sped up 10×.

In your terminal: classify an issue, catch a breaking API change, rank the files behind a bug. This is a real recording at 1.5× speed.

🎬 Watch the 40-second launch video (with sound)
Why use it
From a 100-task benchmark (bench/RESULTS.md, 2026-10-10):
| Correct | Cost, 100 decisions | Median latency |
|---|
| OpenAI Decisions API | 99/100 | $0.0028 | 135 ms |
| Jev via OpenRouter | 97/100 | $0.0018 | 524 ms |
| Claude Haiku 5.5, asked directly | 97/100 | $0.0045 | 1.8 s |
- Accuracy is a tie within noise. We don't claim the decision APIs are smarter.
- Speed and cost: they were 3–13x faster and up to 2.5x cheaper.
- Probabilities: only the decision APIs return a probability per answer, so you can act automatically when confident and route the rest to a human.
- Caveat: small sample, author-written tasks. Read the caveats in the results file.
What it sends, and to whom
Each decision sends the context and questions to the one provider you configured. The result names the provider and model, and the CLI prints them on stderr.
- Nothing is sent anywhere else, or automatically. Agents call decisionkit only when they choose to.
- Claude Code shows the exact payload in a permission prompt before each call. Some other clients auto-approve tools; check yours.
- Keep sensitive content out of
context. Don't send secrets, credentials, personal data or code you haven't cleared for a third party. The tool's description tells agents the same.
- The
claude provider runs on your Claude Code login. It strips ANTHROPIC_API_KEY from its own process, so a key in your shell can't quietly move it off your subscription. It counts toward your plan's usage like any Claude Code request.
- Only
DECISIONKIT_* variables are read. A bare OPENAI_API_KEY or OPENROUTER_API_KEY in your shell is never used, so you can't be billed on an account you didn't pick.
- No prompt content is logged. The optional local usage log stores ids, timings, token counts and estimated cost only.
What you get back