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.

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). To use only the model, without Claude: decido serve decido-ai/decido-web-v2 --device cuda --engine vllm.

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.1

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.1
File Size Uploaded Provenance Actions
decido_ai-1.3.1.tar.gz 119.2 kB Without provenance Details for decido_ai-1.3.1.tar.gz

Built distributions (wheels)

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

Total release size: 31.2 MB

Release files / decido_ai-1.3.1.tar.gz

Download URL decido_ai-1.3.1.tar.gz
Size 119.2 kB
Tags Source
SHA-256 checksum
How to use checksums
850b0149a01c0858338e61cdc245caff3bcdc20de4264b8b212aa306ba34382b
BLAKE2b-256 checksum
How to use checksums
f846966533a161a67632dff0dc02903433d1ead9f296866658263761ea2c515b
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.1-py3-none-win_amd64.whl

Download URL decido_ai-1.3.1-py3-none-win_amd64.whl
Size 11.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ea7581779275915baf1422e15abe691dceaec3aa593190fec44c41ad3d3d2172
BLAKE2b-256 checksum
How to use checksums
33b3b4a1fbc319641eac7d9fe9525fb6a2085f66831980ae0b7079a9329e6e9a
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.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL decido_ai-1.3.1-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
2c08b3bb311617ce8252647083bab7ea5e99e72da446b2c3fa16f4b78948cb3b
BLAKE2b-256 checksum
How to use checksums
8ca23461e95ec883a186857777ba94177b212b7e48bdd35f2f25464346b72e2c
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.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL decido_ai-1.3.1-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
d199a468f60af04ad32d675e7e3d4932388b7e336889e5a76fd282d44be65b88
BLAKE2b-256 checksum
How to use checksums
a6015a87521a61dc49d7418cfe21e88d70622ac8a18293e2e0d018aaf8dc35ae
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.1-py3-none-macosx_13_0_arm64.whl

Download URL decido_ai-1.3.1-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
c81c3403e9805ea5a2462fcb1ffb513fb2d7190bb6efdede800effe198880e38
BLAKE2b-256 checksum
How to use checksums
a5ba3aaaa41d181fda168fc8d6f0a9448afc1141d2809dbf86255b19e39fe9ec
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.1-py3-none-any.whl

Download URL decido_ai-1.3.1-py3-none-any.whl
Size 136.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73aec8bc717d28bd2381be54a80c22abdf74408a9f11bbbb11cd643572789ec6
BLAKE2b-256 checksum
How to use checksums
959b008ae5b2a149e3c51f71c70ec6d0c3c8dd005ad8f620ba8211c272df597e
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.1

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