Agent builder
A form for configuring an agent: instructions, model, tools and knowledge, with a test chat.
0 characters
Before you publish
- Give the agent a name, done
- Write instructions of at least a couple of sentences, still to do
- Give it a tool or some knowledge, done
Try it
Send a message to see how Billing helper answers with this setup.
When to use
- Letting users create and test their own assistants.
- Showing changes before they publish.
When not to use
- The settings are only a few toggles.
Installation
pnpm dlx shadcn@latest add @caliper/agent-builder
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
AgentBuilder
8 props
Keyboard
- Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It exposes group, log and status semantics, with aria-label, aria-labelledby, aria-pressed, aria-valuetext, aria-hidden and aria-live kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/agent-builder.mdThe index of every part is at /llms.txt.