2026-11-26 15:39 UTC

Russinovich releases Venn, a research-preview decision layer for embeddings and outcome data

state: seedheat: mediumuncertainty: mediumrelevance: highdecision-models embeddings agent-routingMark Russinovich

What is this?

Mark Russinovich’s Venn is a research-preview, open-source system for making typed decisions—such as choosing a category, assigning a score, or answering yes/no—over vectors and text. Its project documentation says it can reuse an existing vector store of past cases and outcomes, or train small decision heads while keeping the embedding reader frozen; it exposes these approaches through a common API. The project page provides installation steps, examples and stated limitations. The supplied sources identify Russinovich as the project’s author; a web result describes him as Microsoft Azure CTO, but the evidence here does not establish that Venn is a Microsoft product. The project’s performance figures are self-reported, not independently verified in the supplied evidence.

Why it matters

Venn explores a practical alternative to sending every decision to a larger generative model: reuse embeddings and accumulated outcomes, or train a small task-specific head, behind a consistent interface. If it works well in real deployments, this could make repeated routing and classification cheaper, more local and easier to adapt to an organization’s own history. Its research-preview status, task-specific probabilities and warning that “none of these” is not a reliable filter mean the examples should not be treated as proof of production readiness.

Current assessment

The project page describes Venn as available now in research-preview form, with code under MIT license; the EmbeddingGemma 2 reader and the venn-1 head have separate terms. Users can begin with authored vectors or an outcome store without downloading a text model, or install the approximately 1.49 GB EmbeddingGemma 2 reader for text decisions. Documented options include outcome-based routing, trained choice and regression heads, collection operations, and API clients. The reader remains frozen when heads are trained, according to the project documentation. The author reports an arena test in which a 49,153-parameter compiled head averaged 8.4 kills per game over 250 games versus 6.2 for the source memory, and a support-ticket test reporting 93.6% versus 79.7% for a matched Jev 1.13 run on 3,080 public test tickets; these are project-reported results, not independent evaluations. The documentation explicitly warns that probabilities are not calibrated across tasks and that “none of these” is a signal, not a dependable filter against off-topic inputs. The meaningful development is an accessible, reusable decision layer built around existing representations and recorded outcomes; independent validation, deployment evidence and the limits of its comparisons remain open questions.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 434h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-08 13:00⭐ origin echo-reconstructedThe repository’s initial release commit is titled “Venn 0.1.0: Vector Decision Models” (Nov. 9, 2026). Its README describes Venn as “a small
Mark Russinovich on github (echo) · attributed from hn.story.50435245
—
11-10 02:13first on hacker news · published · +37.2hVector Decision Models Typed decisions over embeddings you have
shanselman
—
11-10 02:13amplified on hacker news 👑hn.story.50435245
shanselman
peak 1 · 0 comments · 103% of case engagement
11-10 02:20our radar first saw it · +37.3hdiscovery anchor: hn.story.50435245—
pace: p11 vs 1845 stories at the 336h mark (now 434h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnVector Decision Models Typed decisions over embeddings you have
Retrieved article excerpt

Open article · Retrieved 2026-11-10T02:21:34.212533+00:00

## What you can do[#](https://markrussinovich.github.io/venn-vdm/#what-you-can-do "Link to this section")

- **Route and classify.** Ask Choice, Score and Noul (yes/no) questions about
  text or vectors, with an explicit "none of these" option. Requests use the
  [Decisions API](https://docs.typesafe.ai/introduction) format, with compatibility
  checked against [these client versions](https://github.com/markrussinovich/venn-vdm/blob/main/tests/clients/README.md).
- **Decide from recorded outcomes.** Point Venn at your own vector store of past
  cases and their outcomes. It picks the option whose similar past cases went
  best, and your application writes new outcomes back. No trained head is needed.
- **Train custom heads through the same API.** Four kinds, all through
  `register_family` (or `PUT /families/{name}` over HTTP):
- a linear Choice head (`form="linear"`), a multinomial logistic regression on
  your labeled vectors and the best default for plain classification;
- the residual Choice head, which can also answer "none of these";
- a numeric head (`objective="regress"`) that predicts a score with an 80%
  interval, from examples or a store's outcomes;
- a head compiled from an outcome store that answers `nearest_outcome` without
  a lookup.

Choice heads train on every supplied example by default; an explicit split
reserves selection and report rows. They choose their settings by
cross-validation, grouped by `group_id` when related examples must stay
together. Each fits in seconds to minutes on one machine, is saved and reloaded
with the service, and answers the same question type the rest of your code
already sends. The reader stays frozen; only the head is trained. See the
[family cookbook](https://markrussinovich.github.io/venn-vdm/cookbooks.html#fit-and-reload-a-local-family), the
[linear family cookbook](https://markrussinovich.github.io/venn-vdm/cookbooks.html#fit-a-linear-choice-family), the
[numeric family cookbook](https://markrussinovich.github.io/venn-vdm/cookbooks.html#fit-a-numeric-family) and the
[outcome API](https://markrussinovich.github.io/venn-vdm/outcome-api.html#compile-the-store-into-a-head).
- **Work on collections.** Find the nearest labeled reference, spot the
intruder in a set, test whether a population has shifted, or stream one
question over every row of an index.

A few words you will see throughout: a **reader** is the frozen embedding model; a
**profile** pins the reader, its revision and the vector format; a **head** is the
small model that turns vectors and a question into an answer; **Noul** is the
Decisions API's name for a yes/no question.

## Venn or Jev?[#](https://markrussinovich.github.io/venn-vdm/#venn-or-jev "Link to this section")

Jev evaluates the content and context supplied in a request. Venn lets your
application keep and reuse the representation behind its decisions, through
historical cases, custom predictors and collection operations. Its small local
decision layer also provides an alternative to running a larger open-source
decision model. EmbeddingGemma 2's text-only reader has about 270 million
parameters; image and audio towers are loaded only when needed.

Start with Jev when useful category descriptions and the item's content carry
the answer. Start with Venn when you have useful labeled history, need your own
predictor, or expect repeated decisions over the same embedded collection.
Read [Venn and Jev: when to use which](https://markrussinovich.github.io/venn-vdm/venn-and-jev.html) for the trade-offs,
examples and results.

[![[Download the video](https://github.com/markrussinovich/venn-vdm/releases/download/media-v1/venn-same-memory-review.mp4)](media/venn-same-memory-review-poster.jpg)](https://github.com/markrussinovich/venn-vdm/releases/download/media-v1/venn-same-memory-review.mp4)

Venn and Jev on the same questions, with the results each one reached.

[Watch the comparison](https://markrussinovich.github.io/venn-vdm/same-memory-video.html) with examples of
historical outcomes, filing conventions and custom predictors.

Venn is a research preview. Probabilities are not calibrated across tasks, and the
"none of these" option is a signal rather than a filter: an off-topic question can
still land on a listed option with high confidence. Read the
[limitations](https://markrussinovich.github.io/venn-vdm/limitations.html) before acting on a probability.

## Install[#](https://markrussinovich.github.io/venn-vdm/#install "Link to this section")

Python 3.12 on Linux or Windows. CPU workflows also run on ARM64, including
Ubuntu under WSL and native Windows; see [platform setup](https://markrussinovich.github.io/venn-vdm/getting-started.html#arm64-and-windows).

```
git clone https://github.com/markrussinovich/venn-vdm.git venn
cd venn
python3.12 -m venv .venv && source .venv/bin/activate
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu   # CPU-only PyTorch; omit for CUDA
python -m pip install .
```

## Try it in a minute[#](https://markrussinovich.github.io/venn-vdm/#try-it-in-a-minute "Link to this section")

`venn quickstart` runs on CPU and downloads nothing. It registers a small store
of past support tickets with their outcomes, then routes a new ticket to the
team whose similar tickets went best:

```
venn quickstart
```

```
{
  "answer": "account",
  "options": {
    "account": {"mean": 0.9, "count": 3, "evidence_ids": ["acct-102", "acct-101", "acct-103"]},
    "billing": {"mean": 0.4, "count": 3, "evidence_ids": ["bill-201", "bill-202", "bill-203"]}
  },
  "note": "authored vectors, not text embeddings; nothing was downloaded"
}
```

The same API with your own vectors is in [examples/outcome\_store.py](https://markrussinovich.github.io/venn-vdm/examples/outcome_store.py)
and the [outcome API guide](https://markrussinovich.github.io/venn-vdm/outcome-api.html).

## Ask questions about text[#](https://markrussinovich.github.io/venn-vdm/#ask-questions-about-text "Link to this section")

Text questions use the `venn-1` profile: the EmbeddingGemma 2 reader plus a
3 MB decision head. Install the reader extra, download both and start the server:

```
python -m pip install '.[embedding]'
venn download-embedder      # EmbeddingGemma 2 (Apache-2.0), about 1.49 GB of weights
venn serve                  # downloads the venn-1 head on first run
```

In another terminal:

```
curl http://127.0.0.1:8000/api/alpha/decisions -H 'Content-Type: application/json' -d '{
  "model": "venn-1",
  "state": "I cannot sign in",
  "questions": {"team": {"type": "choice", "instructions": "Who owns this ticket?",
                          "criteria": {"account": "Login or access", "billing": "Payments", "no_match": null}}}
}'
```

The response names a team, gives its probability and says whether Venn
abstained. The first text request also loads the reader, which takes a few
seconds. Later requests avoid that cold load; fresh content still needs embedding. [examples/route\_ticket.py](https://markrussinovich.github.io/venn-vdm/examples/route_ticket.py) does the same from
Python. The [API reference](https://markrussinovich.github.io/venn-vdm/api.html) covers Score, Noul, the space-level
question types, the JavaScript client and the MCP bridge.

## Learn more[#](https://markrussinovich.github.io/venn-vdm/#learn-more "Link to this section")

- [Documentation overview](https://markrussinovich.github.io/venn-vdm/overview.html): choose a path through concepts, guides, examples and reference.
- [Getting started](https://markrussinovich.github.io/venn-vdm/getting-started.html): install and obtain a first result without model downloads.
- [Installation](https://markrussinovich.github.io/venn-vdm/installation.html): CPU PyTorch, Windows/ARM64 and optional extras.
- [Example catalog](https://markrussinovich.github.io/venn-vdm/examples/index.html): pick a complete workflow by its prerequisites.
- [Task recipes](https://markrussinovich.github.io/venn-vdm/cookbooks.html) and [outcome stores](https://markrussinovich.github.io/venn-vdm/outcome-api.html): build common operations.
- [Concepts](https://markrussinovich.github.io/venn-vdm/concepts.html) and [API reference](https://markrussinovich.github.io/venn-vdm/api.html): understand the model and request contracts.
- [Performance and cost](https://markrussinovich.github.io/venn-vdm/performance.html), [evidence](https://markrussinovich.github.io/venn-vdm/evidence.html) and [limitations](https://markrussinovich.github.io/venn-vdm/limitations.html): assess the results and their scope.

## Watch it learn to play[#](https://markrussinovich.github.io/venn-vdm/#watch-it-learn-to-play "Link to this section")

[![[Download the video](https://github.com/markrussinovich/venn-vdm/releases/download/media-v1/venn-arena.mp4)](media/venn-arena-poster.jpg)](https://github.com/markrussinovich/venn-vdm/releases/download/media-v1/venn-arena.mp4)

Watch Venn use past experience to choose each move.

The arena example drives a ViZDoom player with nothing but Venn's outcome API
and a FAISS store. Venn embeds each screen, looks up how similar moments turned
out for each move, and returns the move with the best recorded outcome.
Finished games are written back to the store. The reader is never trained.

One more call compiles that store into a head of 49,153 parameters that answers
the same question with no lookup. Served alone, the head averaged 8.4 kills per
game over 250 scored games against 6.2 for the memory it learned from.
[Run it yourself](https://markrussinovich.github.io/venn-vdm/arena-example.html) or read
[what the video shows](https://markrussinovich.github.io/venn-vdm/demos.html#screen-only-arena-video).

For text, the [Precedent Desk example](https://markrussinovich.github.io/venn-vdm/examples/precedent_desk/index.html) points
Venn at a support desk's 10,003 closed tickets and routes new ones from them,
with precedents, a queue-fit flag and a one-pass backlog sweep. On the same
3,080 public test tickets the closed tickets scored 93.6% against 79.7% for a
matched run of Jev 1.13, and the pattern repeats on a second dataset.
[Video, 2 minutes 36 seconds](https://github.com/markrussinovich/venn-vdm/releases/download/media-v1/venn-precedent-desk.mp4).

## Project[#](https://markrussinovich.github.io/venn-vdm/#project "Link to this section")

- Code is MIT-licensed. The EmbeddingGemma 2 reader and the `venn-1` head have
  their own terms; see [licenses](https://markrussinovich.github.io/venn-vdm/licenses.html).
- The distribution is named `venn-vdm` and the import name is `venn`. Do not
  install it alongside the unrelated `venn` package.
- Cite with [CITATION.cff](https://markrussinovich.github.io/venn-vdm/CITATION.cff). See [contributing](https://markrussinovich.github.io/venn-vdm/CONTRIBUTING.html)
  and [security](https://markrussinovich.github.io/venn-vdm/SECURITY.md).

[View this page on GitHub](https://github.com/markrussinovich/venn-vdm/blob/main/README.md)
shanselman10
🟧 echo.github ⭐The repository’s initial release commit is titled “Venn 0.1.0: Vector Decision Models” (Nov. 9, 2026). Its README describes Venn as “a smallMark Russinovich——

Interpretation history

Decision trace