WhoBuilt

Real AI Agents Need Planning, Not Just Prompting

Jun 3, 2025· 8 min· 1.2K views·Watch on YouTube

Speaker

Yuval Belfer of AI21 Labs explains why AI agents need planning and smart execution to handle complex instructions, speaking on AI Engineer.

Why prompts struggle

Belfer contrasts InstructGPT’s simple example, explaining the moon landing to a six-year-old, with today’s prompts packed with context, constraints, and requirements. He argues that models still struggle to follow instructions, so prompting alone is not always enough.

Agents and planning

Belfer treats “agent” as a practical label for systems that work, including LLM routers, tool-using models, and ReAct. ReAct takes one step at a time without planning ahead. Planning means working out the steps to reach a goal, especially for complex tasks that need parallel work or explainability.

Dynamic plans and smart execution

Belfer points to text-based planners such as Microsoft’s Magentic-One and code-based planners such as Hugging Face’s smolagents. Dynamic planning lets a system reconsider its plan as it proceeds. A smart execution engine can analyze dependencies, run steps in parallel, and weigh speed against cost.

Maestro’s approach and results

In a simplified example of AI21 Maestro, the planner and execution engine explore candidate solutions, discard weaker ones, and validate and refine promising candidates. The system can estimate cost, latency, and success probability, then select or combine results. Belfer reports improved results on IFVAL with GPT-4o, Claude Sonnet 3.5, and o3-mini, plus better requirement satisfaction on an internal dataset, at the cost of more runtime and money.

Choose the simplest system that works

Belfer recommends starting with simpler approaches: use small language models where possible, add tools, or try ReAct. He suggests exploring a planning and execution engine when a task is complex enough to need one.

Takeaways

  • Put requirements in a form your system can validate, instead of relying on one crowded prompt.
  • Use step-by-step ReAct for tasks where choosing the next action is enough; consider planning when the task needs look-ahead or parallel work.
  • Let execution engines account for dependencies, cost, latency, and likely success when choosing among candidate paths.
  • Measure whether improved answer quality justifies the extra runtime and cost.
  • Start with the simplest approach that meets the task’s needs.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • works at
    Verified4 sources· Talk, Web· archived
  • built
    “a simplified version of AI21 Maestro”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    MCP: Standardizes access to external tools.
    “MCP, which standardized this”
    YouTube
    Unverified1 source· Talk
  • feature
    ReAct loop: The model thinks, acts, observes, and proceeds one step at a time without looking ahead to the entire plan.
    “The model thinks, acts upon that thought, observes, and so on.”
    YouTube
    Unverified1 source· Talk
  • feature
    Execution Engine: Analyzes dependencies between steps to enable parallel execution and can trade off speed and cost.
    “analyze dependencies between steps, which enables parallel execution”
    YouTube
    Unverified1 source· Talk
  • feature
    Maestro: Uses a planner and smart execution engine to choose and improve promising candidates.
    “a system that uses both a planner and a smart execution engine”
    YouTube
    Unverified1 source· Talk
  • metric
    Maestro: Improves results on IFVAL and internal requirement-satisfaction data over a single LLM call, at the cost of more runtime and money.
    “We do better than a single LLM call, at the cost of a little more runtime and money”
    YouTube
    Unverified1 source· Talk

Related talks