Loading...
Loading...
Compare original and translation side by side
| Pattern | Purpose | Key Method |
|---|---|---|
| Parallel perspectives | |
| Sequential stages | |
| Coordinator + specialists | |
| Voting consensus | |
| Iterative refinement | |
| Failure fallback | |
| Debate + judge | |
| Route to handler | |
| Fan out + reduce | |
| Shared state | |
| Event bus | |
| Pattern | 用途 | 核心方法 |
|---|---|---|
| 并行视角收集 | |
| 串行阶段执行 | |
| 协调者+专家模式 | |
| 投票共识决策 | |
| 迭代优化 | |
| 故障降级 | |
| 辩论+裁决 | |
| 责任链路由 | |
| 扇出+归约 | |
| 共享状态管理 | |
| 事件驱动 | |
| Component | File | Purpose |
|---|---|---|
| | SQLite tracking |
| | Agent with tracking |
| | Universal handoff format |
| | Hot tier communication |
| | Core + Archival memory |
| | Scope with file ops |
| 组件 | 文件 | 用途 |
|---|---|---|
| | SQLite追踪管理 |
| | 带追踪功能的智能体 |
| | 通用智能体交接格式 |
| | 热层通信缓存 |
| | 核心+归档记忆服务 |
| | 带文件操作的作用域 |
| Primitive | Purpose |
|---|---|
| Voting (MAJORITY, UNANIMOUS, THRESHOLD) |
| Combine results (MERGE, CONCAT, BEST) |
| Structured agent handoff |
| Structured premise builder |
| TaskGroup-based parallel execution |
| 原语 | 用途 |
|---|---|
| 投票机制(多数决、一致决、阈值决) |
| 结果合并(合并、拼接、最优选择) |
| 结构化智能体交接状态 |
| 结构化前提构建器 |
| 基于TaskGroup的快速失败并行执行 |
API_SPEC.mdAPI_SPEC.mdfrom scripts.agentica_patterns.patterns import Swarm, Jury
from scripts.agentica_patterns.primitives import ConsensusMode
from scripts.agentica_patterns.coordination import CoordinationDB
from scripts.agentica_patterns.tracked_agent import tracked_spawnfrom scripts.agentica_patterns.patterns import Swarm, Jury
from scripts.agentica_patterns.primitives import ConsensusMode
from scripts.agentica_patterns.coordination import CoordinationDB
from scripts.agentica_patterns.tracked_agent import tracked_spawnundefinedundefined.claude/skills/agentica-infrastructure/API_SPEC.mdscripts/agentica_patterns/.claude/skills/agentica-infrastructure/API_SPEC.mdscripts/agentica_patterns/