---
title: "A developer can ask. An agent cannot."
description: "A developer recovers an unspecified choice by asking a person. An agent stops or guesses. Publish the choice in the doc, the sample, and the error."
canonical: "https://www.agentrail.co/blog/agent-experience-vs-developer-experience?h=BH5FGSGR9GMQH008"
author: "Vivek Mittal"
published: "2026-11-29T04:30+00:00"
last_updated: "2026-11-29T16:33:09.953Z"
---

# A developer can ask. An agent cannot.

A developer recovers an unspecified choice by asking a person. An agent stops or guesses. Publish the choice in the doc, the sample, and the error.

A developer recovers an unspecified choice by asking a person. An agent cannot. When the doc, the sample, and the error leave the choice open, the agent stops, or it sends a value you never published.

[Agent experience](https://www.agentrail.co/blog/agent-experience?h=BH5FGSGR9GMQH016) is whether that agent finished the task. This page owns the contrast with a developer who can still ask.

> **Key Takeaways**
>
> • A developer fills a missing choice by asking a person. An agent has no one to ask in the turn.
>
> • An unspecified choice ends the task, or the agent supplies a value the page never named.
>
> • Docs and errors still carry over. They have to name the choice without a follow-up question.
>
> • Put the same task side by side. The paths diverge at the first open choice.
>
> • The first measurement is the unfinished task. The metric set stays on another page.

## A developer fills the gap by asking

Developer experience includes a second channel. The developer reads a sample, notices the region is missing, and asks in chat, in a ticket, or on the review. Someone who knows the product answers. The task continues.

That question is the gap the page left open. The page did not have to be complete, because a person could finish it. A colleague, a support thread, or the author of the sample supplies the region, the version, or which of two endpoints is current.

The question is often small. Which environment. Which value from an enum. Whether a second write creates a second record. Whether the old method still works. A person can hold the task open while they wait. The wait is part of the developer's afternoon. It is a failure only when the person gives up.

You still write for that person. A doc can point at a discussion, a changelog written as a story, or a line that says to ask an admin which region the org uses. A developer can follow that sentence. They know who the admin is. They can wait for the reply.

The same sentence ends an agent turn. There is no admin beside the call. There is no chat window the model can ping. The agent has the text you published and the body you returned. If those two texts don't name the choice, the developer path and the agent path have already split.

Treat every "ask someone" line as a choice you have not written down. A support macro that says "contact us for the right endpoint" works for a person with an account. It publishes nothing the agent can send. Replace the macro with the endpoint, the field, and the value.

## An unspecified choice ends the agent task

An unspecified choice is a decision the task requires and that no doc, error, flag, or tool text names. The agent doesn't ask which one you meant. It ends the task, or it fills the blank from an older sample, a nearby default, or a value that merely looks legal.

Ending the task is a stop. The agent tells the user it cannot proceed, or it returns without a record. Filling the blank looks like progress. The call goes out with a region, a version, or a retry behavior you didn't choose. Both are substitutes for the question a developer would have asked.

The three places a task dies stay on [why AI agents fail tasks](https://www.agentrail.co/blog/why-ai-agents-fail-tasks?h=BH5FGSGR9GMQH024). An unspecified choice can sit inside a missing doc or an unusable error. This page stays on the contrast. The developer would have asked. The agent will not.

Name the choice where the agent is already reading. If the sample creates a customer, the sample includes the region. If two methods exist, the page names the one to call and the one to leave. If a write can be repeated, the page says whether a second call creates a second object. A paragraph that says "it depends" is a request for a person.

Defaults belong in the text. "Omit region and the server uses us" is a specified choice. "Pick the right region for your users" is not. The agent cannot interview your users, and it shouldn't invent a region that happens to validate.

A guess can still be accepted. The API returns success. The record sits in the wrong environment. The transcript says the task is done. You only catch that if you compare the value in the call with the choice you meant to publish. An accepted request is not proof the page specified the choice.

Write the choice as a constraint. "region is us or eu" can be followed. "Use a sensible region" cannot. Sensible is a conversation. The enum is a fact.

Silence is a choice you didn't mean to publish. If the field is optional and the server applies a default, say the default. If the field is required and there is no default, say required. An omitted sentence forces the agent to guess which of those two you meant.

## Docs and errors still carry over

The pages you wrote for developers are the pages the agent reads. A clear human doc still does the work. It becomes the brief. What changes is the follow-up. A developer who finds a vague sentence asks the author. An agent treats that sentence as the whole instruction.

Errors carry over the same way. A developer who sees "invalid request" pastes it into a channel and asks what to change. An agent needs the correction in the body it is holding. On 11 September 2025, Anthropic's essay on writing tools says validation errors should state the correction and include one correct example ([Writing tools for agents](https://www.anthropic.com/engineering/writing-tools-for-agents)). That example is the answer a teammate would have typed. Put it in the response.

The edit, once you know which sentence or which error the agent hit, stays on [agent experience optimization](https://www.agentrail.co/blog/agent-experience-optimization?h=BH5FGSGR9GMQH032). This page doesn't pick the patch. It says why the developer survived the same page.

Comments, screenshots, and "see the dashboard" don't transfer. A developer opens the dashboard and asks a teammate what the chart implies. An agent that receives a screenshot, or a URL that only renders after login, never gets the choice. Write the choice as text beside the call.

Version notes carry over when they name the current method in a sentence the agent can quote. A changelog that says the team reworked billing, with details in a meeting, is a talk for people. A line that says to call `POST /v2/customers` and to stop calling `POST /v1/customers` is a choice.

Examples inside a paragraph do more work than adjectives around them. One request, with the real field names, names the choice. If the example is old, the agent will still copy it. Currency of the sample is part of the choice.

Error text that tells the agent to "try again" without a change repeats the unspecified call. Say what to change, and show one value that would pass, as that Anthropic note describes. A developer can infer the rest from experience. An agent infers a new payload. If you didn't name the field, the new payload is another guess.

## The same task, side by side

Take one task. Create a customer in the account's region, with an email, and don't create a second customer if the call is repeated. A developer and an agent can start from the same README. The README decides whether they can finish.

| Open choice | What the developer does | What the agent does |
| --- | --- | --- |
| The sample omits `region` | Asks which region the account uses | Stops, or sends a region the sample never named |
| The error says `invalid request` | Asks the author which field failed | Sends another call with the same gap |
| Two create methods are both documented | Asks which method is current | Calls the method in the copied sample |
| A repeat might create a second customer | Asks whether the write is safe to repeat | Sends the write again under a new guess |
| The fix lives on a dashboard screen | Opens the screen and asks a teammate | Holds the URL and cannot ask the screen |

Read the table as a worksheet. Fill the right-hand column from a transcript you already have. If you don't have one, leave the cell blank. A blank cell is honest. A made-up rate is not.

The developer path spends time in conversation and little time in ambiguity. Asking costs a thread. The agent path spends no time asking. It finishes only when every row's choice was already on the page. A fast call with the wrong region is a different failure from a slow question. It still needs a fix.

Walk one row with the people who own the doc and the API. Start with region. If a human would ask in chat, the sample is unspecified. Add the region to the sample, or add one sentence that names the default. Then both readers see the same choice.

The unspecified version is one a developer can survive.

`Create a customer in the right region for your users.`

`Contact support if you are unsure which endpoint is current.`

`Retries are fine if you are careful.`

The same task with the choices written down looks like this.

`POST /v2/customers`

`Required: email, region`

`region is us or eu`

`If you omit region, the server uses us`

`Do not call POST /v1/customers`

`A repeat of the same create must not insert a second customer`

The second box is something an agent can follow without a person. It closes the questions the first box pushed into chat. How a repeated write is stored stays on [write endpoints an agent will call twice](https://www.agentrail.co/blog/idempotent-api-for-ai-agents?h=BH5FGSGR9GMQH040). The point here is that the developer would have asked, and the page should already answer.

## The first measurement is the unfinished task

The first count is a task that started and didn't finish because a choice was still open. A survey of developers will miss it. The developer who asked and continued looks satisfied. The agent that stopped never files that survey.

The metric set around completion, the dead step, and the rest stays on [how to measure agent experience](https://www.agentrail.co/blog/how-to-measure-agent-experience?h=BH5FGSGR9GMQH05Y). This page names the first reading. An unfinished task, with the open choice written beside it.

A journey can show the ask that never happened. The developer path has a message to a person. The agent path has a stop, or a call that carries a value you didn't publish. Seeing those steps as one task stays on [agent journey analytics](https://www.agentrail.co/blog/agent-journey-analytics?h=BH5FGSGR9GMQH06W). Keep them off a single docs-quality score.

When you have no production tasks yet, read the page the way an agent will. Mark every sentence that only works if someone can ask a follow-up. Those sentences are the backlog. Each one is a choice to publish, or a default to name, before you add another guide.

A finished task with a guessed value is the quiet case. Count it only when you can see the value. If the region on the record isn't the region your doc now states, the task didn't follow a specified choice. It followed a guess the server accepted. That belongs next to unfinished, as a review item, until the page and the record agree.

## Frequently Asked Questions

### Is agent experience the same as developer experience?

Developer experience includes a person who can ask. The agent path has that person removed. The definition of agent experience stays on the [agent experience](https://www.agentrail.co/blog/agent-experience?h=BH5FGSGR9GMQH016) page.

### Should we delete the human docs?

Keep them. The agent reads those docs. Rewrite the sentences that resolve only if someone can answer a follow-up.

### What if the agent guesses a value the API accepts?

A legal value can still be the wrong choice. Compare the value in the call with the choice you meant to publish. Success status doesn't prove the page was specific.

### Where do the three failure classes belong?

A missing doc, an unusable error, and an auth wall stay on [why AI agents fail tasks](https://www.agentrail.co/blog/why-ai-agents-fail-tasks?h=BH5FGSGR9GMQH024). Use that page for the class. Use this page for the contrast with a developer who would have asked.

Publish the choice the developer would have asked for. Put it in the sample, in the error, and in the sentence that names the current method. Then look for the task that still stops with that choice open.

When you want a public read of the surface an agent can fetch before that task shows up, use the [agent readiness checker](https://www.agentrail.co/agent-readiness/checker?h=BH5FGSGR9GMQH07T).
