Agent Legibility
How cleanly an interface exposes semantic structure to non-human minds.
Some hospitals paint colored lines on the floor: follow green to radiology, blue to the cafeteria. A first-time visitor who is worried and in a hurry still gets where they need to go. Other hospitals have the same corridors and no lines. The visitor asks three people for directions and still ends up by the loading dock. The building is the same. What differs is how much of its structure it shows to someone who has never been there.
Agent legibility is that quality for software, judged from the agent's side. It describes how plainly an interface says what things are, what state they're in and what can be done with them. A legible surface names objects consistently, gives them stable IDs, states their status in explicit fields and lists the actions available. An illegible one hides the same facts inside friendly prose, visual layout or conventions the agent has to guess.
Legibility matters more for agents than for people because agents can't look around. A person can squint at a page, hover over an icon or ask a colleague. An agent gets the text it was given.
In practice
Here is an order-status tool written for people:
Good news! 2 of your 3 items left our warehouse on Tuesday. The lid is running a little late.
And here is the same state, made legible:
{
"order_id": "A-2093",
"state": "partially_shipped",
"items": [
{ "sku": "MUG-01", "state": "shipped", "tracking": "1Z999" },
{ "sku": "MUG-02", "state": "shipped", "tracking": "1Z999" },
{ "sku": "LID-07", "state": "backordered", "eta": "2026-12-04" }
],
"actions": ["cancel_item", "refund_item"]
}
Notice that every fact the agent would have had to infer from the sentence is now a field. Which item is late, when it's expected and what can be done about it are all read directly. Nothing is guessed.
Why it matters
Every guess is a chance to be wrong, and each one costs reasoning tokens. Worse, guesses vary by model: a large model may infer "the lid" means LID-07, and a small one may not. An illegible surface works on the models you tested and fails quietly on the next one. A legible surface moves that work out of the model's reasoning and into the interface, where it's done once and done right.
What to do about it
H-06 Deterministic Envelopes & Schema Uniformity keeps names and shapes the same across tools, so structure learned on one transfers to the rest. H-01 Continuous State Anchoring states current status explicitly, so the agent doesn't rebuild it from history. H-07 Local Handles & Progressive Disclosure gives objects short, stable IDs the agent can copy safely.
Related
The AX treeLexicon · 07The AX TreeA linearized semantic interface layer analogous to an accessibility tree. is a deliberately built legible layer, rendered from the same state as the human UI. Schema affordancesLexicon · 31Schema AffordancesUsage cues communicated through tool names, parameters and types. are legibility applied to the tools themselves: their names, parameters and types. Norman toolsLexicon · 32Norman ToolsMisleading tool names or schemas that trigger the wrong prior. are the dangerous case where a surface looks legible but points the wrong way. Token scentLexicon · 26Token ScentNavigational hints showing where answers live without full ingestion. is legibility for navigation: cues that say where an answer lives before the agent reads it.