Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wilsonwangdev/agent-experience-guide

Repository files navigation

Agent Experience Guide

How to make your service, application, or tool great for AI agents.

English | 中文

The web was built for humans. Every button, form, and navigation menu assumes a person with eyes and hands. But the fastest-growing user base isn't human — it's AI agents. Every website already has an agent experience. The question is whether it's good or bad.

Just as UX taught us to design for users, and DX taught us to design for developers, AX (Agent Experience) is the discipline of designing for agents. This guide is a practical, open-source handbook on how to do it well.

Why This Guide Exists

  • ora.ai tells you where you stand — it scores and ranks agent readiness across thousands of sites.
  • axd.md tells you what to aim for — it defines 12 principles and 15 primitives of agent experience design.
  • agentexperience.ax curates conversations and articles about the AX movement.

This guide tells you how to get there — concrete, actionable steps with code examples, patterns, and anti-patterns for making your service agent-ready.

The Agent Journey

An agent trying to use your product follows a journey with six stages. Your job is to optimize each one:

Discovery → Identity → Auth & Access → Integration → Errors & Recovery → End-User Experience

If an agent can't find you, nothing else matters. If it can find you but can't understand what you do, it picks someone else. If it understands but can't authenticate, it's stuck. If it can authenticate but the plumbing is broken, tasks fail silently. If the plumbing works but errors aren't recoverable, the agent gives up. If all the plumbing works but the final handoff to the human is broken, the whole loop collapses.

This guide walks through each stage in detail.

Contents

Foundations

  1. What is Agent Experience? — Why AX matters, the UX → DX → AX evolution, and how to think about agents as a user persona.

The Six Stages

  1. Discovery — Can agents find you? llms.txt, robots.txt, sitemap, AEO/GEO, structured data.
  2. Identity — Do agents understand what you do? Machine-readable descriptions, metadata, pricing, capabilities.
  3. Auth & Access — Can agents authenticate and act? OAuth, API keys, auth.md, scoped tokens, x402.
  4. Integration — Is the plumbing there? MCP, A2A, streaming, SDKs, function calling, webhooks.
  5. Errors & Recovery — Can agents self-heal? Typed errors, retry guidance, structured responses.

Architecture & Practice

  1. Agent-Native Architecture — Shared action models, agent UI parity, governed execution, cloneable apps.
  2. End-User Experience — Can humans interact through agents? Handoff flows, MCP Apps, activity transparency.
  3. Anti-Patterns — 25+ things that break agent experience on the web.
  4. Agent Readiness Checklist — A practical checklist to evaluate and improve your agent experience score.

Reference

  • References — Curated links, standards, and further reading.

Quick Start: 3 Things You Can Do Today

  1. Add /llms.txt to your site root describing what your site does and what agents can do there.
  2. Return typed errors with retry guidance from every API endpoint — not "something went wrong."
  3. Let agents authenticate with scoped API tokens instead of browser-only OAuth flows.

The AX Maturity Model

Level 0 — Invisible       Agents can't find or parse your site at all.
Level 1 — Discoverable    Agents can find you and understand what you do.
Level 2 — Accessible      Agents can authenticate and make basic API calls.
Level 3 — Integrated      Agents can use your tools, stream responses, recover from errors.
Level 4 — Agent-Ready     Agents can complete full workflows with human handoff.
Level 5 — Agent-Native    Agents and humans share the same action model, state, and permissions.

Most of the web sits at Level 0 or 1 today. This guide helps you move up.

Live Site

Read the guide at ax.wilsonhandbook.online

Switch between Human and Agent mode using the toggle in the top-right corner.

Contributing

This is an open project. PRs, issues, and discussions are welcome at GitHub Issues.

License

MIT

Acknowledgments

This guide draws on ideas and work from many sources including:

About

Agent Experience Guide — a practical, open-source handbook for making services agent-ready. Covers Discovery, Identity, Auth, Integration, Errors, and End-User Experience across 6 stages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors