agents.planning.plan_execute_v3ยถ
Plan-and-Execute V3 Agent Package.
This package implements the Plan-and-Execute methodology using Enhanced MultiAgent V3, providing a comprehensive solution for complex task planning and execution.
Key Components: - PlanExecuteV3Agent: Main agent coordinator - ExecutionPlan, StepExecution, PlanEvaluation: Structured output models - PlanExecuteV3State: State management with computed fields - System prompts for each sub-agent
- Usage:
from haive.agents.planning.plan_execute_v3 import PlanExecuteV3Agent
agent = PlanExecuteV3Agent(tools=[search_tool, calculator]) result = await agent.arun(โAnalyze market trends for renewable energyโ)