evilmartians/agent-prism
React components for visualizing traces from AI agents
What it solves
AgentPrism solves the problem of debugging AI agents by transforming complex, JSON-heavy trace data into clear, visual diagrams. It prevents critical information about an agent's behavior—such as plans, actions, and retries—from being lost in raw logs.
How it works
It is a library of React components that visualizes traces from AI agents. It uses adapters to normalize data from sources like OpenTelemetry (OTLP) and Langfuse into a format optimized for UI rendering. These traces are then displayed in a hierarchical timeline, allowing users to see LLM calls, tool executions, and agent workflows.
Who it’s for
Developers building AI agents who need a visual way to inspect and debug their agentic workflows and trace data.
Highlights
- Comprehensive Visualization: Includes a
TraceViewerfor a complete interface, or individual components likeTraceList,TreeView, andDetailsViewfor custom layouts. - Broad Data Support: Provides built-in adapters for OpenTelemetry and Langfuse formats.
- Semantic Convention Support: Recognizes standard GenAI attributes (e.g.,
gen_ai.*,llm.*,retrieval.*) to display model, tokens, and costs. - Customizable Theming: Uses semantic tokens and Oklch colors for flexible styling via Tailwind CSS.
Related
- Project
- Project
- Project
- Project
- Project