Always Say Large: Testing a Decision Model on My Agent Workflow
Switchyard runs my coding agents through a fixed loop. A coordinator session plans the work, hands it to a planner, then an implementer, then a reviewer, and reads what each one says when it stops. The coordinator runs on Opus, and a lot of what it spends Opus on is small. Is this issue small, medium, or large? Did that worker finish, or is it asking me something?
Then Kev came out. It’s an open family of decision models built along the lines of TypeSafe’s Jev, and it never generates text. You hand it some state and a few typed questions (yes/no, pick one, rate it) and it answers all of them in one forward pass, with probabilities. The smallest one, Kev-0.8B, runs on any Apple Silicon Mac. A local model that answers yes/no questions in a fraction of a second, for nothing, looked like exactly the thing to take those small calls off Opus.
Kev’s README is clear about what it’s for: classification and routing, like sending a support ticket to the right team, with guidance for fine-tuning it on your own categories. My two calls are neither of those exactly, and I’d be using it untrained. So I opened an issue to test it before wiring anything in.
Two decisions
The first is sizing. Switchyard sizes every issue twice: once from the issue, before the planner starts, and again from the reviewed plan, before the implementer starts. The size picks which model and effort level each worker gets. The rules are short. Small means one concern in one place with a known fix. Large means any one of: it spans several components, it changes something other code or users depend on, a mistake could lose data, or the plan leaves judgment it can’t capture. Medium is everything else, and between two sizes you take the larger, because an under-powered worker costs a whole fix round.
The second is reading a stopped worker. Herdr, which runs my workers in terminal panes, already reports whether an agent is working or idle. What it can’t tell me is what a stopped agent wants: is it done, is it asking a question, or is it stuck on something?
Building the eval
The eval runs each decision past several deciders and scores them against labels. Kev answers through its own local server. Opus and Haiku answer through claude -p with a one-line system prompt. My first attempt at the Opus baseline cost $0.42 a call, because claude -p had loaded 52k tokens of Claude Code’s own context to answer a one-word question. Stripping that out brought it to under a cent.
For sizing I used 27 closed Switchyard issues that each had an archived plan. Every issue gets asked twice, from the issue text alone and then from the plan, the same way the coordinator does it.
For worker status I pulled the last message of every worker turn out of my local Claude Code and Codex transcripts. That came to 129 messages, 76 from Claude and 53 from Codex. Codex’s approval-reviewer sub-sessions look like workers in the logs, so those had to be filtered out first.
Labels were the awkward part. Switchyard deletes its per-issue state when it tears down a worktree, so no record existed of what size anything had been given. Someone had to label the set by hand, and I didn’t fancy it, so I had Claude do it. The obvious catch is that Opus is one of the deciders. If Claude sizes issues by reading the same text Opus reads, the eval mostly checks whether Opus agrees with itself.
So the labels came from what actually happened, which no decider ever sees. For sizing that meant the merged PR’s file list and the number of “changes requested” verdicts each issue collected. An issue that took two fix rounds was not small, whatever its description said. For status it meant what the coordinator did next, where the transcript showed it. That only worked for 7 of the 129 messages, so most status labels came from reading the message itself. The final set was 18 large, 6 medium, and 3 small. That’s lopsided, and I’ll come back to it.
Getting Kev running
Kev installs from source with uv and serves an HTTP API that matches TypeSafe’s, so anything written for Jev talks to it unchanged. On my M4 with 16 GB it uses MLX automatically, and once it was up it answered in about 160 milliseconds. The first launch tried to download the Qwen base model it sits on and stalled at zero bytes for several minutes. The hosts answered fine. The culprit was Hugging Face’s newer Xet transfer, and setting HF_HUB_DISABLE_XET=1 got the download moving again over plain HTTP. Slowly.
Sizing
| Decider | Issue: agrees | Issue: under-sized | Plan: agrees | Plan: under-sized |
|---|---|---|---|---|
| Opus 5.5 | 67% | 30% | 85% | 7% |
| Haiku 5.5 | 41% | 56% | 78% | 19% |
| Kev-0.8B | 22% | 63% | 19% | 78% |
| Always “large” | 67% | 0% | 67% | 0% |
Kev answered “medium” on 45 of its 54 calls, with a mean confidence of 0.18. Looking at the question, I could see why. My “medium” option read “Neither small nor large.” That only means something if you reason about the other two options, and a decision model doesn’t work that way. It scores each option’s text against the input in one pass, so an option defined by what it isn’t gives it nothing to match.
So I gave it a fairer shot. I split the rules into five yes/no questions, one for each large trigger and one for small, sent them all in a single request, and let a fixed rule pick the size: large if any trigger says yes. That version scored 67% from both inputs and almost never under-sized. It looked like a rescue for about a minute.
Then I counted its answers. It said “large” 51 times out of 54. Every probability sat near 0.5, so with “any trigger above 0.5” it called almost everything large. The 67% was exactly the score you get by answering “large” without reading anything. There’s a little signal in there when it reads the plan, but with only 9 issues that aren’t large I wouldn’t trust it.
That bottom row in the table is the one that stuck with me. From the issue text alone, nothing I tested beat a constant. Opus agreed with the labels 67% of the time and under-sized almost a third of the issues. Always answering “large” agreed just as often and never under-sized. The information isn’t in the issue. Size depends on which folders the fix touches and what other projects rely on, and you find that out by reading the code. Switchyard’s own rule says to size “from your read of the issue against the code.” No model, of any size, gets that from the issue text.
The label skew matters here. Most Switchyard work touches files that other projects install, so most of it is large under the rules, and a constant “large” looks good on this set. On a project with more small issues, the constant would do worse.
Worker status
| Decider | Agrees | Done, read as asking | p50 | Cost, 129 calls |
|---|---|---|---|---|
| Opus 5.5 | 87% | 14 | 2.3 s | $1.28 |
| Haiku 5.5 | 71% | 33 | 2.2 s | $0.03 |
| Kev-0.8B | 72% | 32 | 158 ms | $0 |
| Always “done” | 97.5% | 0 | 0 | $0 |
Kev-0.8B matched Haiku here, locally, in a fourteenth of the time. But 119 of the 122 labelled messages were “done.” Two were stuck and one was asking, which is far too few to tell anything apart. Always answering “done” beat every model.
Most of the “asking” mistakes were plans. A Switchyard planner finishes its plan and then lists open questions for the coordinator, so the message is both finished and full of questions. My labels called that done. The models called it asking, and honestly the models have a point, because “does this ask me anything?” is the thing the coordinator reads these messages for. I’d framed the question wrong.
The two stuck messages read like progress: “Creating the OpenSpec change now.” The only evidence they were stuck is my next prompt, telling the worker its rm -rf had been denied. No decider could get that from the message.
Was $1.28 the problem?
When I saw $1.28 for the Opus status run, my first thought was that Kev brings that to zero. It’s less dramatic than that. The eval made 129 standalone Opus calls. In real use the coordinator reads those messages inside a session it’s already running, so there’s no separate bill per message. What it costs is context and usage window, which is the real thing I wanted to save, but it’s a few cents per issue. Haiku does the whole status set for three cents. Once Haiku costs that little, Kev’s case rests on speed and on running offline, not on price.
The README calls Kev-4B the recommended starting point, so I started that download too. It’s a 9.3 GB base model plus a small adapter, and the README lists a 32 GB Mac for it. Mine has 16 GB of memory and had 12 GB of disk free, so I cancelled it. That means I can’t say how the bigger Kev models would do here.
Where it lands
Looking back, I pointed Kev at the wrong decisions, and untrained. The first sizing needs knowledge the input doesn’t contain. The second sizing needs judgment over a 5,000-token design document, which is what a single-pass model is worst at and where Opus did best. And the status call mostly answers itself from the first line of the message, “Verdict: pass” or “Committed as 3f2a1c9”, so a regex probably does as well as any model.
The practical result is small and a bit funny. Switchyard’s first sizing can skip the model entirely and default to large, which its own “take the larger” rule was already pointing at.
It did leave me wanting to train a decision model for a decision that fits one. The best candidate I’ve found is command approval: should this agent’s shell command run, given what the user asked for? The input is short, the call happens on every tool use, the commands carry paths and secrets you’d rather keep on the machine, and on construct-auto-classifier’s public benchmark, by its author’s numbers, Jev let zero dangerous commands through while gpt-oss-20b let through 73. That’s the next project, and it’ll get the same treatment: constant baselines first.