AgentCard
stableAgent identity card with trust level, status, and expandable permissions
import { AgentCard } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
namereq | string | — | Agent display name |
state | DotState | "idle" | Current agent state |
trustLevel | 1 | 2 | 3 | 4 | 5 | 3 | Trust/authorization level |
permissions | string[] | [] | List of granted permissions |
lastActivity | string | — | Last action timestamp |
model | string | — | Model identifier |
action | ReactNode | — | Primary action button |
secondaryActions | ReactNode | — | Overflow menu items |
onClick | () => void | — | Card click handler |
namerequiredType
stringDefault —Agent display name
stateType
DotStateDefault "idle"Current agent state
trustLevelType
1 | 2 | 3 | 4 | 5Default 3Trust/authorization level
permissionsType
string[]Default []List of granted permissions
lastActivityType
stringDefault —Last action timestamp
modelType
stringDefault —Model identifier
actionType
ReactNodeDefault —Primary action button
secondaryActionsType
ReactNodeDefault —Overflow menu items
onClickType
() => voidDefault —Card click handler
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?