Agent activity
What your agents did, by day: filters, Undo before its deadline, and Undone and Final steps.
Install
Not exported from agentic-ds-kit. add copies the source into your app (components/patterns/agent-activity/) with this contract beside it. You own the copy: replace the demo data, rearrange or drop sections, and keep the must lines.
Usage
What a copy keeps
The contract’s must lines: the kit look and accessibility. Ask before breaking one.
- Use kit components from agentic-ds-kit for anything the kit has; no local cousins (step rows, rails, undo buttons, badges, filter chips, toasts)
- Semantic tokens only (agentic-ds-kit/tokens.css); no raw hex, no primitive --color-* ramps
- No appearance="solid" mode="primary" Button on this page; Ask, Undo and Load earlier days are outline neutral
- Do not restyle kit components; change them through their props, slots, and tokens
- Render the page content inside a main landmark; the top bar is AppHeader (a header landmark), and below 640 its Menu IconButton (Open navigation) opens the nav in a kit Drawer. With topBar={false} the surrounding app shell gives the header and nav
- The steps are one kit ActivityFeed with variant="agent"; filter them in the page with a kit FilterBar and pass the filtered steps in
- Undo is offered only until its deadline, which shows beside it; after Undo the step shows Undone and a Toast says what stopped
- A step that can't be undone says Final and what to do instead; status is always a word (Undone, Final, On its own, Approved by), never colour alone
Defaults you can change
- Demo is Northwind's Collections and Invoicing agents over one week: 9 of 12 steps match, one can still be undone, one was undone, the rest are final
- The first page is the two newest days with a matching step; Load earlier days brings the rest
- The load error is a kit Alert (danger) with an outline Retry in place of the Card; the filtered empty state is a kit Empty with Clear filters
- Below 640 the subtitle drops "Newest first.", the count and Clear all hide, more than one picked value shows as a count, and the note on undone and final steps shortens to sit beside its Badge
Built from
Related
- Block
Activity feed
What people and agents did across the workspace, newest first and grouped by day.
- Component
Alert
Inline status banner that stays on the page.
- Component
AppHeader
Product top chrome: brand mark on the start, centered kit Input search, trailing actions.
- Component
Card
Framed tile with optional header, body, and footer actions.