Back to components

AI Interfaces

Tool Health Matrix

A runtime dependency matrix showing tool success rate, P95 latency, and degraded states for agent operations.

toolshealthobservability

Installation

Copy and paste the code into your project.

Accessibility notes

Tool state, success rate, and latency are all readable text values, so status does not depend on the indicator color.

Tool health

Runtime dependencies

Last 15m
ToolSuccessP95
Search
Healthy
99.8%410ms
CRM
Healthy
98.7%620ms
Billing
Watch
94.1%1.4s

Preview accent

TypeScript
const tools = [{ name: "Search", success: "99.8%", latency: "410ms", state: "Healthy" }, { name: "CRM", success: "98.7%", latency: "620ms", state: "Healthy" }, { name: "Billing", success: "94.1%", latency: "1.4s", state: "Watch" }];

export function ToolHealthMatrix() {
  return <ul>{tools.map((tool) => <li key={tool.name}>{tool.name}: {tool.success} · {tool.latency} · {tool.state}</li>)}</ul>;
}
Usage
<ToolHealthMatrix />

Related components

Agent activity

3 tool calls

live
  1. 1

    search_docs

    design system tokens

    128ms
  2. 2

    read_file

    components/card.tsx

    42ms
  3. …

    write_patch

    3 changes proposed

    running

AI Interfaces

Tool Call Inspector

Intermediate

A live execution trace for agent tools, file operations, and long-running tasks.

agenttoolsobservability
View component

Latency waterfall

Tool execution path

1.42s total
  1. Search420ms
  2. Database710ms
  3. Formatter290ms

Database lookup owns 50% of the critical path.

AI Interfaces

Tool Latency Waterfall

Advanced

A critical-path timeline showing overlapping tool calls, blocking work, and total response latency.

toolslatencyobservability
View component

Context window

25.4k / 32k

79% used
System
4.2k
Conversation
12.8k
Sources
8.4k

6.6k tokens available for response

AI Interfaces

Context Window Meter

Intermediate

A token allocation breakdown for system instructions, conversation history, and retrieved sources.

tokenscontextobservability
View component