# anyr decision puts structured decisions in your terminal

> Run TypeSafe Jev, Fastino GLiNER2.5-Decide, or the anyrouter/decision preset with one native CLI command instead of forcing decision models through a chat agent.

- Date: September 25, 2026
- Category: product
- HTML: https://anyrouter.dev/blog/anyr-decision-cli

## A decision is not a chat completion

The [Decisions family](https://anyrouter.dev/apps/decisions) evaluates application `state` against typed `noul`, `choice`, and `score` questions. That contract is available through `POST /api/v1/decisions`; it is not an OpenAI messages payload.

Use [`typesafe/jev`](https://anyrouter.dev/model/typesafe/jev), [`fastino/gliner2.5-multi-v1`](https://anyrouter.dev/model/fastino/gliner2.5-multi-v1), or [`anyrouter/decision`](https://anyrouter.dev/model/anyrouter/decision) for auto-routing across the decision models your keys can reach. Model pages now lead with the native command and raw request samples instead of chat-agent launchers.

## One command from the CLI

Install `anyr`, sign in, then choose an exact model:

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr decision --model typesafe/jev
```

_Run Jev through the native Decisions client._

The command uses the same Decisions endpoint and structured response as the API, so the result is typed answers rather than generated chat text.

## The SDK surface follows the API

For application code, the model page also shows a raw `fetch` sample with `state` and `questions`. Chat SDK samples are intentionally omitted because they call the wrong endpoint for this model family.

```ts
const res = await fetch("https://anyrouter.dev/api/v1/decisions", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.ANYROUTER_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    state: "Help! My payouts have been failing for 3 days.",
    model: "typesafe/jev",
    questions: {
      is_urgent: {
        type: "noul",
        instructions: "Does this convey urgency?",
      },
    },
  }),
})

console.log(await res.json())
```

_POST a Decisions request from TypeScript._

Read the [Decisions API reference](https://anyrouter.dev/docs/api-reference/systemone) or open the [full Decisions app](https://anyrouter.dev/apps/decisions). Release details: [Decisions family + anyr decision](https://anyrouter.dev/blog/releases/2026-09-25).
