What is AgentLens?
AgentLens is a free, browser-based tool that transforms a YAML definition of an AI agent orchestration into an interactive, auto-laid-out graph — instantly, without sending a single byte to a server. Paste or type your workflow definition, and the canvas on the right updates in real time as you type.
As teams build increasingly complex agentic workflows, keeping mental models accurate becomes hard. An AI agent diagram makes it possible to spot unreachable agents, misconfigured routes, and missing tool assignments at a glance — before running a single line of code. AgentLens turns the invisible architecture of your multi-agent system into a visual map you can reason about, share with teammates, and use during onboarding.
The YAML schema AgentLens understands is straightforward. At its core, a workflow file contains two top-level keys: agents and routes. Each agent entry accepts an id, name, model, and a list of tools. Routes declare a source and a target agent ID, forming the directed edges of the graph. Each route also requires an id and a label to uniquely identify and describe the handoff. Optional condition fields let you annotate branching logic.
AgentLens is built for developers working with agent orchestration frameworks such as CrewAI, LangGraph, AutoGen, or any custom YAML schema. Whether you are designing a new multi-agent pipeline, debugging an unexpected handoff sequence, or presenting your architecture to a non-technical stakeholder, an interactive graph is always clearer than a wall of YAML text.
Because all computation — YAML parsing, Zod validation, ELK graph layout — runs entirely in your browser, there are no privacy concerns. Your agent definitions never leave your machine. The tool works offline once loaded, and any workflow can be shared as a plain URL by copying the address bar.