PostHog Jeeves: A 9B Reasoning-Decision Model with a CISPO Loop and a Diffusion Drafter for Gated DeltaNet — aniketkarneai.com | aniketkarneai.com
Wednesday, November 11, 2026 Field notes on autonomous systems ● Amsterdam, NL
daily

PostHog Jeeves: A 9B Reasoning-Decision Model with a CISPO Loop and a Diffusion Drafter for Gated DeltaNet

PostHog/jeeves (400 stars in 4 days, MIT, 9B Qwen3.5 LoRA) is a Jev-compatible decision model that thinks before it answers, trained with SFT and the MiniMax CISPO objective, served through a Jev-compatible `/v1/systemone` endpoint with a block-4 diffusion drafter adapted to Gated DeltaNet layers, and shipping with both FP8 CUDA kernels and FP8 Apple Silicon Metal kernels. The numbers that actually matter: 0.889 on the held-out test split (vs 0.857 Jev, 0.822 Kev-9B), 0.935 on the public JevBench (vs 0.866 Jev), 0.3 s without thinking and 3.3 s median with thinking on one H100, 38 tok/s on an M4 Pro in FP8 — and a deliberate stopping rule at RL step 402 of 624 to keep the calibration honest.

PostHog shipped a 9B reasoning-decision model on 29 September 2026 and open-sourced the entire stack. The repo is PostHog/jeeves (400 stars, 20 forks, MIT, master branch last pushed 1 October). The headline number is 0.889 on a held-out test split versus 0.857 for Jev and 0.822 for Kev-9B, but the headline number is the wrong place to start. The interesting thing is what was shipped alongside the weights: a CISPO-trained reasoning chain that the model can skip on easy questions, a block-4 diffusion drafter that the maintainer wrote specifically to handle Qwen3.5’s Gated DeltaNet layers (not just attention), an FP8 path that compiles for both NVIDIA CUDA and Apple Silicon Metal with a w8a16 matmul kernel that does not change the outputs bit-for-bit between the two backends, and a Jev-compatible /v1/systemone HTTP endpoint that lets the same checkpoint answer yes/no, multiple-choice, and rating questions in a single request with calibrated probabilities and a per-question reasoning chain.

Jeeves is a System-1-with-thinking model. The terminology comes from Jev’s design (the System One decision model the post credits via Jev’s Architecture Unmasked): a small, fast model that gives calibrated probabilities for typed decision questions, but with a reasoning chain that runs only when the prompt warrants it. The base is Qwen3.5-9B (the Gated DeltaNet + gated attention hybrid), the head is a LoRA r=16 on all projections plus a fresh pointer head, and the chain of training is SFT → CISPO → calibration fit, with a deliberate stop mid-CISPO to prevent calibration drift.

Why a reasoning chain on a decision model

A pure Jev-style classifier answers “should this customer-support message be routed to returns or billing?” with a calibrated probability. That’s fine when the question is easy. When the question is hard — “is this message a complaint about a late delivery that is also a billing dispute about a duplicate charge?” — the classifier has to compress the reasoning into a single forward pass, and a 9B base will compress the wrong way more often than not. Jeeves’ bet is that you keep the Jev API (so the calling pipeline does not change) but you let the model spend up to 2,560 tokens of chain-of-thought before it answers, then you collapse the chain back to a calibrated probability. The trade is latency. The reward is accuracy on the cases where the Jev paper itself admits the base classifier is overconfident.

The reward function in practice: think → answer → calibrate. The think step is a roll-out at temperature 1, capped at 2,560 tokens. The answer step uses a pointer head that scores each option in the prompt by a scaled dot product between a query projection of the hidden state at a special <decide> token and a key projection of each option’s </opt> end-token. The probability is softmax over the option scores, divided by a temperature fitted on the dev set. Calibration lives in the temperature — the dev set is the test set for the calibration step, and the temperature is stored with the checkpoint.

The reasoning chain is opt-out. A request can set think: false to answer from the prompt alone (about 0.3 s on H100), or nothink_threshold: 0.9 to skip thinking when the no-think confidence is at least 0.9. On 325 dev questions, the setting that gets 0.825 accuracy with 1,138 mean reasoning tokens and a 3.3 s median is full thinking. max_think: 768, nothink_threshold: 0.9 gets 0.806 with 344 tokens and 2.0 s median. No thinking gets 0.775 in 0.3 s. The gap between “no think” and “full think” is 5 points of accuracy; the gap between “tuned” and “full” is 2 points for a 65% reduction in tokens and a 40% reduction in p90 latency.

The CISPO loop, and why the training stops at step 402

CISPO is the clipped importance-sampling RL objective introduced in the MiniMax-M1 paper (the README cites MiniMax-M1). The intuition: in PPO-style RL for LLMs, the importance-sampling ratio between the old and current policy is bounded to keep gradients well-behaved, but the bound tends to mask the gradient of the best rollouts — the rollouts that produced the highest reward are exactly the ones whose IS ratio gets clipped to 1. CISPO clips the gradient of the IS ratio instead, so the well-behaved rollouts still update, and the poorly-behaved ones get attenuated but not zeroed. In Jeeves’ case the RL signal is the decision task accuracy: 8 rollouts per question, temperature 1, 2,560 thinking tokens, reward is 1 if the model picks the right option, 0 if not.

The schedule is 624 CISPO steps over 9,992 questions on 8 GPUs. The maintainer’s note in the README is worth quoting: “Stopping at step 402 keeps the best calibration and dev score. Past it, the head over-sharpens on the saturated RL pool.” That’s a training-time finding, not a benchmark finding. The hard observation is that the head’s calibration (ECE) degrades after step 402 even though the raw accuracy stays roughly flat — the model becomes more right but more confidently wrong on the wrong cases, which destroys the temperature-fitting step that turns logits into probabilities. Jeeves’ final checkpoint is the SFT-fused, RL-stopped-at-402, temperature-fitted-on-dev model. The recipe file is trainer.py (27 KB) and train.py (1.3 KB); the schedule is in the former.

The diffusion drafter that reads Gated DeltaNet

The interesting engineering bit. A standard transformer-only speculative decoder (Leviathan/Kalai/Matias, ICML 2023) uses a smaller draft model that has full attention over its own context. Qwen3.5 is a hybrid: alternating layers of Gated DeltaNet (a state-space variant with delta-rule updates, Yang/Kautz/Hatamizadeh ICLR 2025) and gated attention. The naive approach — run a small model with the same hybrid layout — works but does not speed up the way a drafter should, because the drafter’s own layers carry state and the state has to be re-derived per draft token.

Jeeves’ approach is a diffusion view of the frozen base model, adapted from Orthrus (arXiv 2605.12825). The drafter is not a separate model — it is the base model, frozen, with a small set of additional cross-attention heads that predict the next block of tokens given the previous block plus a learned mask-embedding (the average of the base’s embedding table, treated as a single nn.Parameter). The mask tokens cross-attend into the base model’s hidden states, including the post-convolution keys and values from the Gated DeltaNet layers. That is the part that is genuinely new: the Gated DeltaNet layers’ k and v after the causal conv step are usable as cross-attention targets, so the diffusion drafter can attend to the SSM state of the base without re-running the SSM roll-out. The drafter implementation is drafter/view.py (204 lines) plus drafter/gen.py and drafter/train.py (5.2 KB).

The speed numbers, on one H100 in FP8, are the drafter’s main claim:

ModeChain tok/s
Plain graphed greedy decoding, one question109
Block 4, one question176 (1.6×)
Block 8, one question193 (1.76×)
Block 4, eight questions batchedabout 960 in total

Block 4 is the default because it stays cheap when several questions are batched. Block 8 gets you another 10% on a single question but loses throughput at small batch sizes. The drafter caches the cross-attention keys and values across blocks; the cache rewrites are in the cuda-speed PR series (commits dc9719a3 “Rotate delta-layer keys and queries and write the drafter cache in one kernel on CUDA” and 54d7b74e “Commit every delta layer’s conv state with one gather”).

The FP8 path: same kernel, two backends, w8a16

