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 (a 27 GB download, ~30 GB RAM). For a small one: Decido("decido-ai/decido-vision-1-fast", text_model="decido-ai/decido-1-fast-1.7b").

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):

# 1. On the GPU machine (NVIDIA, 80 GB of GPU memory)
pip install "decido-ai[agent,vllm]"
export ANTHROPIC_API_KEY=sk-ant-...
export DECIDO_SERVER_KEY=<a secret>            # only needed if Chrome runs on another machine
decido agent serve --engine vllm --host 0.0.0.0

# 2. On the machine with Chrome (Python 3.11+; can be the same machine: then skip --host and the secret)
pip install "decido-ai[agent]"
export DECIDO_SERVER_KEY=<the same secret>
decido agent run "Find the cheapest 1 m USB-C cable and open its page" --start https://www.example-shop.com \
    --endpoint http://<gpu-machine>:8090

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: start the server with decido agent serve --no-claude --engine vllm. 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_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.0

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.0
File Size Uploaded Provenance Actions
decido_ai-1.4.0.tar.gz 149.3 kB Without provenance Details for decido_ai-1.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for decido-ai 1.4.0
File Actions
decido_ai-1.4.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for decido_ai-1.4.0-py3-none-win_amd64.whl
decido_ai-1.4.0-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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
decido_ai-1.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for decido_ai-1.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
decido_ai-1.4.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for decido_ai-1.4.0-py3-none-macosx_13_0_arm64.whl
decido_ai-1.4.0-py3-none-any.whl Python 3 none any Details for decido_ai-1.4.0-py3-none-any.whl

Total release size: 31.4 MB

Release files / decido_ai-1.4.0.tar.gz

Download URL decido_ai-1.4.0.tar.gz
Size 149.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8dfb3b6ae255cdad77480db0f2b4a936206b97b14d5cb4d291e30c6fdc85b336
BLAKE2b-256 checksum
How to use checksums
3d48f2df24ca66c0d780764f69cb80c02e7fc725d199154f5043cdc4f3733ef7
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.0-py3-none-win_amd64.whl

Download URL decido_ai-1.4.0-py3-none-win_amd64.whl
Size 11.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
14dac6a9144d0ccb9e9cf54b4698cea31b7f57d20bacebaddca1dad8a02e6c7f
BLAKE2b-256 checksum
How to use checksums
348acda5c6ee29e4b6eead8615c894bef1eb523a281b006b056e5ad32a90cb32
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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL decido_ai-1.4.0-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
3c338b8b72f7770eef4a9bd45a47ecd8d10c8fea60fc5ee5ea95e98901b22a85
BLAKE2b-256 checksum
How to use checksums
22f53c1706c4610628a85a91ffc87156c7073d63eda44b09e4ea307ff138af2d
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.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL decido_ai-1.4.0-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
ed6cbe27e60caedb5329a937d13a553158abbf076e8b5255926a1540d70615c5
BLAKE2b-256 checksum
How to use checksums
1d85197591fc7a1ce7d5565bc4dabb58d06d5720eb9320bb76bb600d88dc49d3
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.0-py3-none-macosx_13_0_arm64.whl

Download URL decido_ai-1.4.0-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
47fa2e2b0d19519765d21f5506253da5484e39d1e66c86250156a7d639adec61
BLAKE2b-256 checksum
How to use checksums
94cc55815fe21edef74de3aa315d86e72a9a9e4be7431ccf4c164458ea8818e9
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.0-py3-none-any.whl

Download URL decido_ai-1.4.0-py3-none-any.whl
Size 169.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23291b85c3aac974cfa556432082097da228c4a51cfcc379e789043f9b5c4ff5
BLAKE2b-256 checksum
How to use checksums
291c8ff8077311422cbb88686677cfbd06b47d9e27c0513f8ed69c3c947e104b
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.0

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