Skip to content

DocsStart

6 min read · updated

Quickstart

Start Decisio v3 on a GPU, a Mac or Ollama, send text and questions, then read a typed answer from your backend. Other models are one flag away.

Five steps: pick your machine, check the server, ask a question, read the answer and, if you want, choose another model. Every command here starts Decisio v3, a Gemma 4 12B tuned for decisions, with calibrated probabilities.

Figure · Illustrative decision

Ask a question; use the answer in your backend.

  1. TextMy card keeps getting declined when I renew.
  2. QuestionWhich team should handle this ticket?
  3. Answer
    billing0.80
    access0.05
    bug0.15
    Selected: billing
  4. Your codeRoute to a queue or ask for review

The question and possible answers are yours. Your application chooses what happens next.

Illustration: chosen probabilities, using the tutorial request. Your model returns its own values.

With a server running on http://127.0.0.1:8000, one POST asks which team should handle a ticket:

shell
curl --fail-with-body -sS --max-time 60 http://127.0.0.1:8000/v1/systemone \
-H 'Content-Type: application/json' \
-d '{
"state": "My card keeps getting declined when I renew.",
"questions": {
"category": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"billing": "Invoices, payments and refunds",
"access": "Login, passwords and permissions",
"bug": "The product behaves wrongly"
}
}
}
}'

The answers come from a small test model, not the default model.

No server yet? Step 1 starts one on your machine.

Choose where the model runs, then run its commands. The first start downloads the model.

GPU

shell
python3.12 -m venv .venv && . .venv/bin/activate
pip install "decisio[serve]==0.56.0"
python -m decisio.serve.vllm_engine \
--base tachara-ai/Decisio-12b-tuned-v3-calibrated

Needs Linux with one NVIDIA card and room for 22 GB of bf16 weights.

On a smaller card in FP8, or with Docker, see Serve Decisio v3 and With Docker.

Mac

A Mac with Apple silicon and 32 GB or more; this 8-bit build is 12 GB.

shell
pip install "decisio[mlx]==0.56.0"
python -m decisio.serve.vllm_engine --backend mlx \
--base tachara-ai/Decisio-12b-tuned-v3-mlx8-calibrated

Needs a Mac with Apple silicon.

A 6-bit build is in Serve Decisio v3, and the untrained models in On a Mac.

Ollama

Mac, Linux or Windows with Ollama 0.40.4 or later; the 8-bit file is 12.7 GB.

shell
ollama pull aminroudaki/decisio-v3

Ollama runs its own listing of the model, so its answers are not a decisio server's.

It uses its own port, 11434, and its own request in step 3.

Requirements and limits has the memory and card each machine needs.

Optional: a CPU server for client contract tests

If you only need to test request and response handling without serving hardware, use the small development model. You need Python 3.12, uv and git.

shell
git clone --branch v0.56.0 https://github.com/aminry/decisio
cd decisio
uv sync --extra dev --frozen
uv run python -m decisio.serve.vllm_engine --backend hf --model Qwen/Qwen3-0.6B-Base

Its probabilities are for development and do not represent the models above. CPU development explains this path.

A decisio server listens on http://127.0.0.1:8000. It is ready when /health answers:

shell
curl -s http://127.0.0.1:8000/health
ResponseTrimmed to the fields this page uses
{
  "ok": true,
  "base": "qwen3.6-35b-a3b"
}

On Ollama, ollama list shows the model once the pull has finished.

The request in the TL;DR is one POST to /v1/systemone: the text goes in state, and each question has a name you choose, a type and instructions. It asks which team should handle one ticket and supplies billing, access and bug as the possible answers. Download this request as JSON for your own client.

On Ollama, send the same kind of question to its own route, with the listing named in model:

shell
curl http://localhost:11434/v1/systemone \
-H 'Content-Type: application/json' \
-d '{
"model": "aminroudaki/decisio-v3",
"state": "Hi, since this morning none of our 40 staff can log in to the dashboard. We get \"session expired\" right after entering the password. Payroll is due today.",
"questions": {
"urgent": {
"type": "noul",
"instructions": "Does this ticket need a response within the hour?"
},
"category": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"billing": "Invoices, payments, refunds",
"access": "Login, passwords, permissions",
"bug": "The product behaves wrongly",
"other": null
}
},
"impact": {
"type": "score",
"instructions": "Rate the business impact using only the reported facts.",
"criteria": [
"No function impaired",
"One user impaired, with a workaround",
"Many users blocked from a core function",
"Data loss or legal exposure"
]
}
}
}'

Ollama runs its own listing of the model, so its answers are not a decisio server's.

Read answers.category in the response. choice gives the selected queue, and probabilities gives a value for each supplied option. The following fields are illustrative, with chosen probabilities rather than a measured result:

