Agent input

AgentInput is the web/desktop composer: a floating card with the field on top and a toolbar below — the + Add menu on the left, model picker, mic and Send on the right. Send becomes Stop while the agent runs. MinimizedAgent is the floating button the agent collapses to when the app is minimized. See the full agent thread example.

Agent input

Local token usage: 200

<AgentInput
  onSubmit={(text) => send(text)}
  running={isRunning}
  onStop={stop}
  leading={<AddMenu />}                 // DropdownMenu: Add image or file · Skills ›
  trailing={<><ModelPicker /><MicButton /></>}
  meta="Local token usage: 200"
/>

Inline layout

<AgentInput layout="inline" leading={<AddMenu />} placeholder="Ask a follow-up" />

Minimized agent

idle
working
needs-you
<MinimizedAgent icon={<AgentMark />} state="idle" label="Open Liquid" />
<MinimizedAgent icon={<AgentMark />} state="working" label="Open Liquid" />
<MinimizedAgent icon={<AgentMark />} state="needs-you" label="Open Liquid" />

// In an app: pin it bottom-right while minimized
<MinimizedAgent icon={<AgentMark />} state={status} floating onClick={restore} />