Intent Flow
Show the AI's intent detection step before it takes action.
In agentic UIs it is valuable to surface the AI's interpretation of a request before it executes. The Intent Flow pattern shows a detected intent badge, then reveals the tool call sequence and final response.
U
Deploy the API service to production
Intent detectedDeploy service
Output
{
"version": "v2.4.1",
"replicas": 3,
"duration": "42s"
}AI
Deployment complete. Version v2.4.1 is live across 3 replicas.
Steps
- User message — the user sends a natural-language request
- Intent badge — the AI detects an intent and surfaces it with a
Badgebefore acting - Tool calls — one or more
ToolCallcomponents show execution progress in real time - Assistant response — a final
ChatMessageconfirms the outcome
When to use
- When the AI is about to take a consequential or irreversible action (deployment, deletion, sending email)
- When the gap between what the user typed and what the AI does needs to be made visible
- In human-in-the-loop flows where the user may want to cancel before execution begins