Playground 2: Agent Hierarchy Builder

Build and explore the Tools, AgentTools, Sub-agents, and Orchestrator pattern. Drag components into the hierarchy, click nodes to inspect their code, and simulate execution flow.

Simulating...
Code
Prompt
Callbacks
Click a node in the hierarchy to inspect its implementation
Explanation
Agent Hierarchy Pattern: Every agent is an instance of a base LLMAgent class. Orchestrator agents own the WHAT and WHEN -- the high-level business process flow. Sub-agents own the HOW -- expert execution of specific tasks. Tools represent the most basic, atomic capabilities. Select a preset or build your own hierarchy to explore.
Prompt Output
Select or build a hierarchy to generate output...