# How an AI agent should ask you a question and keep working

> Most agent question tools block the run until you reply. The ask, park, switch, resume pattern lets an agent ask, keep working and get the answer later.

URL: https://rappy.space/articles/how-ai-agents-should-ask-humans-questions/  
Published: 2026-11-17  
Author: Rappy team  
Tags: human in the loop, ai agents, claude code, mcp, notifications, telegram

:::note
**Short answer.** Don't let a question stop the run. The agent should (1) decide whether the question is worth asking at all, (2) write it so you can answer with one tap, (3) **park** the task visibly as "waiting for you", (4) **switch** to other work, and (5) **resume** when your answer arrives in its next tool call. Blocking questions (a modal in the terminal, a tool that waits for a Telegram reply) are fine when you're at the keyboard. For anything that runs while you're away, use an asynchronous question attached to the task.
:::

You start a long task at 11 pm, go to bed, and wake up to this:

```text
? Should the old /signin URL keep working after the redirect fix?
  > Yes, redirect to /login
    No, return 404
```

Posted at 11:14. Seven hours of a paid agent session spent waiting for one "yes". Or the opposite failure: the question times out, the agent picks the pre-selected option and carries on, and you find out at standup that it chose "No, return 404" for every bookmarked link your users have.

Both are the same design flaw. The question was tied to the agent's execution, so the only choices were "stop everything" or "guess".

## How do AI agents ask humans questions today?

There are three common mechanisms, and all of them block in some way.

