Screens (56)
Agent Analytics
Agents / Model Usage — how a project's agents use AI models, in a single file.
Loading Agent Analytics…
Usage
import { AgentAnalyticsScreen } from "ui-kit/screens/agent-analytics";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Northwind" | The workspace in the sidebar |
project | string | — | The project in the head – its menu lists projects |
projects | { name: string; sub?: string }[] | PROJECTS | — |
models | AanModel[] | ((range: AanRange, project: string) => AanModel[]) | — | The models for a period – left out, a sample that scales with the period |
onProjectChange | (project: string) => void | — | For fixed datasets, supply the selected project and its models together. |
today | Date | — | The last day of the period – the chart's labels count back from it |
onTab | (tab: (typeof TABS)[number]) => void | — | Called when another tab is picked |
onExport | (range: AanRange) => void | — | — |
loading | boolean | false | Gray strip, chart and rows while the numbers load |
empty | boolean | false | No runs in this project yet |