Agent-Friendly API Design#
Most APIs are designed for human developers who read documentation, interpret ambiguous error messages, and adapt their approach based on experience. Agents do not have these skills. They parse structured responses, follow explicit instructions, and fail on ambiguity. An API that is pleasant for humans to use may be impossible for an agent to use reliably.
This reference covers practical patterns for designing APIs – or modifying existing ones – so that agents can consume them effectively.