Instructions to use decido-ai/decido-web-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use decido-ai/decido-web-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="decido-ai/decido-web-v2") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("decido-ai/decido-web-v2") model = AutoModelForMultimodalLM.from_pretrained("decido-ai/decido-web-v2", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use decido-ai/decido-web-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "decido-ai/decido-web-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/decido-ai/decido-web-v2
- SGLang
How to use decido-ai/decido-web-v2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "decido-ai/decido-web-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "decido-ai/decido-web-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use decido-ai/decido-web-v2 with Docker Model Runner:
docker model run hf.co/decido-ai/decido-web-v2
Decido-Web v2 (26B-A4B)
The decision model for browser agents. At every step of a web task, a browser agent has to decide what to do next:
which operation (click, type, select, scroll, wait, done, blocked) and on which element. Decido-Web v2 answers those
questions with a calibrated probability for every option. It speaks the Jev / TypeSafe "System One" request format
(POST /v1/systemone) used by the open-source Jev Ultrafast agent. The
decido-ai package bundles that agent: decido agent runs it in Chrome with this model (see "Run it in a browser").
It is Gemma-4-26B-A4B (26B parameters, ~4B active per token) with a LoRA fine-tune merged in, trained from Decido-1 web on the agent's own rollouts, so it also learned when to stop (DONE), when to WAIT, and how to get out of loops. A faster student is Decido-Web v2-Fast (Qwen3-4B, 0.2 s per step).
Runs on an NVIDIA GPU (bf16 weights, 52 GB; one A100/H100 80 GB). There is no laptop/CPU (GGUF) build of this model yet.
Results at a glance
| test | Decido-Web v2 (model alone) | v2 + Claude Opus 5.5 (decido agentΒΉ) |
Claude Opus 5.5 alone | Jev 1.14 |
|---|---|---|---|---|
| Public websites, 100 short tasks Γ 2 runs | 81.0% (re-run: 79.5%) | 89.0% | 89.0% | 70.0% |
| Self-hosted WebArena sites, 300 fresh tasks Γ 2 runs | 11.0% | 61.2% | 37.0% | not run |
| Mind2Web, 1,500 human steps (right operation + element) | 78.2% | β | β | 59.9% |
| Time per decision (1Γ A100, single request, p50) | 525 ms | ~2.7 s | ~2.0 s | ~80 ms (hosted API) |
ΒΉ "v2 + Claude" is not this model alone. It is an agent in which Decido-Web v2 makes the routine decisions and hands
hard steps to Claude Opus 5.5 (plus a notes/plan memory and a 60-action budget). It needs a Claude API key and ships in the
decido-ai package (β₯ 1.3.0) as decido agent (see "Run it in a browser" below); no Claude outputs are in this repository.
Both numbers are shown: the model on its own, and the model inside the larger agent.
Use it
pip install "decido-ai[gpu]>=1.2.0" # NVIDIA GPU, Python β₯ 3.10 (adds torch + transformers)
# faster serving: pip install "decido-ai[vllm]>=1.2.0"
As a server for a browser agent (Jev-compatible API):
decido serve decido-ai/decido-web-v2 --device cuda --port 8080 # POST /v1/systemone, GET /health
decido serve decido-ai/decido-web-v2 --device cuda --engine vllm --port 8080 # same, with vLLM (what we measured)
Any client of the Jev API can use this endpoint. (Jev Ultrafast itself has the TypeSafe URL hard-coded; decido agent run,
below, runs it against your server for you.)
Engines. --engine vllm is the fast path (the latencies on this card). The default transformers engine (pip install "decido-ai[gpu]") gives nearly the same answers but is slower: on a mixed set of 150 agent requests (many with long pages), about 0.9 s per step with vLLM and 2.6 s with the default engine (1Γ A100). Both were checked from a fresh pip install (same choice as the evaluated model on β₯ 98.8% of questions).
From Python (one agent step; example_request.json is in this repo):
import json
from decido import Decido
m = Decido("decido-ai/decido-web-v2", device="cuda")
out = m.predict(json.load(open("example_request.json")))
print(out["answers"]["operation"]) # {"type": "choice", "choice": "CLICK", "probabilities": {...}, "confidence": ...}
print(out["answers"]["click_target"]) # which element to click, with a probability per element
Run it in a browser
Full browser agent (v2 + Claude). The configuration measured as "v2 + Claude" above, with the same settings:
pip install "decido-ai[agent,vllm]>=1.3.0" && export ANTHROPIC_API_KEY=sk-ant-...
decido agent serve # GPU box: this model + Claude escalation + text helper on :8090
decido agent run "Find the cheapest 1 m USB-C cable and open its page" --start https://www.example-shop.com \
--endpoint http://127.0.0.1:8090 # machine with Chrome, Python β₯ 3.11; --headless for no window
About 80% of steps go to Claude in this configuration, so Claude usage is close to Claude alone; the gain is accuracy.
Model alone (no Claude). The setup measured as "model alone" above. The agent also needs a small text model to write what it types (search terms, form values); we used Qwen3-4B-Instruct-2507:
pip install "decido-ai[agent,vllm]>=1.3.0"
vllm serve Qwen/Qwen3-4B-Instruct-2507 --port 8092 & # text helper (any OpenAI-compatible model works)
decido agent serve --no-claude # this model only, on :8090
decido agent run "Find the Wikipedia article on Alan Turing" --start https://en.wikipedia.org \
--text-url http://127.0.0.1:8092/v1 --text-model Qwen/Qwen3-4B-Instruct-2507
Request format. state holds the current page (url, title, visible text), the interactive elements (index,
role, label, current value, allowed operations) and recent_actions; questions holds choice questions such as
operation (CLICK / TYPE / SELECT / SCROLL_DOWN / WAIT / DONE / BLOCKED, as offered by the agent) and the target question
for each operation (click_target, type_target, β¦). Every answer has choice, probabilities (sum to 1) and
confidence. Page text is treated as untrusted data (instructions inside a page are not followed).
Long pages. The model reads up to 32,768 tokens per request. Longer pages are cut at the end (the beginning of the page
and all questions are kept) instead of returning an error; this is set in decido.json and needs decido-ai β₯ 1.2.0.
All results
1. Real public websites (100 tasks Γ 2 runs)
Live tasks on public reference and developer sites (Wikipedia, Wiktionary, GitHub, Hacker News, Python / Go / Node.js / React / Rust / Django / NumPy / Flask docs, MDN, crates.io, Project Gutenberg, Open Library, Lichess), mostly short navigation and search tasks, run with the Jev Ultrafast agent and headless Chrome on a laptop; the same 100 tasks, harness and checker (final-page check) for every system.
| system | tasks finished (of 200 runs) | rate | decision time p50 |
|---|---|---|---|
Decido-Web v2 + Claude Opus 5.5 (decido agentΒΉ) |
178 | 89.0% | 2,682 ms |
| Claude Opus 5.5 alone | 178 | 89.0% | 2,025 ms |
| Decido-Web v2 (model alone) | 162 | 81.0% | 329 ms |
| Decido-Web v2, repeat run on another day | 159 | 79.5% | 460 ms |
| Decido-Web v2 Fast+ (v2-Fast, escalates to v2 when unsure) | 156 | 78.0% | 303 ms |
| Decido-1 web v1 system (previous version + hand-written rules) | 145 | 72.5% | 762 ms |
| Jev 1.14 (TypeSafe API) | 140 | 70.0% | 82 ms |
| Decido-Web v2-Fast (model alone) | 135 | 67.5% | 175 ms |
v2 vs Jev 1.14: +11.0 points. v2 + Claude vs Claude alone: Β±0.0 (95% CI β2.0 to +2.0). The two v2 runs differ by 1.5 points, which is normal run-to-run variation for live websites. 7 tasks fail for every system, including Claude, because the site blocks automated browsers (best possible β 186/200).
2. Self-hosted WebArena sites (pre-registered test: 300 fresh tasks Γ 2 runs)
Locally hosted copies of an online shop, its admin panel, a forum, GitLab and Wikipedia; 150 WebArena-Verified tasks + 150 new tasks, fixed before any system was run, scored by programmatic checkers. These tasks are long and much harder.
| system | finished (of 600) | rate |
|---|---|---|
Decido-Web v2 + Claude Opus 5.5 (decido agentΒΉ) |
367 | 61.2% |
| Claude Opus 5.5 alone | 222 | 37.0% |
| Decido-Web v2 + Claude, earlier simple hybrid | 144 | 24.0% |
| Decido-Web v2 (model alone) | 66 | 11.0% |
| Decido-Web v2-Fast (model alone) | 52 | 8.7% |
| Decido-1 web v1 system | 44 | 7.3% |
Paired 95% CIs: v2 + Claude vs Claude alone +24.2 (+19.2 to +29.3); v2 alone vs v1 system +3.7 (+0.3 to +7.0). Jev was not run on this test (no API access from the test machine).
3. Mind2Web offline (1,500 recorded human steps)
Steps recorded by people on real websites (Multimodal-Mind2Web test sets, 500 steps each from cross-task, cross-website and cross-domain), replayed through the agent's own request builder. A step counts only if both the operation and the element match what the person did.
| model | step accuracy | element | operation |
|---|---|---|---|
| Decido-Web v2 Fast+ (cascade) | 79.4 | ||
| Decido-1 web v1 | 78.6 | 80.7 | 94.1 |
| Decido-Web v2 | 78.2 | 80.5 | 94.4 |
| Decido-Web v2-Fast | 75.2 | 77.7 | 93.3 |
| Jev 1.14 | 59.9 |
v2 vs v1: β0.4 (β1.9 to +1.1), a tie; v2 improves live task completion mainly through better stopping and recovery, which Mind2Web does not measure.
4. Speed
One A100 80 GB, vLLM, one request at a time, 200 real agent requests: p50 525 ms, p95 959 ms. Under load (15β20 agents sharing a GPU) decisions took 10 s p50.
Training
- Start: Gemma-4-26B-A4B-it + the LoRA of Decido-1 web v1 (warm start); one epoch, LoRA merged into bf16 weights.
- Data (50,346 examples): 16,903 decisions from the agent's own runs on locally hosted training sites, labelled by the task checkers and hindsight; 6,181 shortest-path decisions from crawled site graphs; 4,144 hindsight-relabelled steps; 6,000 NNetNav-live stepsΒ²; 3,813 Mind2Web training steps; 13,305 general Decido-1 decision examples (to keep general ability). Includes explicit "is the task done?" questions so the model learns when to stop. Training tasks were written by Qwen3.8-27B.
- Not used for training: no outputs of Jev, Claude or any OpenAI model; none of the test tasks above (every training file passed an automatic leak check against all test material).
- Checkpoint selection: live pass rate on 60 separate development tasks, with a Mind2Web-dev accuracy floor.
Β² NNetNav-live (stanfordnlp, Apache-2.0) contains web trajectories generated with Llama 3.1 70B: Built with Llama
(Llama 3.1 Community License). Data sources and their licences: NOTICE.
Limits
- On its own, the model finishes most short public-web tasks but few long multi-page tasks (11% on the WebArena test). The public-web test covers reference and developer sites, not shopping checkouts, logins or travel booking. Main failure modes: stopping too early (DONE while something is still missing), loops, and running out of steps.
- Live-web numbers come from 100 tasks Γ 2 runs and vary by about Β±1.5 points between runs.
- English pages only were tested. Pages longer than 32k tokens are cut.
- GPU only (52 GB bf16). No CPU or Apple Silicon build yet.
- It picks among the options the agent offers; it does not write text to type (the agent's text helper does that).
Files
model-*.safetensors (bf16, 11 shards) Β· config.json, tokenizer and processor files Β· bundle/ (prompt template,
tokenizer, calibration temperatures inherited from Decido-1) Β· decido.json (manifest read by decido-ai) Β·
example_request.json Β· LICENSE Β· NOTICE Β· SHA256SUMS.
- Downloads last month
- 21