evilmartians/agent-prism

React components for visualizing traces from AI agents

What it solves

AgentPrism addresses the difficulty of debugging AI agents by transforming complex, JSON-heavy agentic traces into clear, visual diagrams. It prevents critical information about an agent's behavior—such as planning, actions, and retries—from being lost in raw data logs.

How it works

It is a library of React components that visualizes traces using a hierarchical timeline. The library provides adapters to normalize data from sources like OpenTelemetry and Langfuse into a standard format that the UI components can render. Users can either use the high-level TraceViewer component for a complete interface or assemble custom layouts using individual components like TraceList, TreeView, and DetailsView.

Who it’s for

Developers building AI agents who need a visual way to inspect LLM calls, tool executions, and agent workflows to debug their systems more efficiently.

Highlights

  • Multi-format support: Includes adapters for OpenTelemetry (OTLP) and Langfuse data.
  • Hierarchical visualization: Displays agent processes as a tree view with search and expand/collapse functionality.
  • Detailed inspection: A dedicated details panel for inspecting individual span attributes, including token usage and costs.
  • Customizable UI: Built with React 19, Tailwind CSS, and Radix UI, allowing for full theming via semantic tokens.

Related

  • Project
  • Project
  • Project
  • Project
  • Project