AgentLens Visualizer
Debug subagent routing and orchestration in minutes using AgentLens, a free open source tool that visualizes Agentforce agent traces as interactive graphs, FSM diagrams, and step-by-step inspectors.
Installation
VSCode IDE
Install the extension from the VS Code Marketplace:
AgentLens Viewer on the VS Code Marketplace
Cursor, Windsurf, or Antigravity
Install from Open VSX:
Not using an IDE?
Paste your trace directly into the hosted viewer:
About AgentLens Visualizer
AgentLens is an open source tool that transforms Agentforce traces into interactive visualizations — agent graphs, finite state machine (FSM) diagrams, and step-by-step execution inspectors — so you can debug Agent Script orchestration in minutes. It has zero dependencies and does not save your trace data anywhere on the server.
To learn how to use the tool, check out the blog: