Interface Prior
How fluently a model already knows an interface from pretraining.
You rent a car in a country you've never driven in. Within a minute you're on the road: the pedals, the wheel and the gear stick are where you expect. Then you try to signal a turn and the windshield wipers come on, because this make puts the two stalks the other way around. Years of practice made the first minute easy. The same years make the wiper mistake almost automatic.
Models arrive with years of that practice, compressed. During pretraining they read enormous amounts of shell sessions, SQL, git commands, HTTP APIs, JSON and Python. An interface prior is how fluently a model already knows an interface before your tool ever shows up. A strong prior means the model can use the interface correctly with almost no instruction. It also means the model will act on its habits, whether your interface matches them or not.
In practice
Here are two ways to give an agent read access to an orders database. Both can answer the same question.
SELECT customer_id, SUM(total) AS spent
FROM orders WHERE created_at >= '2026-10-01'
GROUP BY customer_id ORDER BY spent DESC LIMIT 10;
{ "collection": "orders",
"where": { "$gte": ["created_at", "2026-10-01"] },
"rollup": { "by": "customer_id", "sum": "total", "as": "spent" },
"rank": { "field": "spent", "dir": "down", "take": 10 } }
The SQL version needs no explanation. The model has seen that shape countless times, so it writes it correctly on the first try and knows what the errors mean when it doesn't. The custom version might be cleaner on paper, but the model has never seen rollup or rank before. Every key has to be taught in the tool description, and every guess at an unlisted option, such as "dir": "desc", is a failed call.
Why it matters
Priors decide where the effort goes. An in-distribution interface spends almost nothing on onboarding, so the agent's tokens and turns go to the actual task. An out-of-distribution interface has to be taught from scratch, and since the agent remembers nothing between sessions, it has to be taught again every time. Priors also vary by model: a large frontier model may know a niche CLI well, while a small model knows only the mainstream tools.
What to do about it
H-05 Align with Interface Priors is built on this term: prefer interfaces the model already knows, and when you build something bespoke, make it look as much like a familiar one as you can. H-09 Executable, Just-in-Time Micro-Docs covers the cases where you must teach, by putting one canonical example next to the schema so the lesson is short.
Related
- The teaching cost lawLexicon · 36The Teaching Cost LawRecurring per-session onboarding tax paid by any out-of-distribution tool. puts a price on a weak prior: the onboarding tax paid every session.
- Norman toolsLexicon · 32Norman ToolsMisleading tool names or schemas that trigger the wrong prior. are the dark side of a strong prior: a familiar name that triggers habits the tool then breaks.
- Persona = ModelLexicon · 12Persona = ModelTreating model family, scale and training as the user persona. explains why the same interface can be fluent for one model and foreign to another.