Skip to main content

decido

Ask questions about a document or an image and get a probability for every answer. Open models that run on your own machine.

Give Decido some text (a support ticket, an email, a web page, a JSON record) and a few questions. It answers each one with probabilities, for example refund: yes 0.985 / no 0.015. The Decido models run locally, so your data stays on your machine and you need no API key.

Install

pip install decido-ai

Mac (Apple Silicon), Linux and Windows, Python 3.9+. Nothing to compile. GPU, image, MCP and browser-agent features need Python 3.10+ (browser agent: 3.11+).

Quick start

from decido import Decido

m = Decido("decido-ai/decido-1-fast-1.7b")      # downloads the model once (about 2 GB)

print(m.decide(
    "Customer: I was charged twice for order 4821. Please refund one of the charges today.",
    {
        "refund":  "Is the customer asking for a refund?",
        "team":    {"q": "Which team should handle this?", "options": ["billing", "shipping", "tech"]},
        "urgency": {"q": "How urgent is it?", "scale": ["low", "normal", "urgent"]},
    },
))
# {'refund': {'yes': 0.985, 'no': 0.015},
#  'team': {'billing': 0.936, 'shipping': 0.038, 'tech': 0.026},
#  'urgency': {'low': 0.246, 'normal': 0.434, 'urgent': 0.32}}

Three kinds of question:

you write you get
"Is it a refund request?" yes / no
{"q": "Which team?", "options": ["billing", "shipping"]} one of the options
{"q": "How urgent?", "scale": ["low", "normal", "urgent"]} a point on an ordered scale

Options can have descriptions: "options": {"billing": "charges and refunds", "shipping": "delivery"}. Text inside the document is treated as data: Decido does not follow instructions written in it. Documents can be up to about 16,000 tokens (set DECIDO_N_CTX for more).

Which model?

you want model runs on
text, start here decido-1-fast-1.7b any laptop (8 GB RAM)
text, best accuracy for everyday use decido-1-26b-a4b laptop with 32 GB+ RAM, or an NVIDIA GPU with 64 GB+
images (photos, documents, screenshots, video frames) decido-vision-1-fast Linux + NVIDIA GPU (16 GB+)
a browser agent decido-web-v2 Linux + NVIDIA GPU (80 GB)
to try it without downloading hosted:decido-1-fast anywhere (free key)

