Repository navigation
Description
Why
Beveridge is an Apache-2.0 family of open-weight System One decision models (released October 2026, paper dated on arXiv as 2611.18655). A request is a document plus named typed questions (choice / noul / score); the response is a probability distribution per question, with no generated text.
- Paper: https://arxiv.org/abs/2611.18655
- Site: https://bev.sjothi.com/
- Weights: Beveridge-Large-C (0.4B, ModernBERT-large, laptop CPU or any GPU), Beveridge-Pro-C (Gemma 4 26B-A4B, ~60 GB GPU), Beveridge-Pro-C-Web (same Pro backbone, further trained for the next step of a browser agent)
- Package (Apache-2.0, PyPI v0.2.5 in the paper): https://pypi.org/project/bev-decisions / https://github.com/sathiskumarjothi0-oss/bev-decisions-pypi
Large-C is in the same niche as in-process Laya (a small encoder that can run on a laptop) and is a natural fit for ticket_router. The authors also emphasise calibrated probabilities and a bev.gate(..., threshold=...) helper for handing over only the confident answers; that is related to #94 but this issue is the adapter, not deferral. Pro-C-Web is trained on generated web steps and, in the paper, is plugged into the jev-ultrafast decision interface (operation + target questions over a JSON page description). Large-C is text-only (no images, 4,096-token context, English). Do not assume screenshot input.
The HTTP server is close to, but not, the System One path we already speak:
pip install "bev-decisions[serve]"
bev serve --model sathiskumarjothi0/Beveridge-Large-C --port 8000
# POST /v1/decide body: {"state": ..., "questions": {...}} or {"state": ..., "preset": "ticket_triage"}
# GET /health, /v1/presetsIt binds 127.0.0.1 and has no auth of its own. There is no /v1/systemone, so this cannot ride --model jev with TYPESAFE_API_URL. In-process use is pip install bev-decisions and bev.load() (default Large-C) or bev.load(bev.PRO_MODEL) / the Web checkpoint.
This is not a substitute for the open issues that add or qualify other backends:
- Laya is already an in-process encoder (
--model laya) - [Feat] Add Cloudflare Clef / Clef-flash as a System One decision backend #126 / [Feat] Add Cloudflare Clef / Clef-flash as a served System One backend #131 add Clef / Clef-flash
- [Feat] Add Fastino GLiDE as a served System One decision backend #129 / [Feat] Add Fastino GLiDE as a served System One decision backend #133 add served Fastino GLiDE
- [Eval] Qualify Karpo Decision 27B Act on the existing System One browser path #130 qualifies Karpo Decision 27B Act on the existing System One browser path
- [Eval] Qualify Kev (kev-0.6b-browser-use and Kev-4B) as an open browser decision model through the existing System One path #108 qualifies Kev
- [Feat] Confidence-gated deferral: hand low-confidence browser steps to the chat model and measure the trade-off #94 is confidence-gated deferral, not a new backend
Do not copy Beveridge's Beveridge-Bench / automation-rate / web-navigation percentages into our docs as Agents results. Those are their runs, on their harness.
Proposed work
- Add
--model beveridgeas a dedicated adapter (same shape aslaya/clef/glide):- In-process default:
bev.load()of Beveridge-Large-C when no server URL is set. ABEV_MODEL(or equivalent) selects Large-C, Pro-C, or Pro-C-Web. This path should work on CPU for Large-C afteruv syncof a documented extra; do not vendor weights. - Served path:
BEV_URL(e.g.http://127.0.0.1:8000) wins when set, and posts to/v1/decide(not/v1/systemone). Optional key only if we later sit it behind a gateway; the upstream server has none.
- In-process default:
- Map our
Observation.state+ namedChoiceQuestion/NoulQuestiononto theirstate+questions(type,instructions,criteria). Fail closed onscore(we have noScoreQuestion), on more than 15 questions in onedecide_many(their documented cap), and on a missing or malformedanswersobject. Do not invent a screenshot /imagesfield the cards do not document. - Provenance on the reply (
raw): which checkpoint or served URL was used, in-process vs served, and the model name the package or server echoes, not only the name we sent. - Contract tests against a stub
/v1/decideserver and, if in-process is in this PR, against a fakebev.loadso CI never downloads weights or needs a GPU. Register the name on the same fronts as the other text backends (decide, tool, rails, MCP, browser text path). - Docs and CHANGELOG: how to run Large-C locally, how to point at
bev serve, the 15-question and 4,096-token limits, that Large-C has no images, and that Pro-C-Web is a text/JSON page-action checkpoint rather than a screenshot model. A live qualification run is not required to land the adapter (same split as [Feat] Add Fastino GLiDE as a served System One decision backend #129).
Acceptance criteria
-
--model beveridgeis selectable and fails closed when neither the package/weights norBEV_URLcan be used. - Offline stub tests cover choice and noul, the 15-question cap, a missing
answersobject, and the in-process vs served env selection. CI does not call Hugging Face or a GPU. - CHANGELOG and
docs/decision-models.md/ configuration describe the real request path (/v1/decideorbev.load()), checkpoints, and limits. - Their benchmark percentages are not copied as Agents results.
Out of scope
- A live qualification suite on ticket_router or Allrecipes (follow-up once the adapter is wired; record command, SHA, checkpoint, device, date).
- Implementing [Feat] Confidence-gated deferral: hand low-confidence browser steps to the chat model and measure the trade-off #94 deferral, even though
bev.gateis a useful reference for a later measurement. - Image / video input, or adopting Beveridge's MCP server (
bev mcp) as a replacement fors1a-mcp. - Training or fine-tuning Beveridge.
References
- Paper: https://arxiv.org/abs/2611.18655
- Site: https://bev.sjothi.com/
- Package: https://pypi.org/project/bev-decisions/ and https://github.com/sathiskumarjothi0-oss/bev-decisions-pypi
- Weights: https://huggingface.co/sathiskumarjothi0/Beveridge-Large-C, https://huggingface.co/sathiskumarjothi0/Beveridge-Pro-C, https://huggingface.co/sathiskumarjothi0/Beveridge-Pro-C-Web
- Related repo issues: [Feat] Add Cloudflare Clef / Clef-flash as a System One decision backend #126, [Feat] Add Fastino GLiDE as a served System One decision backend #129, [Eval] Qualify Karpo Decision 27B Act on the existing System One browser path #130, [Eval] Qualify Kev (kev-0.6b-browser-use and Kev-4B) as an open browser decision model through the existing System One path #108, [Feat] Confidence-gated deferral: hand low-confidence browser steps to the chat model and measure the trade-off #94
Activity