DecisionCard
An agent presents a choice mid-run and waits: options with a recommended one, or a free-text answer.
Redirect, pause or stop an agent while it runs: a steer composer with quick steers, Pause / Resume and Stop with an optional AlertDialog confirm.
Redirect, pause or stop a running agent. Not DecisionCard. Not AgentPlan.
Type a steer and press Enter. Pause, resume, or stop (confirmed in an AlertDialog).
AgentSteering redirects a run in a sentence. Send is the one solid primary; Stop is outline danger and confirms in a kit AlertDialog when work can't be undone.
import { AgentSteering } from "agentic-ds-kit";From contracts/agentsteering.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| name | string | Yes | — | — |
| meta | string | No | — | e.g. "step 6 · editing invoice.ts". |
| status | running | paused | stopped | done | No | running | done disables steering; stopped shows the stopped line and Open trail. |
| elapsed | string | No | — | — |
| value | string | No | — | — |
| onValueChange | function | No | — | (value) => void. Quick steers fill the composer. |
| onSteer | function | No | — | (text) => void. The send button is the one solid primary; Enter sends. |
| sendAppearance | solid | soft | No | solid | soft when another solid primary shares the view (e.g. a Chat composer). |
| sending | boolean | No | false | — |
| applied | string | No | — | Success line after a steer, e.g. "focus on refunds · 14:03". |
| error | string | No | — | — |
| onRetry | function | No | — | — |
| suggestions | string[] | No | — | Quick steers: outline sm Buttons that fill the composer; they stay after a steer is applied. |
| onPause | function | No | — | — |
| pauseNote | string | No | — | What Pause does, in a tooltip on Pause, e.g. "Finishes this step, then pauses". Also linked with aria-describedby, so screen readers hear it on focus. |
| onResume | function | No | — | — |
| onStop | function | No | — | — |
| stopConfirm | object | No | — | { title, description } opens a kit AlertDialog (Keep running / Stop run) before onStop. |
| stoppedNote | string | No | — | — |
| onOpenTrail | function | No | — | — |
| loading | boolean | No | false | — |
An agent presents a choice mid-run and waits: options with a recommended one, or a free-text answer.
What an agent intends to do, before or during a run.
Assistant panel with a header, a thread, and a composer.
Must-choose overlay that interrupts until the user cancels or confirms.