Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { useState } from "react"import { AiAgentRoster, AiAgentRosterHeader, AiAgentRosterContent, type RosterAgent,} from "@/components/elements/ai-agent-roster"const agents: RosterAgent[] = [ { id: "router", name: "Router", status: "active", model: "gpt-4o-mini", description: "Routes incoming requests to the right specialist.", matchOn: ["route", "triage"], }, { id: "coder", name: "Coder", status: "busy", model: "claude-sonnet", description: "Writes and reviews code changes.", matchOn: ["code", "bug", "refactor", "test"], }, { id: "writer", name: "Writer", status: "idle", model: "gpt-4o", matchOn: ["docs", "summary"], }, { id: "analyst", name: "Analyst", status: "offline", model: "local-llama", },]export default function AgentRosterDemo() { const [activeId, setActiveId] = useState("router") return ( <AiAgentRoster agents={agents} activeAgentId={activeId} onSelect={setActiveId} className="w-full max-w-md" > <AiAgentRosterHeader /> <AiAgentRosterContent /> </AiAgentRoster> )}