- 添加多 Agent 图协作框架 (graph, supervisor, workers) - 添加迭代器和集成模块 - 添加多 Agent 规划文档 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
681 B
Python
24 lines
681 B
Python
"""
|
|
多智能体系统
|
|
"""
|
|
from .types import AgentState, TaskItem, TaskStatus, AgentType, SupervisorDecision, ReviewResult
|
|
from .prompts import SUPERVISOR_SYSTEM_PROMPT, REVIEW_SYSTEM_PROMPT, RESEARCH_SYSTEM_PROMPT, CODER_SYSTEM_PROMPT, AGGREGATOR_SYSTEM_PROMPT
|
|
from .supervisor import SupervisorAgent
|
|
from .graph import create_multi_agent_graph
|
|
|
|
__all__ = [
|
|
"AgentState",
|
|
"TaskItem",
|
|
"TaskStatus",
|
|
"AgentType",
|
|
"SupervisorDecision",
|
|
"ReviewResult",
|
|
"SUPERVISOR_SYSTEM_PROMPT",
|
|
"REVIEW_SYSTEM_PROMPT",
|
|
"RESEARCH_SYSTEM_PROMPT",
|
|
"CODER_SYSTEM_PROMPT",
|
|
"AGGREGATOR_SYSTEM_PROMPT",
|
|
"SupervisorAgent",
|
|
"create_multi_agent_graph",
|
|
]
|