{"id":47745588,"url":"https://github.com/kunchenguid/axi","last_synced_at":"2026-04-24T20:04:19.741Z","repository":{"id":346274792,"uuid":"1188221632","full_name":"kunchenguid/axi","owner":"kunchenguid","description":"Design principles for agent ergonomics. Higher accuracy with lower token cost than both MCP and regular CLI.","archived":false,"fork":false,"pushed_at":"2026-04-03T00:30:51.000Z","size":32526,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T09:39:20.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://axi.md/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kunchenguid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-21T19:28:09.000Z","updated_at":"2026-04-03T04:31:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kunchenguid/axi","commit_stats":null,"previous_names":["kunchenguid/axi"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kunchenguid/axi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunchenguid%2Faxi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunchenguid%2Faxi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunchenguid%2Faxi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunchenguid%2Faxi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kunchenguid","download_url":"https://codeload.github.com/kunchenguid/axi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunchenguid%2Faxi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-03T00:54:20.851Z","updated_at":"2026-04-24T20:04:19.736Z","avatar_url":"https://github.com/kunchenguid.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eAXI: Agent eXperience Interface\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://axi.md\"\u003e\u003cimg alt=\"Website\" src=\"https://img.shields.io/badge/axi.md-Website-blue?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://x.com/kunchenguid\"\u003e\u003cimg alt=\"X\" src=\"https://img.shields.io/badge/X-@kunchenguid-black?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/Wsy2NpnZDu\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/1439901831038763092?style=flat-square\u0026label=discord\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e10 design principles for building agent-ergonomic apps.\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/axi-splash.png\" alt=\"AXI — Let's build apps agents love.\" width=\"800\"\u003e\n\u003c/p\u003e\n\nAI agents interact with external services through two dominant paradigms today: **CLIs** which were originally built for humans, and structured tool protocols like **MCP**. Both impose significant overhead.\n\nAXI is a **new paradigm** — agent-native CLI tools built from **10 design principles** that treat token budget as a first-class constraint.\n\n## Results\n\n### Browser Benchmark\n\nEvaluated across 490 runs (14 tasks × 7 conditions × 5 repeats) using Claude Sonnet 4.6:\n\n| Condition                      | Success  | Avg Cost   | Avg Duration | Avg Turns |\n| ------------------------------ | -------- | ---------- | ------------ | --------- |\n| **chrome-devtools-axi**        | **100%** | **$0.074** | **21.5s**    | **4.5**   |\n| dev-browser                    | 99%      | $0.078     | 28.6s        | 4.9       |\n| agent-browser                  | 99%      | $0.088     | 24.6s        | 4.8       |\n| chrome-devtools-mcp-compressed | 100%     | $0.091     | 29.7s        | 7.6       |\n| chrome-devtools-mcp-search     | 99%      | $0.096     | 29.4s        | 7.5       |\n| chrome-devtools-mcp            | 99%      | $0.101     | 26.0s        | 6.2       |\n| chrome-devtools-mcp-code       | 100%     | $0.120     | 36.2s        | 6.4       |\n\n### GitHub Benchmark\n\nEvaluated across 425 runs (17 tasks × 5 conditions × 5 repeats) using Claude Sonnet 4.6:\n\n| Condition               | Success  | Avg Cost   | Avg Duration | Avg Turns |\n| ----------------------- | -------- | ---------- | ------------ | --------- |\n| **gh-axi**              | **100%** | **$0.050** | **15.7s**    | **3**     |\n| gh (CLI)                | 86%      | $0.054     | 17.4s        | 3         |\n| GitHub MCP              | 87%      | $0.148     | 34.2s        | 6         |\n| GitHub MCP + ToolSearch | 82%      | $0.147     | 41.1s        | 8         |\n| MCP + Code Mode         | 84%      | $0.101     | 43.4s        | 7         |\n\n## Quick Start\n\nReference AXI implementations:\n\n- [`gh-axi`](https://github.com/kunchenguid/gh-axi) — GitHub operations\n- [`chrome-devtools-axi`](https://github.com/kunchenguid/chrome-devtools-axi) — Browser automation\n\n```sh\nnpm install -g gh-axi\nnpm install -g chrome-devtools-axi\n```\n\nAdd to your `CLAUDE.md` or `AGENTS.md`:\n\n```\nUse `gh-axi` for GitHub and `chrome-devtools-axi` for browser automation.\n```\n\n## The 10 Principles\n\nThese principles define what makes a CLI tool \"an AXI\":\n\n| #   | Principle                          | Summary                                                                     |\n| --- | ---------------------------------- | --------------------------------------------------------------------------- |\n| 1   | **Token-efficient output**         | Use [TOON](https://toonformat.dev/) format for ~40% token savings over JSON |\n| 2   | **Minimal default schemas**        | 3–4 fields per list item, not 10                                            |\n| 3   | **Content truncation**             | Truncate large text with size hints and `--full` escape hatch               |\n| 4   | **Pre-computed aggregates**        | Include aggregated counts and statuses that eliminate round trips           |\n| 5   | **Definitive empty states**        | Explicit \"0 results\" rather than ambiguous empty output                     |\n| 6   | **Structured errors \u0026 exit codes** | Idempotent mutations, structured errors, no interactive prompts             |\n| 7   | **Ambient context**                | Self-install into session hooks so agents see state before invoking         |\n| 8   | **Content first**                  | Running with no arguments shows live data, not help text                    |\n| 9   | **Contextual disclosure**          | Include next-step suggestions after each output                             |\n| 10  | **Consistent way to get help**     | Concise per-subcommand reference when agents need it                        |\n\n## Build Your Own AXI\n\nInstall the AXI skill to get the design guidelines and scaffolding for building an AXI-compliant CLI:\n\n```sh\nnpx skills add kunchenguid/axi\n```\n\nThis installs the [AXI skill](.agents/skills/axi/SKILL.md) — a detailed guide with examples for each principle that your coding agent can reference while building.\n\n## Development\n\n### Browser Benchmark\n\nThe browser benchmark harness lives in `bench-browser/`. It compares browser automation tools across 16 browsing tasks.\n\n```sh\ncd bench-browser\nnpm install\n\n# Run a single condition × task\nnpm run bench -- run --condition chrome-devtools-axi --task read_static_page\n\n# Run the full matrix\nnpm run bench -- matrix --repeat 5\n\n# Generate summary report\nnpm run bench -- report\n\n# Render the social video\nnpm run render:social\n```\n\nThe HyperFrames composition for the social asset lives in `bench-browser/social/`. Edit `social/index.html` for the animation and render `docs/social/rendered/race.mp4` with `npm run render:social`.\n\nPublished results (490 runs): [`bench-browser/published-results/report.md`](bench-browser/published-results/report.md)\n\n### GitHub Benchmark\n\nThe GitHub benchmark harness lives in `bench-github/`. It runs agent tasks across different interface conditions and grades results with an LLM judge.\n\n```sh\ncd bench-github\nnpm install\n\n# Run a single condition × task\nnpm run bench -- run --condition axi --task merged_pr_ci_audit --repeat 5 --agent claude\n\n# Run the full matrix\nnpm run bench -- matrix --repeat 5 --agent claude\n\n# Generate summary report\nnpm run bench -- report\n```\n\nPublished results (425 runs): [`bench-github/published-results/STUDY.md`](bench-github/published-results/STUDY.md)\n\n## Links\n\n- [Website](https://axi.md)\n- [AXI Skill definition](.agents/skills/axi/SKILL.md)\n- [Browser benchmark study](bench-browser/published-results/STUDY.md)\n- [GitHub benchmark study](bench-github/published-results/STUDY.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunchenguid%2Faxi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunchenguid%2Faxi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunchenguid%2Faxi/lists"}