Plan and Execute Agent
Build a financial research agent that plans multi-step analysis upfront, executes each step through a tool registry, and replans when findings change.
A ReAct agent thinks one step ahead - call a tool, observe, decide what to do next. That works for simple lookups, but falls apart when a task needs coordinated research across multiple steps. The plan and execute pattern fixes this by creating an upfront plan, executing it step by step, and optionally replanning when things change. Most agentic coding tools (e.g. Claude Code, Cursor, Codex) have built-in planning and execution capabilities, which only illustrates the usefulness of this pattern.
We'll build a financial research agent that takes an analysis request, plans which metrics and news articles to fetch, executes each step through a tool registry, and hands the full scratchpad to a report writer that produces a final report.
Tutorial Goals
- Understand plan and execute vs ReAct and when each pattern fits
- Build a LangGraph agent with conditional replanning
- Use Pydantic to output structured plans from different agents
- Organize tools by node with a ToolRegistry pattern
- Run multi-query research with tools and replanning
Plan and Execute Architecture
Members onlyJoin 900+ members
Become a member for full access
“Best educational investment in my ML/AI journey.”
Ana Clara MedeirosAI Developer
Renews yearly at the price you joined at. Cancel anytime.
30-day money-back guarantee. One email, full refund. Yearly includes live cohort access.
What you get
6 modules and 42 hands-on lessons with runnable code, failure diagnosis, and measured comparisons
2 capstone repositories you build, test, evaluate, and keep as portfolio proof
Videos, source code, complete projects and architecture diagrams
Recordings of live sessions
Discord community access
Not ready? Try these free lessons first
Instant access after paymentSecure checkout via Stripe
