DEV Community

Cover image for Your Codebase Needs AX Now: Designing Developer Experience for AI Coding Agents
Ayman Eldawy
Ayman Eldawy

Posted on

Your Codebase Needs AX Now: Designing Developer Experience for AI Coding Agents

Next.js benchmarked AI coding agents on real Next.js issues.

But the thing that caught my attention wasn't which agent won.

It was that several models performed better when they had access to AGENTS.md.

And that got me thinking.

Maybe the problem isn't always that we need a smarter AI model.

Maybe the agent just doesn't have enough context about the project and the technology it's working with.

For years, we've talked about **Developer Experience (DX).

  • Clear naming.
  • Understandable architecture.
  • Good documentation.
  • Tests that tell you when you broke something.
  • Predictable commands for running and building the project.
  • Logs that help you figure out what went wrong.

All of this reduces the time a developer needs to understand a codebase and actually start working with it.

But now there's someone else entering the codebase.

The AI agent.

And if every time it starts working, it first has to figure out:

  • How is this project structured?
  • Where should this change happen?
  • Which command should I run?
  • What patterns does this team follow?
  • How do I verify that my change is actually correct?

Then part of its work is spent discovering the environment before it can even start solving the problem.

That made me think of something similar to DX.

Maybe we can call it:

Agent Experience (AX).

Not because we should redesign our entire codebase specifically for AI.

But maybe projects that are already well-designed for developers need one extra layer to become easier for agents to understand too.

  • Clear context.
  • Accessible documentation.
  • Good tests.
  • Predictable commands.

Project rules that are written down instead of living only inside the team's heads.

The Next.js benchmark doesn't prove the idea of AX by itself.

Especially because part of the improvement from AGENTS.md comes from giving agents clearer access to documentation that matches the Next.js version they're working with.

But it does point to something interesting.

An agent's performance isn't only about how smart the model is.

The environment and context you give it matter too.

So maybe the question soon won't just be:

Which AI model is better at coding?

But also:

How easy is your codebase for an AI agent to understand?

And at that point, this starts looking less like an AI model problem...

and more like an architecture problem.

Do you think Agent Experience will become something we actually consider when designing software?

Top comments (1)

Collapse
 
jo-do profile image
Jo Do

The AGENTS.md result is the tell: models improved with context, not capability. The discovery tax you describe is the part most teams never meter - an agent that burns its first turns learning the repo layout, the build commands, and the team's patterns is doing work a well-written AGENTS.md hands it for free, and every session pays the tax again because nothing carries over. AX is a good name for the layer. The DX parallel holds one step further too: the teams that wrote good onboarding docs for humans are the ones whose agents ramp fastest, because an agent is just the newest new hire - one that reads everything and remembers nothing.