AXI – Agent EXperience Interface
a day ago
- AXI (Agent eXperience Interface) is a set of 10 design principles for creating agent-ergonomic CLIs that aim for 100% task success at the lowest cost.
- Benchmarks show AXI outperforms both raw CLI and MCP (Model Context Protocol) approaches in browser automation and GitHub tasks, achieving higher success rates with lower average costs and durations.
- Key AXI principles include using TOON (Token-Optimized Object Notation) for 40% token savings, returning aggregate fields to eliminate round trips, truncating large text, and providing contextual next-step suggestions.
- AXI's specialized commands like 'tables --url' combine multiple operations, reducing turns, while shell composability (e.g., '| grep') keeps token volumes compact.
- The interface ensures mutations are idempotent, errors are structured, and commands avoid interactive prompts, with a 'home view' showing live data instead of help text.
- Community and official AXI implementations exist for various domains, including GitHub, browser automation, Slack, AWS, Docker, and databases.