# AX

> Agent experience: how well the environment is set up for an agent to do good work — checks, architecture, and free context.

Agent experience — how well the [environment](https://ai9k.vercel.app/en/environment) is set up for an [agent](https://ai9k.vercel.app/en/agent) to do good work in a codebase. The agent-facing counterpart to [DX](https://ai9k.vercel.app/en/dx). When the same agent performs well in one repo and badly in another — same [model](https://ai9k.vercel.app/en/model), same [harness](https://ai9k.vercel.app/en/harness) — the difference is usually AX. The instinct is to blame the model or rewrite the prompt; the fix is more often in the repo.

Good AX has three main dimensions:

| Dimension        | What good AX looks like                                                                                                                                                                                                                              |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Automated checks | Fast, deterministic [automated checks](https://ai9k.vercel.app/en/automated-check) — types, tests, lints — that the agent can self-correct from without a human                                                                                                          |
| Architecture     | A codebase the agent can navigate without reading everything: predictable structure, a lot of behaviour behind small interfaces, names that say what things do                                                                                       |
| Free context     | [AGENTS.md](https://ai9k.vercel.app/en/agentsmd), [skills](https://ai9k.vercel.app/en/skill), and [tools](https://ai9k.vercel.app/en/tool) kept lean, so most of the [context window](https://ai9k.vercel.app/en/context-window) is available for the task and the agent stays in the [smart zone](https://ai9k.vercel.app/en/smart-zone) instead of drowning |

AX and DX overlap — good checks and clean architecture help both audiences — but they diverge. Humans tolerate tribal knowledge, slow CI, and "ask Sarah about the billing module"; agents can't. Agents don't benefit from IDE tooltips or pretty dashboards; they need failures as text in a [tool result](https://ai9k.vercel.app/en/tool-result). A codebase can have good DX and poor AX.

_Avoid:_ treating AX as a synonym for DX — the audiences need different investments.

**Usage**

"The agent writes great code in the API repo and garbage in the frontend."

"The API repo has strict types and a fast test suite; the frontend has neither and forty always-loaded skills. That's an AX gap, not a model problem."

---

- Section 7 — Patterns of Work · Term 70 of 72
- Page: https://ai9k.vercel.app/en/ax
- Learn step by step: https://ai9k.vercel.app/en/learn#/ax
- On the map: https://ai9k.vercel.app/en?term=ax
- JSON: https://ai9k.vercel.app/data/terms/ax.json
- Mentioned in: [Environment](https://ai9k.vercel.app/en/environment.md), [AFK](https://ai9k.vercel.app/en/afk.md), [Automated check](https://ai9k.vercel.app/en/automated-check.md), [DX](https://ai9k.vercel.app/en/dx.md)
- Previous: [DX](https://ai9k.vercel.app/en/dx.md)
- Next: [Software factory](https://ai9k.vercel.app/en/software-factory.md)

Every term page has a markdown copy: add .md to its address.
