Skip to content

Examples

Check out examples in the examples directory.

Example Core Architecture Implementation Key Tools Use Case / Features
research Manual Multi-Agent Orchestration Orchestrates 3 independent SimpleAgents in code to create a "Plan-and-Execute" workflow. SearchToolkit Demonstrates building a complex workflow from scratch using basic SimpleAgent blocks.
wide_research "Agent-as-Tool" Pattern A single SimpleAgent makes decisions and calls a custom tool that encapsulates parallel sub-agents. SearchToolkit Shows how to encapsulate parallelism and complex logic within a tool, simplifying the main agent's logic.
paper_collector Standard OrchestraAgent Configuration-driven; uses few-shot examples (planner_examples_data.json) to guide the Planner. DocumentToolkit, SearchToolkit A standard, "out-of-the-box" application of OrchestraAgent for multi-step document analysis.
file_manager SimpleAgent + UI A configuration-driven SimpleAgent wrapped in an interactive Gradio web UI. BashToolkit A practical example of an agent interacting with the local file system, with a focus on UI and safety.
data_analysis Customized OrchestraAgent Extends OrchestraAgent's core components:
1. DAPlannerAgent: Proactively inspects data schema before planning.
2. Reporter: Uses a custom template to generate a rich HTML report.
TabularDataToolkit An advanced OrchestraAgent use case, showing deep customization for a complex, domain-specific problem.

Run the Examples

In each example directory, you can run the main.py files to start the examples in command line. For some examples, you can also run the main_web.py files to start the examples with WebUI.

Note: To use the WebUI, you need to install the utu_agent_ui package. Refer to Installation for more details.