SkillsMay 12, 2026·2 min read

AgentPrism — Visualize AI Agent Traces

AgentPrism is an open-source set of React components for visualizing AI agent traces, turning OpenTelemetry spans into debuggable diagrams and timelines.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Direct install command
npx -y tokrepo@latest install 5747e7db-c58d-577b-9049-4ac7998beb5a --target codex

Run after dry-run confirms the install plan.

Intro

AgentPrism is an open-source set of React components for visualizing AI agent traces, turning OpenTelemetry spans into debuggable diagrams and timelines.

  • Best for: Debugging complex tool-using agents with trace-first workflows
  • Works with: React 19+; TypeScript; Tailwind CSS 3; OpenTelemetry data adapters (per README)
  • Setup time: 20–50 minutes

Practical Notes

  • GitHub: 341 stars · 16 forks; pushed 2026-04-14 (verified via GitHub API).
  • README provides a live demo and a Storybook site for component exploration.
  • README suggests using TraceViewer plus an OpenTelemetry span adapter to convert raw trace docs into UI spans.

Main

A trace debugging workflow that scales:

  1. Add a trace ID to every user request, and propagate it through tools and agent retries.
  2. Normalize spans so your UI always shows: plan → tool call → model call → result.
  3. Annotate spans with costs (tokens/latency) so “slow” and “expensive” paths are obvious.
  4. Keep a “known good” trace for each feature—use it as a regression fixture when prompts change.

The payoff is faster iteration: you can fix a broken agent by looking at one timeline instead of many logs.

FAQ

Q: Is it production-ready? A: README marks it as an alpha release; expect API changes and pin versions when adopting.

Q: Do I need OpenTelemetry? A: No, but README shows adapters for OpenTelemetry spans; any trace format can be converted.

Q: What is the simplest component to start with? A: README suggests TraceViewer, which provides a complete trace UI surface.

🙏

Source & Thanks

Source: https://github.com/evilmartians/agent-prism > License: MIT > GitHub stars: 341 · forks: 18

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets