> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runanywhere.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# wally decisions

> Ask Eve, the decision model, yes/no, choice and score questions

`wally decisions` scores questions with a decision model. It prints a probability
for every answer. `wally decide` is an alias for the same command.

Two transports, one output. By default (and with `--cloud`) it asks Eve (`eve`),
RunAnywhere's hosted decision model. With `--local` it scores on your own
machine through an on-device checkpoint, and your text never leaves it.

> [!NOTE]
>
> `wally decisions` (alias `wally decide`) sends every request to Eve (`eve`) by default. You don't
> need to pass a model. Pass `--local` (or `-m` with a local checkpoint) to score on-device instead.

The hosted route runs on your Wally sign-in (`wally account login`). There is no key to set.
The local route needs no sign-in.

## Example

```bash theme={"theme":"css-variables"}
wally decisions \
  --input 'After the 2.3 deploy, every order confirmation email shows the wrong currency for EU customers.' \
  --ask 'Is this a bug report?' \
  --choice 'Which team owns this?=frontend,payments,email' \
  --score 'How severe is it?=cosmetic,minor,major,outage'
```

Output from a production run on 2026-10-04 (wally 0.7.3):

```text theme={"theme":"css-variables"}
Is this a bug report?
yes  99.0%
  yes          ████████████████████  99.0%
  no                                  1.0%

Which team owns this?
email  56.4%
  frontend                            2.3%
  payments     ████████              41.3%
  email        ███████████           56.4%

How severe is it?
major  70.9%
  cosmetic     █                      6.8%
  minor        ███                   16.8%
  major        ██████████████        70.9%
  outage       █                      5.5%
```

Each question shows its most probable answer, then a bar for every label in the
order you gave them. One status line goes to stderr, with the tokens billed, the
cost and the round-trip time from your machine:

```text theme={"theme":"css-variables"}
eve · <tokens> tokens · $<cost> · <ms>ms
```

## Scoring on your machine

```bash theme={"theme":"css-variables"}
wally decisions --local -m clef-flash-9b \
  --input 'Checkout is blank after Pay' --ask 'Is this a software bug?'
```

With `--local`, Wally loads a decision checkpoint and scores in-process. Two
checkpoints ship: `clef-flash-9b` (llama.cpp) and `clef-flash-mlx` (Apple MLX,
macOS only). The first run downloads about 6 GB and offers the pull when the
model is missing; after that it runs offline. Nothing is billed, and the status
line reads:

```text theme={"theme":"css-variables"}
clef-flash-9b · <tokens> tokens · local · <ms>ms
```

Differences from the hosted route: there is no whole-distribution fit note (the
local head reports no `label_mass`), `--no-retry` is cloud-only, and a model
that isn't downloaded stops with `pull it first with wally models pull <id>`
unless you accept the pull offer. With no flags and no `--model`, Wally asks
once where to score and saves your answer; `--route local|cloud` sets that
default directly.

## Flags

| Flag | Short | Argument | Default | What it does |
| - | - | - | - | - |
| `--model` | `-m` | model id | `eve` | The decision model to ask. `eve` on the hosted route; `clef-flash-9b` (llama.cpp) or `clef-flash-mlx` (Apple MLX) on-device |
| `--input` | `-i` | text | | The text every question is about |
| `--input-file` | | path, or `-` | | Read the input from a file, or from stdin with `-` |
| `--ask` | | `'QUESTION'` | | A yes/no question. Repeatable. |
| `--choice` | | `'QUESTION=a,b,c'` | | A choice question with 2 to 26 options. Repeatable. |
| `--score` | | `'QUESTION=l0,l1,…'` | | A score question with 2 to 10 levels, labelled 0 to 9 in the order given. Repeatable. |
| `--request` | | path, or `-` | | Send a complete request body from a file, or from stdin with `-`. See [Request files](#request-files). |
| `--image` | | path | | A PNG, JPEG, WebP, or HEIC file every question is about. Repeatable, up to 8. Cloud only. HEIC needs macOS. |
| `--temperature` | | number | 1 | Probability temperature, greater than 0 and at most 100 |
| `--json` | | | off | Print the raw response JSON instead of the bars |
| `--no-retry` | | | off | Do not retry HTTP 429 or 503 (cloud-only) |
| `--local` | | | off | Score on this machine with a local decision model (never the network) |
| `--cloud` | | | off | Score on your account's hosted endpoint (never a local model) |
| `--route` | | `local` or `cloud` | | Save the default route used when no flags are given |
| `--help` | `-h` | | | Show help |

Every flag in the code is in `--help`; there are no hidden ones. Wally's global `--json` works here too.

* **Input.** Give exactly one of `--input`, `--input-file` or piped stdin.
  `--input` and `--input-file` together are refused. With neither, Wally reads
  stdin if it is not a terminal.
* **Questions.** Mix `--ask`, `--choice` and `--score` freely, 1 to 128 in all.
  They are sent in the order given, with ids `q1`, `q2`, and so on.
* **Retries.** Without `--no-retry`, a `429` or `503` is retried, honouring
  `Retry-After` up to 10 seconds, and an expired sign-in is refreshed once.

## Request files

`--request` takes the exact body of
[`POST /v1/decisions`](https://docs.runanywhere.ai/wally-cloud/decisions#request), with your own question
ids. It is the only way to set `prompt_format_version`, an option `description`,
or the `yes` and `no` text of a yes/no question.

```json theme={"theme":"css-variables"}
{
  "model": "eve",
  "input": "After the 2.3 deploy, every order confirmation email shows the wrong currency for EU customers.",
  "questions": [
    { "id": "is_bug", "type": "yes_no", "question": "Is this a bug report?" },
    {
      "id": "team",
      "type": "choice",
      "question": "Which team owns this?",
      "options": [{ "name": "frontend" }, { "name": "payments" }, { "name": "email" }]
    },
    {
      "id": "severity",
      "type": "score",
      "question": "How severe is it?",
      "levels": ["cosmetic", "minor", "major", "outage"]
    }
  ]
}
```

```bash theme={"theme":"css-variables"}
wally decisions --json --request request.json
```

Wally checks the file against the contract before sending it, so a misspelled
field fails locally instead of being dropped. `--request` cannot be combined with
`--input`, `--input-file`, `--ask`, `--choice`, `--score`, `--temperature`,
`--model`, `--route`, or `--image`; put those in the file. Images can also be
sent with `--image` instead of inside the file.

## Exit codes

| Code | Meaning |
| - | - |
| `0` | Answered |
| `1` | Refused by the server, or a runtime error: not signed in, `403 model_not_entitled`, a question over the token window, an unserved `prompt_format_version`, or (local) a model that isn't downloaded |
| `2` | A usage error caught before any request: blank input, no question, an unknown field in a request file, more than 128 questions, more than 26 options |

## Eve is not a chat model

Chat commands refuse it before anything is sent:

```text theme={"theme":"css-variables"}
$ wally opencode -m eve
Error: eve is a decision model, not a chat model; use `wally decisions -m eve` instead
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.