All text models. Accuracy = average over 6 public decision benchmarks (TypeSafe's Jev 1.13, a commercial decision API, scores 83.9 on the same benchmarks). Speed: Apple M4 Pro, 1-page document, 5 questions, Mac GPU (the default on Macs).

model accuracy speed runs on
decido-1-ultra-0.6b 62.2 0.13 s any laptop (4 GB RAM)
decido-1-fast-1.7b 73.0 0.30 s any laptop (8 GB RAM)
decido-1-26b-a4b 85.4 1.1 s 32 GB+ RAM, or NVIDIA GPU 64 GB+
decido-1-think-26b-a4b 88.7 ~10 s per question 32 GB+ RAM, or NVIDIA GPU
decido-1-max-26b-a4b 89.2 ~11 s per question 32 GB+ RAM
decido-1-xl 87.3 GPU only 4× A100 80 GB (research)

CPU-only speeds: Ultra 0.41 s, Fast 0.64 s, Decido-1 4.1 s. Think and Max reason before answering, hence the time per question. Run decido models to see every model in your terminal; test details are on each model card.

Command line

decido run decido-ai/decido-1-fast-1.7b "Customer: charged twice, refund please" \
    -q refund="Is this a refund request?" -q team="Which team?|billing,shipping,tech"

decido pull decido-ai/decido-1-fast-1.7b      # download now, then it works offline
decido doctor                                 # check that this machine is set up

Run it as a server

pip install "decido-ai[server]"
decido serve decido-ai/decido-1-fast-1.7b --port 8080

This starts an HTTP API at http://127.0.0.1:8080/v1/systemone. It uses the same request format as Jev, so Jev clients work once you point them at this URL (in Python, m.predict(request) takes the same format). By default it only accepts connections from your own machine. To share it: set DECIDO_SERVER_KEY=<a secret>, start it with --host 0.0.0.0, and have clients send Authorization: Bearer <secret>.

Hosted API (try it without downloading)

from decido import Decido

m = Decido("hosted:decido-1-fast")      # get a free key at https://getdecido.ai/playground, then: export DECIDO_API_KEY=dk_...
print(m.decide("Customer: I was charged twice for order 4821. Please refund one of the charges today.",
               {"refund": "Is the customer asking for a refund?"}))

The free key is for trying Decido: Decido-1-Fast only, short documents, a small daily limit (current limits: getdecido.ai/api). For real use, run the model yourself.

Use it from Claude Desktop or Cursor (MCP)

pip install "decido-ai[mcp]"                  # Python 3.10+
decido pull decido-ai/decido-1-fast-1.7b
which decido                                  # Windows: where decido. Copy this path into the config below

Add this to Claude Desktop (Settings → Developer → Edit Config) or Cursor (~/.cursor/mcp.json):

{"mcpServers": {"decido": {"command": "/path/to/decido", "args": ["mcp", "--model", "decido-ai/decido-1-fast-1.7b"]}}}

The assistant gets one tool, decide(document, questions).

Images

Ask the same kinds of questions about photos, scanned documents, receipts, charts, screenshots or video frames. Needs Linux, an NVIDIA GPU and Python 3.10+.

model Decido Vision Bench: test (group mean) · new items (% right) runs on
decido-vision-v2 85.2 · 90.4 2 NVIDIA GPUs with 80 GB (export DECIDO_TP=2)
decido-vision-1-fast 81.8 · 89.5 1 NVIDIA GPU with 16 GB+

Jev 1.14 scores 84.4 · 86.7 on the same tests. Overall the models are about equal to Jev: better on documents, counting and image quality, worse on perception puzzles and fall detection (details on the model cards).

# pip install "decido-ai[vllm]"
from decido import Decido

m = Decido("decido-ai/decido-vision-1-fast")
print(m.decide({"claim": "the tire is flat", "photo": "IMG_1"},
               {"flat": "Is the tire in IMG_1 flat?"},
               assets={"IMG_1": "car.jpg"}))       # a file path, bytes or a PIL image
  • Give each image a name and mention it in the document or the question (here IMG_1); up to 16 images per request.
  • Video: send a few frames as separate named images.
  • Requests without images go to the text model Decido-1. It is downloaded on the first such request (27 GB) and runs on a GPU with enough free memory, else on the CPU. To choose: Decido("decido-ai/decido-vision-1-fast", text_model="decido-ai/decido-1-fast-1.7b", text_device="cuda:1") (server: --text-model, --text-device).

Browser agents

Models that drive a web browser: at each step they choose what to click or type. They need an NVIDIA GPU.

model real websites (tasks finished) Mind2Web (steps right) time per step
decido-web-v2 79.5% 78% 0.5 s
decido-web-v2-fast 67.5% 75% 0.2 s
decido-web-v2 + Claude (decido agent) 89% – –

On the same tests Jev 1.14 scores 70% and 60%, and Claude Opus 5.5 alone finishes 89% of the real-website tasks. Older model: decido-1-web-26b-a4b (v1).

Run the browser agent (decido-web-v2 decides each step; Claude takes the hard ones). One command on a Linux machine with an NVIDIA GPU (80 GB), Chrome and Python 3.11+:

pip install "decido-ai[agent,vllm]"
export ANTHROPIC_API_KEY=sk-ant-...
decido agent run "Find the cheapest 1 m USB-C cable and open its page" --start https://www.example-shop.com

Chrome on another machine (e.g. your laptop): on the GPU machine run decido agent serve --engine vllm --host 0.0.0.0 with DECIDO_SERVER_KEY=<a secret> set; on the laptop pip install "decido-ai[agent]", set the same DECIDO_SERVER_KEY and add --endpoint http://<gpu-machine>:8090 to decido agent run.

Chrome opens and the agent does the task (--headless hides the window). Claude handles most steps in this setup, so expect Claude costs similar to using Claude alone; what you gain is more tasks finished (61% vs 37% for Claude alone on our hardest test, where the v2 + Claude setup also had a larger step and time budget).

Without Claude: add --no-claude to decido agent run (or to decido agent serve). The agent then needs a small text model for what it types: run any OpenAI-compatible server (e.g. Qwen3-4B-Instruct-2507 on vLLM) and add --text-url http://<host>:<port>/v1 --text-model <model name> to decido agent run. Details on the decido-web-v2 model card.

GPU and other platforms

  • Mac (Apple Silicon): uses the Mac GPU automatically.
  • NVIDIA GPU: pip install "decido-ai[gpu]" (Python 3.10+), then Decido(model, device="cuda"). Faster with vLLM: pip install "decido-ai[vllm]" and Decido(model, engine="vllm") (Linux).
  • Intel Mac and less common Linux CPUs: the first run compiles the runtime once (a few minutes; needs a C++ compiler).
  • Windows on ARM: use WSL2.

Settings

environment variable what it does
HF_HOME where models are downloaded
DECIDO_THREADS number of CPU threads
DECIDO_N_CTX longest document + question, in tokens (default 16,384)
DECIDO_TP number of GPUs to split a model over (vLLM; e.g. 2 for decido-vision-v2)
DECIDO_TEXT_MODEL, DECIDO_TEXT_DEVICE vision models: which text model answers requests without images, and where it runs (auto, cpu, cuda:1)
DECIDO_SERVER_KEY secret required by decido serve / decido agent serve, and sent by decido agent run
DECIDO_API_KEY your key for the hosted API. Note: decido serve also uses it as its secret if DECIDO_SERVER_KEY is not set (until 2.0); unset it when you serve locally without a key
DECIDO_BASE_URL point hosted: models at your own decido serve
ANTHROPIC_API_KEY Claude key for decido agent serve (or ANTHROPIC_VERTEX_PROJECT_ID for Claude on Vertex AI)

License

Apache-2.0. Includes llama.cpp (MIT) and an agent loop based on Browser Use's jev-ultrafast (MIT). Each model's license is on its model card.

Metadata

Release files for decido-ai 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for decido-ai 1.4.2
File Size Uploaded Provenance Actions
decido_ai-1.4.2.tar.gz 152.1 kB Without provenance Details for decido_ai-1.4.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for decido-ai 1.4.2
File Actions
decido_ai-1.4.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for decido_ai-1.4.2-py3-none-win_amd64.whl
decido_ai-1.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for decido_ai-1.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
decido_ai-1.4.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for decido_ai-1.4.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
decido_ai-1.4.2-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for decido_ai-1.4.2-py3-none-macosx_13_0_arm64.whl
decido_ai-1.4.2-py3-none-any.whl Python 3 none any Details for decido_ai-1.4.2-py3-none-any.whl

Total release size: 31.4 MB

Release files / decido_ai-1.4.2.tar.gz

Download URL decido_ai-1.4.2.tar.gz
Size 152.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2e5e21d229612af1b908c4287c57e8fe2d5086261cb6815fe1ac685dabd9f19a
BLAKE2b-256 checksum
How to use checksums
abb3496a46027f72ea02fdcaed63c5e0560664ee042be8d6672ac987815740ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Release files / decido_ai-1.4.2-py3-none-win_amd64.whl

Download URL decido_ai-1.4.2-py3-none-win_amd64.whl
Size 11.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
8162fa6925609ed6df2293904f4aca52aa6292947f719dd89c553ed1d3f1aed3
BLAKE2b-256 checksum
How to use checksums
a4fa50c42b5fa94e3ef05e831a946009c1e32cef66b00102ed551590a314d0a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Release files / decido_ai-1.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL decido_ai-1.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 9.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
59495639a282c4f594ac9c1988ab6460335456811baf1e262f9d236aa751a840
BLAKE2b-256 checksum
How to use checksums
439d4000206a534766c352acc0c31b189479b0a9276884708fe45e76eb377644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Release files / decido_ai-1.4.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL decido_ai-1.4.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 5.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4701a1689a99958edd76fac075a7501e59cd0b7f96e43e6af54fc1275671c0aa
BLAKE2b-256 checksum
How to use checksums
61a812b636460bde82da50703f369e922b145980ee8388ca51f9cee69239fb6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Release files / decido_ai-1.4.2-py3-none-macosx_13_0_arm64.whl

Download URL decido_ai-1.4.2-py3-none-macosx_13_0_arm64.whl
Size 4.2 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
eb1c3b3725bd1504941861c97b91bd3eedc64684e18f726a61745cecf9211b52
BLAKE2b-256 checksum
How to use checksums
7a328fac97724381592b53916013c5bc2522d31888e058c63a4681083f0d2737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Release files / decido_ai-1.4.2-py3-none-any.whl

Download URL decido_ai-1.4.2-py3-none-any.whl
Size 172.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a448f45353e2b2abb47df852a047f2ce7a303e2a7a7da480ed3c78095ee60886
BLAKE2b-256 checksum
How to use checksums
4964dde706c75cd61fcbc2e7a2b44e5fea9ecd9060dc2c6fa92f3b2224940c1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16+meta

Security for decido-ai 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page