Agent eXperience Interface (AXI)

•
1
•

Designs and reviews token-efficient, ergonomic CLI tools optimized for autonomous AI agents executing shell commands.

Agent eXperience Interface (AXI) provides structured ergonomic standards and architectural patterns for building agent-facing command-line tools. By enforcing token-efficient formats like TOON, minimal default schemas, smart content truncation, pre-computed aggregates, and structured stdout errors, AXI eliminates costly conversational round-trips and prevents agent failure modes across environments like Claude Code, Codex, and OpenCode.

主な機能

01Minimal default schemas and smart content truncation with actionable escape hatches
02Pre-computed aggregates and definitive empty states to eliminate follow-up agent queries
031 GitHub stars
04Token-efficient stdout output design using TOON notation for ~40% token savings
05Structured, actionable stdout errors with strict flag validation for single-turn self-correction
06Ambient session lifecycle integration patterns for Claude Code, Codex, and OpenCode

ユースケース

01Building new CLI tools intended for autonomous AI agent invocation via shell execution
02Refactoring existing internal developer tools to reduce agent token consumption and latency
03Auditing and reviewing agent-facing CLI tools against ergonomic standards and best practices