Hierarchical CrewAI: Manager Agent Delegating to Specialists
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
Build a hierarchical CrewAI crew where a manager agent orchestrates two specialist agents — a researcher and a writer — to collaboratively produce a short report. You will configure a hierarchical process, observe how the manager delegates tasks, and verify the final output is written to disk. No external APIs or paid services are needed; everything runs against the local qwen2.5:3b model.
What you’ll learn
- Install CrewAI and verify it is available inside the toolbox container
- Define a manager agent and two specialist agents (researcher and writer) backed by the local qwen2.5:3b model
- Wire the agents into a hierarchical Crew, run it, and confirm the manager delegates tasks and a report file is produced
How this lab works
- Start the lab: One click starts a sandbox with a local model and the agent’s toolbox: no API key and no token bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work inspects the agent, its config and its output, and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: Locally, against a model on your computer: no API key, no tokens
- Model: qwen2.5:3b
- Open source: github.com/crewAIInc/crewAI
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A model sandbox started in the Agent Playground
Topics: crewai, hierarchical-process, manager-agent, delegation, multi-agent, local-llm, qwen2.5
Create a free account to start this lab.
Keep going
- Install, Inspect, and Disable an OpenClaw Plugin from ClawHub
- OpenClaw Message Queue Channel: Agent-Powered Request/Reply
- Shape Agent Behaviour with SOUL.md, USER.md and AGENTS.md
- Hermes Session Memory: Full-Text Search and Fact Recall
- CrewAI Memory: Persistent Recall Across Executions
- Human-in-the-Loop: Interrupt Before a Destructive Step