Agentic usability heuristics
Nielsen wrote his ten usability heuristics in 1994, for people using graphical interfaces. There’s plenty of research on API usability for human developers. Very little of it treats AI agents as a separate kind of consumer, and agents now call our APIs, CLIs, and MCP tools every day.
In May HubSpot committed to full API parity, so every product capability needs an API. That made the question concrete for me: what makes an interface easier or harder for an agent to reason about and use?
The framework
I wrote ten heuristics, from discoverability to observability. Each one has a rule, the reason it matters for agents, the way it fails, and examples. Some overlap with what helps people (consistent naming, good error messages). Some barely register for people but matter a lot to agents (typed errors instead of prose, lean response shapes, schemas that describe themselves). I held four more back as candidates until I have better evidence for them.
Building on prior work
I mapped the framework against the work it builds on: Nielsen, Cognitive Dimensions, Clarke’s API version of it, Microsoft’s HAX guidelines, Anthropic’s guidance on writing tools for agents, the SWE-agent interface research, 12-Factor Agents, and OWASP. The point of the crosswalk is to be honest about what’s new here and what isn’t.
What’s next
I haven’t published a worked example yet, where I score a real API surface against the heuristics. That’s the next version.
Read the framework at markhazlewood42.github.io/agentic-usability
