N
Nyxis
Agents

AgentRoster

Multi-agent team view with search, status filters, and list/grid layouts.

Preview

Agents

5

Planner

done

Decomposes the task into subtasks.

Researcher

working

Gathers facts from the web and internal corpora.

Writer

idle

Synthesises findings into a final answer.

Critic

idle

Reviews drafts for accuracy and tone.

Fact-checker

blocked

Validates citations against sources.

Installation

pnpm add nyxis-ui

Usage

import { AgentRoster, type Agent } from 'nyxis-ui';

<AgentRoster agents={team} activeId={selectedId} onSelect={setSelectedId} layout="list" />;

Anatomy

  • Header: title + total agent count.
  • Search input filters by name, role, and model.
  • Status filters: clicking a <AgentStatusBadge> filters to that status only.
  • Layout switch: list (compact rows) or grid (2-column cards).
  • Active agent highlighted in primary tone.