The FP8 story is unusually clean. The CUDA path uses Triton kernels for the linear layers and keeps activations in bf16 — w8a16 matmul, not w8a8. The Metal path uses a hand-written Metal kernel (41 KB in model/metal.py) that does the same w8a16 matmul on Apple Silicon GPUs. Both paths quantize only the linear layer weights to FP8 (per-tensor scale, post-RoPE), keep the activations in bf16, and produce the same outputs as the bf16 reference. The README’s reported numbers: 21 GB in bf16 on Mac, 11.5 GB in FP8; one question thinks at about 20 tok/s in bf16 on M4 Pro and 38 tok/s in FP8, with no measurable accuracy or NLL change on dev.

The bit-for-bit tests are committed. python -m model.metal_test checks the Metal kernels against float64 and eager references. python -m model.triton_kernels_test checks the Triton rotary, delta-state advance, delta gates, conv step, cache writes, and decode attention against float32. python -m inference.cuda_test checks the merged projections, attention masks, and FP8 GEMM. python -m inference.engine_test checks how answer_batch packs requests into groups, on any device. The cost of the testing layer is real: model/metal_test.py is 14 KB and inference/cuda_test.py is 5.5 KB. The reward is that the FP8 path on a Mac and the FP8 path on an H100 give the same answers, and the bf16 path gives the same answers as both. That is not the default state of affairs for FP8 inference.

The serving layer: Jev-compatible, with options

The HTTP server is inference/serve.py (4.1 KB) and the API is inference/api.py (5.4 KB). The endpoint is POST /v1/systemone, modeled on Jev’s request schema. A request takes a state (a string the model conditions on) and a dictionary of questions, each typed as noul (yes/no with probability), choice (multiple-choice with probability distribution over options), or score (rating with probability distribution over the rating scale). The response is one probability per question, plus optional return_reasoning: true per-question chain-of-thought.

The two new options that Jev clients ignore are max_think (cap the reasoning chain length) and nothink_threshold (skip reasoning if the no-think confidence is high enough). The example curl in the README sends three questions (a multiple-choice department assignment, a yes/no escalation flag, and a 0/1/2 frustration rating) at max_think: 512. On one H100 with --precision fp8, the response is 8.1 seconds wall-clock, 1,536 reasoning tokens, and three answers in parallel:

{
  "model": "jeeves-latest",
  "answers": {
    "department": {"type": "choice", "choice": "billing", "confidence": 0.19,
      "probabilities": {"returns": 0.4, "shipping": 0.14, "billing": 0.46}},
    "escalate": {"type": "noul", "noul": 0.72},
    "frustration": {"type": "score", "score": 1.5, "legend": {"0":"Calm","1":"Frustrated","2":"Very angry"},
      "probabilities": {"0": 0.04, "1": 0.43, "2": 0.54}, "confidence": 0.75}
  },
  "usage": {"input_tokens": 129, "output_tokens": 160, "reasoning_tokens": 1536},
  "latency_ms": 8141.6
}

The confidence field on each answer is a per-answer calibration metric. The probabilities field is the temperature-scaled softmax over option scores. The Python SDK is a drop-in replacement for Jev’s typesafe-sdk; the maintainer ships it as jeeves_sdk and the install is pip install ./sdk from the repo.

The benchmarks, with the eye-roll factored in

Jeeves’ results table, on a held-out test split and on the public JevBench tiers, is honest in a way most open-source decision-model releases are not. The “Test overall” row averages the held-out and out-of-domain items; Jeeves wins (0.889 vs 0.857 Jev, 0.822 Kev-9B). The “Transfer overall” row averages MMLU-Pro and a buried-state probe; Jev wins (0.800 vs 0.746 Jeeves, 0.579 Kev-9B). The “JevBench overall” row averages the 231 public JevBench items across the easy, standard, and hard tiers; Jeeves wins (0.935 vs 0.866 Jev). The sealed JevBench judge tier is not included; the Jev and Kev numbers are restricted to the same 231 public items for comparison fairness.

The row I trust the most is the “Unknowable answered at p ≥ 0.9 (lower is better)” row. The right answer to an unknowable question is to not be confident; the lower the number, the better the model knows what it does not know. Kev-9B scores 0.000, Jev scores 0.090, Jeeves scores 0.055. Jeeves is between the two — more calibrated than Jev, less reflexive than Kev. The calibration story tracks with the README’s stated motivation for stopping CISPO at step 402: the head’s overconfidence after step 402 was the specific failure mode the maintainer was defending against, and the final number on unknowables suggests the defense worked.

