Skip to content
v0.5.0OpenAI's Decisions API and Go templates →

Judgment calls, at scale.

Find the vulnerable function in a codebase, the urgent ticket in a queue, the risky change in a pull request. decide asks a decision model about every one, from your shell, CI, Go code or Claude Code.

$ brew install deepnoodle-ai/tap/decide

The small calls inside your automations.

Every pipeline has judgment calls that are too many for a person and too fuzzy for a rule. Here are a few that decide makes out of the box.

What you’d otherwise build yourself.

A decision model’s API takes one text and one question. decide brings the questions, splits your data into items, and gives your script something to act on.

Audit a whole codebase from Claude Code.

Two skills in the decide plugin. decide scores every function, and Claude reads only the few that score highest.

  • /decide:audit

    Audits a repository for security bugs

    decide scores every function with the security template. Claude reads up to 15 of the highest with their callers, and reports which are real.

  • /decide:hunt

    Finds where a fixed bug was repeated

    Give it a fix commit or pull request. Claude writes one question about the mistake, decide asks it of every function, and Claude reads the top matches.

  1. decide scores every function, one request each.
  2. A few score 30% or more. Most don't.
  3. Claude reads up to 15 of the highest, with their callers, and says which are real.

A drawing of one audit, not a run.

In Claude Code

> /plugin marketplace add deepnoodle-ai/decide> /plugin install decide@decide

Why not just call an LLM?

You can, and for writing or reasoning you should. For a yes or a no on every item, a decision model is the better tool.

Faster

An LLM writes its reply a token at a time, and you wait for all of it. A decision model writes nothing. It returns one answer.

100msfor one answer, in a recorded run

Cheaper

With an LLM you pay for your prompt and for every token it writes back. Here you pay for the prompt.

$0.042per million input tokens on Jev1

Calibrated

Ask an LLM how sure it is and it types a number, usually a confident one. A decision model is trained so its probability matches how often it is right.

90%means right about nine times in ten

1 Jev bills input only (TypeSafe). gemini-decision-1 bills $0.10 per million input tokens and writes no output tokens (Google). OpenAI's Decisions API and Cloudflare bill on their own terms. For scale, the lowest standard price OpenAI lists for a chat model's output is $0.40 per million tokens, for gpt-5-nano (OpenAI).

Close calls go to a person.

Every answer comes with a probability. Act on the ones the model is sure of, and send the rest to a person.

triage.go
e, err := decide.Eval(ctx, client, issue,
    decide.Noul("Is this ready to work on?"))
if err != nil {
    return err
}
switch p := e.Answer.Noul; {
case p >= 0.9:
    assign(issue)              // allow
case p <= 0.1:
    sendBack(issue)            // reject
default:
    route(issue, gate.Review)  // a person decides
}
  1. >= 0.9allow
  2. in betweena person decides
  3. <= 0.1reject

Before you switch, test it on your own items.

Run it on items you've already labeled and compare. The probability is the model's judgment, not proof, so set your thresholds there too.

See examples/calibrate →

Four decision models, one set of commands.

All four read text and code. Three read images, and Gemini reads audio, video and PDFs too. Jev is the default; switch with one flag.

TypeSafeJev · default

jev-latest
  • text

CloudflareClef · Workers AI

clefclef-flash
  • text
  • images

OpenAILuna

gpt-6-luna
  • text
  • images

GoogleGemini

gemini-decision-1
  • text
  • images
  • audio
  • video
  • PDF

Bring your own key. decide sends what you ask about to that provider and nowhere else. Keys and switching are in Providers.

Your turn. Ask it something.

Install it, set a key, and put it where your script makes a call.

$ brew install deepnoodle-ai/tap/decide

Open source under Apache 2.0. LICENSE · CONTRIBUTING.md

decide is Apache 2.0. Made by Deep Noodle, after some very hard thinking.