AgentIdentityBadge
stableThree-surface agent identity signal — inline @mention chip, card with capabilities, full sidebar panel. Encodes role, execution state, and approval-gated capabilities using semantic tokens.
import { AgentIdentityBadge } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
namereq | string | — | Agent display name |
rolereq | AgentRole | — | ORCHESTRATOR | EXECUTOR | OBSERVER | ADVISOR | VALIDATOR |
state | DotState | "idle" | Current execution state |
surface | AgentSurface | "card" | inline | card | panel |
model | string | — | Model powering this agent (shown in card/panel) |
capabilities | AgentCapability[] | [] | Capability list with requiresApproval flag |
lastActivityAt | string | — | ISO timestamp of last activity |
action | ReactNode | — | Custom action slot rendered at bottom of card/panel |
namerequiredType
stringDefault —Agent display name
rolerequiredType
AgentRoleDefault —ORCHESTRATOR | EXECUTOR | OBSERVER | ADVISOR | VALIDATOR
stateType
DotStateDefault "idle"Current execution state
surfaceType
AgentSurfaceDefault "card"inline | card | panel
modelType
stringDefault —Model powering this agent (shown in card/panel)
capabilitiesType
AgentCapability[]Default []Capability list with requiresApproval flag
lastActivityAtType
stringDefault —ISO timestamp of last activity
actionType
ReactNodeDefault —Custom action slot rendered at bottom of card/panel
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?