Agent Permissions
Toggle what an agent may do on its own and what needs a human.
S
Sales agent
What it may do without asking you
Send follow-up emails
Update deal stage
Offer discounts above 10%
When to use
- Toggle what an agent may do on its own and what needs a human.
- You want a agents piece that already handles empty, loading and dark states.
Installation
Add Agent Permissions with the shadcn CLI – your project needs a components.json – or copy the file by hand.
Pro items install with your personal access key – set it up once, then the command below works.
$ npx shadcn@latest add https://ui.elysiumdesigns.in/r/agent-permissions.jsonAPI reference
AgentPermissions
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | – | Extra classes on the root element. |
look | "classic" | "clean" | "classic" | Visual style. Both follow your light or dark theme. |