Planning before acting
Make an agent write a plan, run it one step at a time, check each step and replan when one fails, using PlanningConfig. Then see the other kind of planning, where a whole crew gets a plan before it starts.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.
Written from the official documentation
In this module: Agents
- Agents: role, goal, backstoryDescribing who an agent is.Pro
- Crafting effective agentsSpecialists over generalists, and tasks before agents.Pro
- Direct agent kickoffRunning one agent without a crew, with structured output.Pro
- Planning before actingPlanningConfig for one agent, and planning for a whole crew.Pro
- Files and artifactsPassing images and PDFs in, and saving reports out.Pro