← All posts

RESEARCH

Can a decision model choose the right AI agent skill?

A Jev skill-routing experiment: 97.6% strict accuracy on 250 paired tasks, with a real example, public data, and limits on preset skill combinations.

An agent with a growing skill catalog faces a practical problem before it starts working: which skill fits this request? Descriptions overlap, some tasks need several skills, and sometimes the right answer is to use none. A wrong routing decision can send the agent into an irrelevant workflow even when its execution tools work well.

A skill is a reusable package of instructions, sometimes with scripts or reference material, describing how an agent should handle a particular kind of work. Here, a decision model takes task context and a question with defined answer types, then returns a structured decision that code can use. Jev, from TypeSafe AI, supports choices, scores, and probabilities. This experiment uses its choice questions to select a skill or a preset skill set.

Jev skill-routing results: 97.6% strict and 98.6% acceptable accuracy on 250 formal/casual task pairs, with preset candidates for multi-skill tasks

Make routing a concrete decision

The what-the-jev skill-routing experiment tests typesafe/jev-1.13 against a catalog of 126 skills from OpenAI, Anthropic, Matt Pocock, and Lark. Each input supplies the task and candidate skill descriptions. The model selects a candidate; it does not execute that skill.

For example, dataset item O01 asks:

I'm building a Blazor Web App and need to wire up authentication and dependency injection the right way. Can you walk me through the current recommended setup?

The relevant fields in the stored answer are:

JSON
{"choice":"aspnet-core","confidence":1}

That choice matches the reference label. The catalog describes aspnet-core as covering ASP.NET Core work, including Blazor, authentication, and dependency injection. An agent could use the returned identifier to load those instructions before proceeding. The confidence value is the model's reported confidence for this answer; it does not establish a general guarantee of correctness.

Read the two accuracy numbers

There are 500 prompts, organized as 250 formal/casual pairs. Each pair describes the same underlying task with the same candidate options. These are not 500 independent tasks.

Strict accuracy is 488/500, or 97.6%: the selected candidate exactly matches the reference answer. Acceptable accuracy is 493/500, or 98.6%: the selection either matches the reference or belongs to an explicitly annotated acceptable alternative. The extra five correct answers come from those dataset labels, rather than a blanket rule that any plausible selection counts.

Candidate construction matters. The 410 single-skill or no-skill prompts offer the full catalog plus none: 127 options. The 90 multi-skill prompts offer 5–15 total options, including none and preselected skill combinations. Those sets include the reference combination, subsets, and distractors. Jev chooses among supplied candidates; the experiment does not test freely composing any combination of the 126 skills.

The 12 strict errors include six omitted-skill cases in multi-skill answers, four wrong single-skill selections, and two cases where the model chose a skill despite a none reference. Those failures matter if a downstream workflow assumes that every necessary skill has been selected.

What this experiment leaves open

The result measures agreement with labels on this constructed catalog and task set. It does not measure whether the chosen skill successfully completes the task, whether routing transfers to a different catalog, or whether the same accuracy holds for requests collected from production. There is also no matched comparison with other models, so the percentages do not establish model superiority.

You can inspect the public report, dataset, and raw responses without running the API. The experiment framework is MIT-licensed; Jev is a hosted model, not an open-weight release, and live reruns require an OpenRouter API key and incur API charges.

If this is a useful question for your agent work, Star what-the-jev to bookmark the ongoing research project and return to its experiments, stored results, and limitations as the collection grows.

DISCUSSION

Comments