DocsStart
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.
- TextMy card keeps getting declined when I renew.
- QuestionWhich team should handle this ticket?
- AnswerSelected: billingbilling0.80access0.05bug0.15
- 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:
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.
1. Pick your machine
Section titled “1. Pick your machine”Choose where the model runs, then run its commands. The first start downloads the model.
GPU
python3.12 -m venv .venv && . .venv/bin/activatepip install "decisio[serve]==0.56.0"python -m decisio.serve.vllm_engine \ --base tachara-ai/Decisio-12b-tuned-v3-calibratedNeeds 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.
pip install "decisio[mlx]==0.56.0"python -m decisio.serve.vllm_engine --backend mlx \ --base tachara-ai/Decisio-12b-tuned-v3-mlx8-calibratedNeeds 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.
ollama pull aminroudaki/decisio-v3Ollama 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.
git clone --branch v0.56.0 https://github.com/aminry/decisiocd decisiouv sync --extra dev --frozenuv run python -m decisio.serve.vllm_engine --backend hf --model Qwen/Qwen3-0.6B-BaseIts probabilities are for development and do not represent the models above. CPU development explains this path.
2. Check that it is ready
Section titled “2. Check that it is ready”A decisio server listens on http://127.0.0.1:8000.
It is ready when /health answers:
curl -s http://127.0.0.1:8000/health{
"ok": true,
"base": "qwen3.6-35b-a3b"
}On Ollama, ollama list shows the model once the pull has finished.
3. Ask your first question
Section titled “3. Ask your first question”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:
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.
4. Read the answer
Section titled “4. Read the answer”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:
{ "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.
5. Choose another model
Section titled “5. Choose another model”
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.
| Model | What it is | Choose it when | GPU | Mac | Ollama |
|---|---|---|---|---|---|
| Decisio v3, calibrated, recommended | Gemma 4 12B tuned for decisions | You use the probabilities themselves: thresholds, ranking, expected values | yes | yes | yes |
| Decisio v3, commit | The same weights, with yes/no answers committed | You act on yes/no answers directly | yes | yes | no |
| Gemma 4 12B | The untrained model | You want the model as Google published it | yes | yes | yes |
| Gemma 4 31B | The larger untrained model | You have the memory for a larger model | yes | yes | no |
Serve Decisio v3 has its accuracy, its repositories for each machine and what the two flavors change.
What to pass to --base
Section titled “What to pass to --base”| Model | --base |
|---|---|
| Decisio v3, calibrated | tachara-ai/Decisio-12b-tuned-v3-calibrated |
| Decisio v3, commit | tachara-ai/Decisio-12b-tuned-v3-commit |
| Gemma 4 12B | gemma-4-12b |
| Gemma 4 31B | gemma-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.
Use a coding assistant
Section titled “Use a coding assistant”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.
Good to know
Section titled “Good to know”- A request the server cannot read gets status 422, with a
detailthat names what is wrong. - The
modelfield 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 onis 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.
What next
Section titled “What next”- Call it from your code: typed questions from Python, JavaScript, TypeScript and frameworks.
- Choose a question type: add a yes or no question or an ordered score.
- Use the probabilities: decide when to route and when to review.
- Choosing a model: every model, flavor and machine.