The other row worth flagging is the “JevBench ECE” row (lower is better, on the public 231 items). Jev is at 0.049, Jeeves is at 0.037. ECE is the expected calibration error; the number means the temperature-fitted softmax is, on average, 3.7% away from the empirical correctness rate across the 10 probability bins. That is a small number in absolute terms but a 24% improvement over Jev on the same items.

The numbers I do not trust as much are the MMLU rows. Jeeves scores 0.793 on MMLU vs Jev’s 0.900; the README flags this directly in the Limitations section (“Knowledge questions trail Jev (MMLU 0.793 vs 0.900, MMLU-Pro 0.739 vs 0.840)”). The training data for the decision model is heavily weighted toward the decision task, and a 9B base that has been fine-tuned for a narrow task will lose ground on broad-knowledge benchmarks by design. If you need a knowledge question, Jev is the right model. If you need a routing question, Jeeves is the right model. The README is explicit that it is not trying to beat Jev everywhere.

The trade-offs the README admits

Three honest limits, in the README’s own words:

  1. Knowledge questions trail Jev. MMLU 0.793 vs 0.900, MMLU-Pro 0.739 vs 0.840. The decision-task training distribution under-samples general-knowledge items. For routing, classification, scoring tasks this is a feature; for open-ended knowledge queries it is a regression.
  2. Thinking is slow at the tail. 17 s at p90 with full chains on one H100. The max_think and nothink_threshold options help, and the fast-path is genuinely fast (0.3 s), but the worst case is real and the README does not hide it.
  3. The thinking chains are not interpretable. The Limitations section says “No language consistency reward was included so thinking chains are not well interpretable.” The chains work for accuracy, but the maintainer is explicit that they are not intended to be human-readable explanations.

The CISPO-stopped-at-402 choice is its own trade-off. A longer RL schedule would gain a small amount of accuracy on the saturated pool and lose a measurable amount of calibration. The maintainer chose calibration. The decision is documented in the README but it is not the obvious choice — most open-source decision-model releases would run the schedule to completion and report the highest accuracy number. Reporting the calibration-driven stop is unusual and worth flagging.

Open questions

A few things I would want to know before I shipped Jeeves into a production routing pipeline:

  • The reasoning chains are not human-interpretable. For high-stakes decisions (which the yes/no “escalate” question is, in the example payload) the chain is a black box, and the per-question confidence is the only signal you have. Whether the temperature-fitted confidence is enough for high-stakes routing is a deployment question, not a model question.
  • The drafter writes cross-attention into the Gated DeltaNet layers’ post-conv state. That is the only way the drafter can attend to the SSM state without re-deriving it, but it means the drafter’s correctness depends on the base model’s SSM state being exactly the same at training and inference. The bit-for-bit tests cover the kernels, but I would want to see the drafter’s acceptance rate on the dev set before I trusted it on a long rollout.
  • The model is 9B at FP8, so 11.5 GB of weights and another 28 GB of default KV cache. A 48 GB Mac starts to swap. The README’s max-rows 4 --max-len 4096 is the right move on a 48 GB machine, but it is a sharp reduction from the default and the accuracy impact is not separately reported.

The unanswered question I am most curious about: does the 0.055 unknowable-answered-at-p≥0.9 number hold up on the sealed JevBench judge tier, or is it specific to the public items? The README explicitly excludes the sealed tier from the published table, which is the right move for honesty, but the sealed tier is where calibration questions get asked. If I were betting on Jeeves for a real routing pipeline, I would run the sealed tier myself before committing.

References and where to dig further

The bibtex the maintainer asks you to cite, if you use the work, is waltz2026jeeves with author = Waltz, Nicholas P., which lines up with the commit author on the cuda-speed PR series. The post is the maintainer’s own work; I have not been able to find an associated paper or PostHog blog post at the time of writing (3 October 2026), so the README is the only public documentation, and the engineering detail in the commit log is the only record of the FP8 and Metal work.

Aniket Karne
DevOps & AI Engineer · Amsterdam
Back to all posts
Reader correspondence

Comments

Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.