<!-- TokenOS docs · Agents · Markdown mirror of https://tokenos.ai/docs/jev · HTML: https://tokenos.ai/docs/jev · index: https://tokenos.ai/llms.txt -->

# Jev · System One

Jev is TokenOS's fast decision primitive: a classification and scoring engine (TypeSafe `jev-latest` through the TokenOS model gateway) that answers narrow yes / no and category questions far faster and cheaper than a general model. It sits in front of compiles, dispatches and approvals.

### Where it runs

| Stage | Question Jev answers | Effect |
| --- | --- | --- |
| Build request classification | Intent, complexity, needs_browser_check, touches_money | Picks the plan depth, whether to run the browser render check, and whether to warn about money-moving code |
| Model tier routing | fast · balanced · frontier | Suggests a model tier for sub-tasks when you leave the model on Auto |
| Harness verification | meets_criteria · has_blocking_error · quality | The last gate after static checks, the isolated LLM evaluator and the browser check |
| Autopilot approval gate | Is this step high-risk? | Routes risky steps to the Approvals Inbox even when the tool is not in gated_tools |

### Design principles

- **Fail-open.** Every helper returns `None` on error. A Jev outage never blocks a build or a run; callers fall back to their static policy.
- **Narrow questions.** Jev is asked for labels and scores, never for code or prose — that keeps it deterministic and cheap.
- **Explainable.** Decisions are stored with the run or task so you can see why a step was gated or a model tier chosen.

**Example classification stored on a task**

```json
{
  "jev": {
    "intent": "build_dapp",
    "complexity": "medium",
    "needs_browser_check": true,
    "touches_money": true,
    "tier": "frontier"
  }
}
```

> **Note — No public endpoint**
> Jev is internal — there is no `/api/jev`. You see its results in task records, harness verification output and Autopilot approval items, and you control it through `approval_policy.jev_gate` on an Autopilot.

---

*Agents · TokenOS documentation. Canonical page: https://tokenos.ai/docs/jev. All docs as Markdown: https://tokenos.ai/llms.txt. Payments on TokenOS are for metered usage only; nothing on this page is investment advice or a promise of income.*
