Skip to content

AgentSessionList

Stable

A list of assistant tasks grouped by what they need, with a Peek panel to read the latest and reply.

Also known as agent runs, sessions, task list

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Tasks grouped by need

Needs input1 session

  • Find a cheaper flight12m

    Asking which dates work best.AI-generated

Working1 session

  • Sort the photo albums#12344m

    Grouping photos by year.AI-generated

Completed1 session

  • Update the guest list#12291h

    All addresses updated.AI-generated

Groups with no tasks are left out. Peek works on any row that has something to show.

When to use it

A home screen for assistants working in the background, sorted by what each one needs from you. Peek lets people read the latest and reply without leaving the list.

Made of: Group heading with count · Row (status icon, name, link label, age, Peek) · Summary written by AI · Peek panel (update or question, wait time, reply box) · Spoken update

Use it for

  • Showing several assistant tasks at once, grouped into needs input, working, ready for review and completed.
  • Answering a waiting assistant straight from the list.
  • Showing a one-line summary, written by the assistant, for each task.

Not for

Do and avoid

Needs input1 session

  • Trip plan4m

    Waiting for you to pick a hotelAI-generated

Completed1 session

  • Invoice tidy-up1h

    Sorted 32 invoices by clientAI-generated

Do. Runs that need you come first, and the rest stay calm.

Needs input2 sessions

  • Trip plan4m

    Still searching for flightsAI-generated

  • Invoice tidy-up9m

    Sorting invoices by clientAI-generated

Avoid. Busy runs marked as needing you teach people to ignore amber.

Do

  • Keep the AI-written label on summaries written by AI.
  • Put Needs input first so waiting tasks are easy to find.
  • Show how long a task has waited in the Peek panel.

Avoid

  • Don't remove the AI-written label from summaries written by AI.
  • Don't rely on heading color. The group name and count are words.
  • Don't use amber on rows that are not waiting for a person.

On a phone

  • Each row wraps, and the age and Peek button move under the name when the row is narrow.
  • Opening a peek shows a reply field that is 44px tall with 16px text on a touch screen, so the page does not zoom.
  • The summary and peek panel are indented 28px to line up with the name, which narrows them a little.

Seen in products

  • Claude Code `claude agents` is a table with the groups Pinned, Ready for review, Needs input, Working and Completed.
  • The Claude Code row shows a state icon (animated when working), a session name, a one-line status summary generated by a Haiku-class model, an age and a PR label (#1234).
  • Claude Code Peek shows the latest output or question, a reply field, the linked PR and the wait duration.
  • Claude Code also offers Attach, dispatching a new background session, pin, rename, reorder and stop.
  • Claude Code notifies on needs-input, finished and failed, and the tab title reads "N awaiting input". These are disabled under reduced-motion and screen-reader modes.
  • GitHub Copilot Agents Panel lists sessions across repositories with states active, stopped and archived.
  • OpenAI Codex cloud gives each task its own workspace that keeps working while the computer sleeps.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started