Skip to content
Book Open access

Routing by Contract: Evidence-Gated Skill Selection for Language Agents

Nov 2026 · Proceedings of the 35th ACM International Conference on Information and Knowledge Management · 0 citations · 29 references

Abstract

Agentic language systems increasingly rely on reusable skill libraries, but skills with similar surface descriptions often differ in their operational contracts---source of truth, recipient scope, evidence policy, and output format. We study this operational-contract under-specification problem and demonstrate its practical consequences: end-to-end agent experiments on WildClawBench, an independently published benchmark, show that incorrect skill selection causes task-completion penalties of up to 0.514 on a 0--1 verifier scale---far exceeding the offline ranking gap. To address this, we propose query-conditioned operational schema induction with evidence-gated correction. A schema induction module produces a declarative QueryRuleSpec from the query alone (without inspecting candidate skills), deterministic extraction applies the same schema to query and all candidates, and an evidence gate accepts correction only when grounded operational-contract fields are present. The correction layer works on top of any base ranker. On ContractBench, spanning 10 skill families and 6 orthogonal contract policies, schema induction reaches 0.7833 Top-1 versus 0.6917 for path-graph and 0.7167 for semantic text. Evidence-gated correction recovers 6 additional correct selections on each base ranker, empirically never reducing accuracy below the base ranker. The method is regime-aware: it preserves the strong path-graph baseline outside the contract regime and provides auditable, evidence-bearing routing decisions deployable on any base ranker.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.