AgentLensOpen Editor →

Visualize Your AI Agent Orchestration in Seconds

Paste your YAML agent workflow and watch a real-time interactive graph render instantly — no setup, no login, no data sent to any server.

YAML Input

agents:
  - id: researcher
    name: Research Agent
    model: gpt-4o
    tools: [web_search]
  - id: writer
    name: Writing Agent
    model: gpt-4o
    tools: [markdown_writer]
routes:
  - id: r1
    source: researcher
    target: writer
    label: "Hand off findings"

Agent Graph

ResearchAgentWritingAgent

Write YAML on the left, see your agent graph update in real time on the right.

Everything You Need to Understand Agent Workflows

Real-time Parsing

Edit YAML and see the graph update with 150ms debounce. No lag, no page reload.

Auto-Layout Engine

Powered by ELKjs for clean, non-overlapping agent graphs. No manual positioning needed.

Instant URL Sharing

Share any workflow with a single URL. No login required. Your YAML is encoded directly in the link.

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.

Integration Guides

CrewAI

How to Visualize Your CrewAI Workflow

Learn how to use AgentLens to visualize and debug your CrewAI agent workflows. Export your agent configuration to YAML and see the orchestration graph rendered in real time.

Read guide →

LangGraph

How to Visualize LangGraph Agent Graphs

Discover how AgentLens helps you visualize LangGraph state machines and agent architectures. Convert your LangGraph definition to YAML and explore your graph topology interactively.

Read guide →