json
{
"type": "choice",
"choice": "billing",
"probabilities": {"billing": 0.8, "access": 0.05, "bug": 0.15}
}

A shape to fill in, not a command to run.

Your running model will return its own probabilities. Your backend maps the selected key to a queue or sends the ticket to review, using a policy you evaluate on your task.

A recorded model result with three question types

This separate example asks about urgency, queue and impact on another support ticket. It is a recorded Gemma 4 31B result, labelled with its release, hardware and date; it is not the output of the one-question request above.

Figure · Recorded request and answer

Every question gets its own typed answer.

Request

{
  "state": "I was charged twice for October. Both charges are 49.00 EUR, same day. Please refund one.",
  "questions": {
    "urgent": {
      "type": "noul",
      "instructions": "Does this ticket need a response within the hour?"
    },
    "queue": {
      "type": "choice",
      "instructions": "Which team should handle this ticket?",
      "criteria": {
        "billing": "Invoices, payments, refunds, prices, VAT",
        "access": "Login, passwords, two-factor, SSO, permissions, invitations, account security",
        "bug": "The product behaves wrongly: errors, crashes, wrong numbers, lost data",
        "feature": "A request for something the product does not do yet",
        "cancellation": "Cancelling, pausing or closing an account, deleting data",
        "other": "Press, partners, jobs, sales pitches, wrong address, thanks, general questions"
      }
    },
    "impact": {
      "type": "score",
      "instructions": "Rate the business impact using only the reported facts.",
      "criteria": [
        "No function impaired",
        "One user impaired, with a workaround",
        "Many users blocked from a core function",
        "Data loss or legal exposure"
      ]
    }
  }
}

Answer fields

{
  "answers": {
    "urgent": {
      "type": "noul",
      "noul": 0.159
    },
    "queue": {
      "type": "choice",
      "choice": "billing",
      "probabilities": {
        "billing": 0.962,
        "access": 0.011,
        "bug": 0.016,
        "feature": 0.004,
        "cancellation": 0.005,
        "other": 0.003
      }
    },
    "impact": {
      "type": "score",
      "probabilities": {
        "0": 0.256,
        "1": 0.648,
        "2": 0.053,
        "3": 0.042
      }
    }
  }
}

The text, question, options and typed answer are separate parts of one decision.

Read all field explanations
Text
state is the text to ask about. Keep it separate from the question.
Question
questions names each judgment. Its type and instructions tell the server what to answer.
Options
criteria gives named options for choice or ordered levels for score. A noul question already has yes and no, and can optionally describe true and false.
Answer
answers uses your question names. Read the typed value and its probabilities before your application acts.

Recorded decision: Gemma 4 31B, decisio 0.17.0, RTX PRO 6000 at 600 W, 2026-10-19, on the plain layout; record 1 of 60 of decisio-examples' support-routing run, sent again on that release; the response is abridged and its probabilities are rounded to three places.

A server serves one model, the one it was started with. To switch, stop it and start it again with another --base. With no flag a decisio server serves Gemma 4 31B; the commands above name Decisio v3 so you start with it.

ModelWhat it isChoose it whenGPUMacOllama
Decisio v3, calibrated, recommendedGemma 4 12B tuned for decisionsYou use the probabilities themselves: thresholds, ranking, expected valuesyesyesyes
Decisio v3, commitThe same weights, with yes/no answers committedYou act on yes/no answers directlyyesyesno
Gemma 4 12BThe untrained modelYou want the model as Google published ityesyesyes
Gemma 4 31BThe larger untrained modelYou have the memory for a larger modelyesyesno

Serve Decisio v3 has its accuracy, its repositories for each machine and what the two flavors change.

Model--base
Decisio v3, calibratedtachara-ai/Decisio-12b-tuned-v3-calibrated
Decisio v3, committachara-ai/Decisio-12b-tuned-v3-commit
Gemma 4 12Bgemma-4-12b
Gemma 4 31Bgemma-4-31b

On a Mac, add --backend mlx and name an MLX build: tachara-ai/Decisio-12b-tuned-v3-mlx8-calibrated or -mlx8-commit for Decisio v3, and the untrained models as in On a Mac. On Ollama, aminroudaki/decisio-v3 is Decisio v3 and aminroudaki/decisio-gemma the untrained 12B. Choosing a model has every setting.

Install the decisio skills to have Claude Code or Codex prepare your setup, request or backend integration. Choose the workflow for your task and include your hardware or endpoint in the prompt.

  • A request the server cannot read gets status 422, with a detail that names what is wrong.
  • The model field does not choose a model: a server serves the one model it was started with.
  • Tasks and certificates belong to one model and setting: teach and certify again after you switch.
  • --images on is the picture switch for the Gemma models; Ask about images shows a request. Decisio v3 was trained on text, and how well it reads pictures is not measured.
  • The words used here are defined in the glossary.