Skip to main content

decido

Ask questions about a document and get a probability for every answer. Runs on your laptop.

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.99 / no 0.01. It runs the open Decido models locally, so your data stays on your machine and you need no API key.

Install

pip install decido-ai

Works on Mac (Apple Silicon), Linux and Windows with Python 3.9 or newer. Nothing to compile.

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.99, 'no': 0.01},
#  'team': {'billing': 0.94, 'shipping': 0.03, 'tech': 0.03},
#  'urgency': {'low': 0.24, 'normal': 0.44, 'urgent': 0.32}}

There are 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.

Pick a model

model best for needs
decido-1-fast-1.7b start here: fast and good any laptop (8 GB RAM)
decido-1-ultra-0.6b fastest, simple questions any laptop (4 GB RAM)
decido-1-26b-a4b high accuracy laptop with 32 GB+ RAM, or a GPU
decido-1-max-26b-a4b highest accuracy (thinks first, slow) laptop with 32 GB+ RAM
decido-1-think-26b-a4b hard questions (thinks first, slow) GPU, or laptop with 32 GB+ RAM
decido-1-xl research 4× A100 80 GB

Speed on a MacBook (M4 Pro, 1-page document, 5 questions): Ultra 0.13 s, Fast 0.3 s, Decido-1 1.1 s. Accuracy, calibration and test details are on each model card. Run decido models to see the list in your terminal.

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

decido serve decido-ai/decido-1-fast-1.7b --port 8080

This gives you an HTTP API at http://127.0.0.1:8080/v1/systemone in the same format as TypeSafe's Jev API, so Jev clients work unchanged (in Python, m.predict(request) takes the same request format). It only listens on your own machine. To open it to others, set DECIDO_SERVER_KEY and send Authorization: Bearer <key>.

Hosted API (try 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 out: it has a small daily limit and short documents only. For real use, run the model yourself.

Use it from Claude Desktop or Cursor (MCP)

pip install "decido-ai[mcp]"
decido pull decido-ai/decido-1-fast-1.7b
which 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).

Browser agents

Decido also has 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 done) Mind2Web (steps right) time per step
decido-web-v2 81% 78% 0.5 s
decido-web-v2-fast 68% 75% 0.2 s
decido-web-v2 + Claude (decido agent) 89%

For comparison, Jev 1.14 scores 70% and 60% on the same tests, and Claude Opus 5.5 alone finishes 89% of the real-website tasks.

Run the full browser agent (decido-web-v2, with Claude stepping in on hard steps):

# On a machine with an NVIDIA GPU (about 80 GB of GPU memory)
pip install "decido-ai[agent,vllm]"
export ANTHROPIC_API_KEY=sk-ant-...
decido agent serve

# On any machine with Chrome (Python 3.11+); it can be the same machine
pip install "decido-ai[agent]"
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. Add --headless to hide the window. Claude handles most steps in this setup, so expect Claude costs similar to using Claude alone. The benefit is more tasks finished (61% vs 37% for Claude alone on our hardest test).

Without Claude: start the server with decido agent serve --no-claude. The agent then needs a small text model to write what it types: add --text-url (any OpenAI-compatible server, e.g. Qwen3-4B-Instruct-2507 on vLLM) 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]", then Decido(model, device="cuda").
  • 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_SERVER_KEY key required by decido serve and decido agent serve
DECIDO_API_KEY your key for the hosted API
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.3.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.3.2
File Size Uploaded Provenance Actions
decido_ai-1.3.2.tar.gz 119.5 kB Without provenance Details for decido_ai-1.3.2.tar.gz

Built distributions (wheels)

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

Total release size: 31.2 MB

Release files / decido_ai-1.3.2.tar.gz

Download URL decido_ai-1.3.2.tar.gz
Size 119.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fe63c44dc826217c6c126bb11bc618f646f5e739c33893f6a3fb3b92eaa1b142
BLAKE2b-256 checksum
How to use checksums
d061c6b37d025cfab2b3b7ea7b49f96df1467c7b8869d0f89a96949b089590c0
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.3.2-py3-none-win_amd64.whl

Download URL decido_ai-1.3.2-py3-none-win_amd64.whl
Size 11.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
cd20b1c277eeaff34969fe1dfdd31606624da21a7094e70e0c8a8481ae206125
BLAKE2b-256 checksum
How to use checksums
6ca2c30a02c04962b1b03484a68e2f40bb9084673df495a4df6db1e08653b3d9
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.3.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL decido_ai-1.3.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 9.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ad413153c2e1168fb95477903ea6c5cd0e4e01f848a65cc42aac9bb035820f0f
BLAKE2b-256 checksum
How to use checksums
8ea2deedcb5cc8d7bd34ea36e5572b547967e1216d8f52e2f893ee585ca76d62
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.3.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL decido_ai-1.3.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
b4531c79f157b17b3de859e238c3430c34ee9618a405605a451cca4a014b4ffc
BLAKE2b-256 checksum
How to use checksums
925f57cb9723cb1cc449a6782cfe29a78df26bf33c4ba2ee49b20be4f0868c4b
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.3.2-py3-none-macosx_13_0_arm64.whl

Download URL decido_ai-1.3.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
e053ddd83eeb716e4fb70e11ebae355485e8f592e464ad4e6ea7dde582464332
BLAKE2b-256 checksum
How to use checksums
edb48f62498ed193769a137ad51cea706aa64df668495d8de0cc275180adcad5
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.3.2-py3-none-any.whl

Download URL decido_ai-1.3.2-py3-none-any.whl
Size 136.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3b8907f5eae35f320afc585bce233b5548bf5842b1a24aa2458856c88b4937e
BLAKE2b-256 checksum
How to use checksums
9ffa0ca7eeb685dd782f3d237251d7631c1ea76a4cb450415b9db26c5ec4820d
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.3.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