Skip to content

AgentQuestionCard

Stable

The assistant asks you a question in the middle of a task, with quick answers.

Also known as clarifying question, agent question, ask user, human input request

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Choose an approach

Choose an approachTrip plan

Should I plan the trip around museums or the beach?

Tap a choice. The card collapses to a summary and Change reopens it.

When to use it

The assistant stops to ask instead of guessing. A label says why it is asking, and quick choices, a typed answer, Let the agent decide and Skip mean the person is never stuck.

Made of: Reason label · Run name · Question · Two to four choices · Own-answer box and Send · Let the agent decide · Skip · Summary after answering

Use it for

  • Asking the person to choose between two to four approaches.
  • Asking for a fact the assistant cannot find itself.
  • Asking someone to sign in, or to confirm a risky step, before the assistant goes on.

Not for

Do and avoid

Choose an approachTrip plan

Which hotel should I book?

Do. Asks only what it cannot know, with clear choices to pick from.
Needs informationTrip plan

What time zone is Lisbon in?

Avoid. Asking what it could look up itself wastes the person's time.

Do

  • Ask only when a wrong guess would cost the person time or money.
  • Write the question so it can be answered without reading the log.
  • Give two to four choices that really differ, and say how in one line.
  • Always offer Let the agent decide and Skip.

Avoid

  • Do not ask for passwords or codes in the text box.
  • Do not use amber on a card that is already answered.
  • Do not ask about things the assistant can find out itself.
  • Do not stack many question cards at once. Use the inbox instead.

On a phone

  • The answer options stack in one column on a phone and move to two columns from 640px wide.
  • The text field is 44px tall with 16px text on a touch screen, and the Send button wraps below it when the row is narrow.
  • Let the agent decide and Skip are buttons that wrap, so they stay reachable without scrolling sideways.

Seen in products

  • Anthropic: on the hardest tasks the agent asks for clarification more than twice as often as on simple ones, and more often than people interrupt it.
  • Anthropic gives the reasons for asking: proposing approaches 35%, gathering diagnostics 21%, requesting credentials 12%.
  • Claude Code agent view: a peek panel shows the exact question, the wait time and a reply box with numbered choices.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started