For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt, and this page is available as Markdown at https://wallarm.github.io/design-system/components/agent-avatar.md.

AgentAvatar

The 3D character of an AI agent, for places with room to show who is working: team cards, the agent drawer and the empty chat. It starts at 40 px; below that, in text, chips and table rows, reach for the flat AgentGlyph. Its eyes carry the state and its prop tells the job, so status color never goes on the body. Size, motion and the contact shadow follow the place it sits in, and next to the agent’s visible name it is decorative.

Source · Storybook

Usage

import { AgentAvatar } from '@wallarm-org/design-system/AgentAvatar';

Examples

Cast

The cast of ten on duty at the team-card size. Each is told apart by its shape, color and prop; a planned agent says so after its role.

Beside text

Beside a name and role (the hover card), align='drawing' centres what is drawn, not the box: a short character no longer hangs below the text. Left: the box centred; right: the drawing.

States

Every state frame of the cast. The eyes and a few body cues carry the state; red and crosses never appear.

Partial coverage

Partial coverage: the agent covers only some of its applications, so the top of its head stays in gray felt.

Custom agent

Agents without a preset get a deterministic look from their uid, the same one their glyph shows.

Team

A full Agent team page: 16 cards opened with cold caches, the case the first-draw budget is set for.

Live states

Every persistent state of the cast, live, in one group. On duty plays its idle repertoire and glances at the neighbors; Needs you plays the same repertoire, looks at you between behaviors and is the only one that hops.

Beats

Hello (from On duty) and Done are one-shots: they play in full, then the character shows its state again.

Inviting

Not set up, inviting: one agent on the page invites at a time, glancing at Set up; hover or focus on it and the agent turns to it.

Activation

Activate: from Not set up the ghost lands, the color fills from the floor and the eyes power on (1.15 s).

Coverage

Cover all applications: the gray crown fills to the top in 480 ms and the agent plays Done. Hover or focus on the button raises the line first.

Many on screen

Fifteen live agents at 120 px, as on a full team page, with the engine's frame rate and JavaScript per frame.

Reduced motion

With motion off (the user's setting, or reduced motion in the system) every live agent shows its static frame.

Props

PropTypeDefaultDescription
idstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
typestring | undefined
namestring | undefined
heightstring | number | undefined
maxstring | number | undefined
minstring | number | undefined
targetstring | undefined
widthstring | number | undefined
hrefstring | undefined
seed *string | number | undefined
agentAgentCharacterId
lookundefined
size *AgentAvatarSizeSet per place (see PLACES): 40 Overview rows, 48 headers and toasts, 56 beside people and in the hover card, 72 cards and the drawer, 120 the empty chat, 128 the product's Agent team card and drawer header.
stateAgentAvatarState | undefinedidle
hasApplicationsboolean | undefinedfalseThe agent's template has applications (applications_scoped): only then can it show Partial coverage.
coverage"full" | "partial" | undefinedfullpartial keeps the top of the head in grey felt, in every state but Deactivated.
shadowboolean | undefinedfalseThe contact shadow: the drawer header, the empty chat and 96 px and up (D1).
align"box" | "drawing" | undefinedboxdrawing centres the character's visible drawing, not its box, on the row: beside a name and role, where a short character (Sift, Tune, Lens) would hang below the text. Moves the drawing only; the box keeps its size and place. Presets only (a custom look stays where its box is). Default box.
labelstring | undefinedSet when the character stands alone; leave unset next to the agent's visible name (decorative).
liveboolean | undefinedfalseAnimated, set per place (40 Overview rows, 56 the hover card, 72 cards and the drawer, 120 the empty chat). Static under reduced motion or when motion is switched off (setAgentMotion).
handleRefRef<AgentAvatarHandle> | undefinedBeats and Cover all: play('hello' | 'done'), coverAll(), cueHover(on).
onBeatEnd((beat: AgentAvatarBeat) => void) | undefinedAfter Hello or Done has played in full; the character shows state again.
cueRefRefObject<HTMLElement | null> | undefinedThe Set up (or Cover all) control: Inviting glances at it; hover and focus on it are followed.