World's Fair 2025
How to Build Planning Agents without losing control - Yogendra Miraje, Factset
Overview
This talk explores how to build planning agents for AI applications, focusing on agentic workflows that combine the flexibility of agents with the reliability of traditional workflows. The core thesis is that by moving beyond simple reactive agents to proactive ones, and by employing a "planning by sub-goal division" design pattern, developers can create more controlled, scalable, and enterprise-ready AI systems. The approach emphasizes leveraging existing enterprise microservices and robust evaluation frameworks.
Who should watch
- AI engineers and builders working on agentic systems.
- Product Managers seeking to understand the capabilities and limitations of AI agents.
- Developers looking to integrate AI agents with existing enterprise infrastructure.
- Those struggling with agent control, reliability, and context in complex applications.
- Individuals interested in practical patterns for building autonomous AI systems.
Key takeaways
- Agentic workflows are planned and executed by an agent, offering flexibility and autonomy, contrasting with static workflows controlled by agents.
- The key design pattern for building robust planning agents is "planning by sub-goal division," which involves breaking down complex goals into simpler, manageable steps.
- Agentic workflows can automate tasks at scale and allow enterprises to build upon their existing microservices, which often represent years of investment.
- A practical architecture involves components like a blueprint generator, planner, executor, and joiner, which can be implemented as nodes in frameworks like LangGraph.
- When building tools for agents, it's crucial to consider the agent's perspective, providing clear purpose, descriptions, and input/output contracts, ideally following standards like MCP.
- Introducing a "blueprint" layer, which is a natural language description of tasks and tool capabilities, helps manage cognitive load on the planner, limits in-context tools, and improves interpretability.
- Robust evaluation frameworks are essential, utilizing techniques like code-based evals, LLM-as-a-judge, and human-in-the-loop for metrics that truly matter.
- Agentic workflows are not suitable for fixed, repetitive tasks, situations requiring deterministic outcomes, strict compliance, safety-critical contexts, or low-latency/cost environments.
Notable quotes
*AI applications have not seen its ChatGPT moment yet.*
*Agentic workflows bring the reliability at scale.*
*Planning by subgoal division is a key design pattern.*
Unofficial community note. Prefer the recording for nuance.