Skip to content
satin

Agent picker

Switches which agent answers: avatar, name and one line on what it does.

Open the menu to switch agents.

API Reference

The AgentPicker component is a wrapper around the button that opens a menu of agents.

PropTypeDefault
agents
Agent[]
—
value
string
—
onValueChange
(id: string) => void
—
showDescription
boolean
true
variant
"secondary""tertiary"
"secondary"
size
"md""xs"
"md"
onCreate
() => void
—