agents.planning.llm_compiler_v3.agentΒΆ
LLM Compiler V3 Agent using Enhanced MultiAgent V3 Architecture.
This implementation modernizes the LLM Compiler pattern by using Enhanced MultiAgent V3 for simplified architecture, better maintainability, and consistent patterns.
ClassesΒΆ
LLM Compiler V3 Agent using Enhanced MultiAgent V3. |
Module ContentsΒΆ
- class agents.planning.llm_compiler_v3.agent.LLMCompilerV3Agent(name='llm_compiler_v3', config=None, tools=None, **kwargs)ΒΆ
LLM Compiler V3 Agent using Enhanced MultiAgent V3.
This agent implements the LLM Compiler pattern with three specialized sub-agents: 1. Planner - Decomposes tasks into parallelizable DAG 2. Task Fetcher - Manages task coordination and dependency resolution 3. Parallel Executor - Executes individual tasks with tools 4. Joiner - Synthesizes results into final answer
Initialize LLM Compiler V3 Agent.
- Parameters:
- async arun(query, context=None, **kwargs)ΒΆ
Execute LLM Compiler pattern asynchronously.