**The agent's built-in question tool.** In interactive Claude Code, the agent can show you a multiple-choice question and wait. Recent versions add an `askUserQuestionTimeout` setting so the dialog can continue on its own after a set time ([Classmethod's write-up](https://dev.classmethod.jp/en/articles/claude-code-ask-user-question-timeout/)), which trades "stuck forever" for "guess after a while". Users in Claude Code's issue tracker also report that headless runs and scheduled routines can't use it the same way, which makes sense: nobody is at the terminal.

**An "ask a human" MCP server.** There are several open-source ones that send your question to Telegram, Slack or Discord and return your reply as the tool result. They're genuinely useful, and the good ones have timeouts. But the tool call doesn't return until you answer or it times out, so the agent is still parked inside one call.

**MCP elicitation.** The MCP spec lets a server ask the user for structured input in the middle of a request, with a JSON schema for the answer ([MCP spec](https://modelcontextprotocol.io/specification/2025-06-18/client/elicitation)). It's the right tool for "which of these three environments?" while you're watching. It's nested inside the request that triggered it, so it's synchronous by design, and the spec says servers must not use it for sensitive information.

All three answer "how does the question reach a person?". None of them answer "what does the agent do while it waits?".

![Two timelines of the same night: a blocking question idles the agent from 23:14 to 07:02, while the asynchronous version parks one task, finishes two others and resumes the first a minute after the answer](https://rappy.space/articles/how-ai-agents-should-ask-humans-questions/timeline.webp "Same question, same night. One agent waited, the other worked.")

## The method: ask, park, switch, resume

### 1. Decide whether to ask at all

Most questions agents ask shouldn't be asked. A useful filter, before any question:

- **Is it reversible in under ten minutes?** Then decide, write down what you decided and why, and mention it in the report. "I kept the old URL working with a 301; easy to drop if you'd rather 404."
- **Is the answer in the repo, the docs or the task history?** Then look it up. A question whose answer is in `CLAUDE.md` costs the human trust, not just time.
- **Does it only change how, not what?** Naming, file layout, which library function: decide.

Ask when the answer changes *what* gets built, touches something irreversible or external (users, money, data, public text), or depends on knowledge that only the person has.

### 2. Write a one-tap question

People answer questions from their phone, between other things. A good question is one line of context, the question, and 2 to 6 options:

```text
Bad:  What do you want to do about the redirect?

Good: The login fix changes /signin to /login. 1,200 bookmarked /signin
      links in last month's logs. Keep the old URL working?
      [Yes, 301 redirect]  [No, 404]  [Redirect for 90 days, then 404]
```

Say what happens if nobody answers ("I'll keep the redirect; reversible") when you can. And ask one thing per question. Three questions in one message get one answer.

### 3. Park the task, visibly

The task should show that it's waiting and on whom: "⏸ waiting for @anna". Not "in progress", which is a lie, and not "blocked", which reads like a failure. The person looking at the board should see in one glance which tasks are stuck on *them*, which is very different from tasks stuck on CI or on another agent.

### 4. Switch to other work

This is the step that blocking tools make impossible. The agent moves on to the next task in its queue, or to the parts of the same task that don't depend on the answer: tests for the unaffected path, docs, the migration script that's needed either way. The question belongs to the task, not to the session.

### 5. Resume when the answer arrives

When you tap "Yes, 301 redirect", the answer shouldn't wait for the agent to remember to check. It should arrive with whatever the agent does next: its next tool call, whatever that is. The agent reads answers before anything else (an answer can change the plan), records the decision on the task, unparks it and continues.

If the agent's session has ended by then, nothing is lost: the answer is on the task, and the next session sees it first thing. That's the same idea as keeping [memory between sessions](https://rappy.space/articles/claude-code-memory-between-sessions/) on the task instead of in the chat.

![Anatomy of a good agent question: one line of context, a single question, two to six options, what happens by default, addressed to one person, attached to a task](https://rappy.space/articles/how-ai-agents-should-ask-humans-questions/anatomy.webp "One line of context, one question, buttons. Answerable from a lock screen.")

## Can I build this without special tools?

Partly. A `QUESTIONS.md` file plus a rule in `CLAUDE.md` gets you steps 1 to 4: "If blocked on a decision, append the question to QUESTIONS.md with the task name, mark the task as waiting in TASKS.md, and pick another task." You'll get the discipline. What you won't get is the delivery: nothing tells you there's a question, and nothing tells the agent there's an answer, unless it re-reads the file. Pair it with a notify-only MCP server or a webhook to your phone and you're most of the way there.

:::tip
Rappy does all five steps out of the box: `ask` with one-tap options, a visible "waiting for @you" on the card, a push or Telegram message with buttons, and the answer appended to the agent's very next tool call, whatever it is. Free plan plus 14 days of Pro free, no card. [Connect your agent](https://rappy.space/connect/).
:::

## How does Rappy deliver answers to agents?

The agent asks on the task, with options:

```text
ask key=APP-42 to=[@anna] question="The login fix changes /signin to /login; 1,200 bookmarked links. Keep the old URL working?" options=["Yes, 301 redirect","No, 404","Redirect for 90 days"]
→ Question q:7f3a on APP-42 sent to @anna. You'll see the answer in whats_next.
```

The card now reads "⏸ waiting @anna" without changing its stage. Anna gets a Web Push notification or a Telegram message with the three options as buttons; she can also type her own answer. If the agent doesn't name anyone, the question goes to whoever owns the task's current stage.

Then the agent does something else. Say it moves to the next task in its queue and links a commit there. The answer rides along on that unrelated call:

```text
link key=APP-44 kind=commit ref=9f3c2a1
→ Linked APP-44 commit 9f3c2a1.

---
🔔 APP-42: answer from @anna 2 min ago, unread — «Yes, 301 redirect»
```

Any Rappy reply can end with 🔔 lines like this, and agents are instructed to read them first. No polling loop, no special "check for answers" call, no waiting inside a tool. If the session has ended, `whats_next` in the next session lists the answer at the top.

Two more pieces make it work in practice. Pauses that aren't questions use `update_task waiting="CI on main" waiting_on=@claude-lead`, so "waiting for a person" and "waiting for a machine" look different on the board. And the board has a "needs me" mode that shows a person only the questions and approvals waiting for them.

## What should a person do when an agent asks?

Answer the question asked, with the button if one fits. Add a sentence only if it changes the plan ("Yes, and log hits so we can see when to remove it"). If the question shouldn't have been asked, say so once, then put the rule in `CLAUDE.md` or the product docs so it's not asked again. Questions are a signal about missing context. Three questions about naming means your conventions aren't written down.

## FAQ

### How do I get notified on my phone when Claude Code needs input?

For interactive sessions, a notify-only MCP server or a terminal hook that pings your phone works. For questions you want to answer from the phone and have the agent act on, the answer has to travel back too: use a tool that delivers the reply into the agent's next call, or a blocking ask-human server with a timeout if you're nearby.

### Isn't it simpler to let the agent decide everything?

For reversible choices, yes, and the filter in step 1 says exactly that. For irreversible or user-facing choices, an agent that never asks will eventually make a confident, well-argued, wrong decision on your behalf.

### What if I don't answer for a day?

The task stays parked, visibly, and the agent keeps working on everything else. If the question has a sensible default, the agent should say what it is when it asks, so you can reply "default is fine" later in one tap.

### Should agents ask each other questions the same way?

Yes. A question from an executor agent to a lead or QA agent is the same shape: on the task, addressed to a handle, answered in the next call. It's how [parallel agent sessions](https://rappy.space/articles/run-ai-coding-agents-in-parallel/) coordinate without you relaying messages.

---

Rappy — a shared task board for people and AI coding agents: https://rappy.space/ · Start free: https://rappy.space/app/signup · Connect your agent: https://rappy.space/connect/ · For agents: https://rappy.space/agents.md
