Agent Lens — AI skill for Claude Code
Self-hosted observability and evaluation dashboard for multi-agent systems.
How to install Agent Lens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RitikPatill/agent-lens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Lens does
Self-hosted observability and evaluation dashboard for multi-agent systems. Instrument agents with a Python SDK to trace LLM calls, tool calls, and handoffs; view interactive timelines and call trees in the React dashboard; evaluate runs using Claude-as-judge rubrics.
Alternatives in AI
- Agenttrail — Local observability map for AI coding agents 269 ★
- Repo Atlas — A Claude Code skill that builds a persistent context system (atlas) for any git repository — directory trees 41 ★
- AI Agent Platform — AI agent platform for building multi-agent systems with orchestration, memory, RAG, workflows, and enterprise 35 ★
README
AgentLens
**Video walkthrough:** https://youtu.be/ZLOEF98tE9k **60-second overview:** https://youtu.be/s48Y7D9n-N4
Self-hosted observability + LLM-as-judge eval dashboard for multi-agent runs: live traces, call trees, tool I/O, and inline rubric scoring.

What it is
AgentLens makes multi-agent systems observable and evaluable without sending data to a third party. Wrap agent functions with a `@traced` decorator and every LLM call, tool invocation, agent handoff, and retry becomes a structured span. A React dashboard renders runs as an interactive Gantt timeline and hierarchical call tree, with per-span panels showing the exact prompt, output, tool call JSON, token counts, and latency.
On top of raw tracing, AgentLens ships a rubric-based eval harness. Define YAML rubrics describing what a good run looks like — "did the agent cite its sources?", "did it avoid redundant tool calls?" — and AgentLens runs Claude-as-judge against each completed trace. Pass/fail results with the judge's reasoning appear inline next to the trace that produced them.
Quickstart
git clone https://github.com/RitikPatill/agent-lens.git
cd agent-lens
# Install Python packages (requires Python 3.11+) and Node modules
py -3.11 -m pip install -e "sdk/[dev]"
py -3.11 -m pip install -e "server/[dev]"
cd dashboard && npm install && cd ..
# Set your API key, then start everything and run the built-in demo
export ANTHROPIC_API_KEY=sk-ant-...
make demo
# Open http://localhost:5173
`make demo` starts the FastAPI collector on port 8000 and the Vite dashboard on port 5173, runs `examples/research_assistant.py`, then keeps both services alive. Press Ctrl-C to stop.
Usage
After `make demo` the dashboard opens at `http://localhost:5173`. The demo run (a Planner → Researcher → Writer pipeline ans
Related Skills
Swain
Local-first, self-hosted observability for AI agents: fleet view, multi-agent timelines and every command each
AI Timeline
See what AI coding agents actually do, across one session or thousands. Timelines, tool calls, tokens and cost
Agent Handoff Protocol
Agent Handoff Protocol: explicit, verifiable, measurable handoffs between AI coding agents (Claude Code, Codex
Eval From Trace
Build an LLM-as-a-Judge eval grounded in real traces from the Progress Observability Platform.
Rius SDK TypeScript
OpenTelemetry-native agent observability: trace every LLM call, tool call and agent step, with cost per call,
AI Engineering Claude C3 Agent Evaluation And Observability Project
Three Claude AI agent pipelines demonstrating evaluation and observability: validated retry with human-in-the-
Related Agents
Instrumentation Gen
Generates language-specific OpenTelemetry SDK bootstrap files (Node.js / Python) from the context cache. Dispa
Composer Sound Designer
Cinema Studio composer and sound designer. Score, songs, raga and instrument choices, SFX, Foley, ambience, mi
Squad DevOps
Operate as the squad's DevOps Engineer — containers, CI/CD, IaC, cloud and self-hosted delivery, proxies and T