
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/agent-permissionsDecide what each mail agent may do: a matrix of capabilities by agent, each Off, Ask or Auto, read back as one plain sentence per agent. Guardrails cap daily sends, hold mail in quiet hours, ask before new recipients and limit forwarding domains. Outside agents connect over MCP with scoped keys you can revoke, and the same policy is shown as the JSON an agent runtime enforces.
Other props pass through to the root element.
value*
PermissionsValue
The saved policy. Edits stay a draft until Save.
onChange
(value: PermissionsValue) => void
The new saved policy, after Save or a revoke.
onAction
(action: MailAction) => void
{ type: "set_permission", actor, changes, policy } on save; { type: "set_permission", actor, revoke: agentId } on revoke.
agents
MailAgent[]
Default DEFAULT_AGENTS
actor
Actor
Default { kind: "human", name: "Ines Moreau" }
org
string
Default "Larkspur"
Your organization's name, for "Forward outside …".
mailbox
string
Default "ines@larkspur.co"
The mailbox these rules govern.
| Description | |||
|---|---|---|---|
| value* | PermissionsValue | – | The saved policy. Edits stay a draft until Save. |
| onChange | (value: PermissionsValue) => void | – | The new saved policy, after Save or a revoke. |
| onAction | (action: MailAction) => void | – |
|
| agents | MailAgent[] | DEFAULT_AGENTS | |
| actor | Actor | { kind: "human", name: "Ines Moreau" } | |
| org | string | "Larkspur" | Your organization's name, for "Forward outside …". |
| mailbox | string | "ines@larkspur.co" | The mailbox these rules govern. |