Loading...
Loading...
Compare original and translation side by side
┌─────────────────────────────────────────────────────────────────────┐
│ MULTI-SCENARIO ORCHESTRATOR │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ [Coordinator] ──┬─→ [Scenario 1: Simple] (Easy) │
│ ▲ │ └─→ [Skill Instance 1] │
│ │ ├─→ [Scenario 2: Medium] (Intermediate) │
│ │ │ └─→ [Skill Instance 2] │
│ │ └─→ [Scenario 3: Complex] (Advanced) │
│ │ └─→ [Skill Instance 3] │
│ │ │
│ [State Manager] ◄──── All instances report progress │
│ [Aggregator] ─→ Cross-scenario synthesis │
│ │
└─────────────────────────────────────────────────────────────────────┘┌─────────────────────────────────────────────────────────────────────┐
│ MULTI-SCENARIO ORCHESTRATOR │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ [Coordinator] ──┬─→ [Scenario 1: Simple] (Easy) │
│ ▲ │ └─→ [Skill Instance 1] │
│ │ ├─→ [Scenario 2: Medium] (Intermediate) │
│ │ │ └─→ [Skill Instance 2] │
│ │ └─→ [Scenario 3: Complex] (Advanced) │
│ │ └─→ [Skill Instance 3] │
│ │ │
│ [State Manager] ◄──── All instances report progress │
│ [Aggregator] ─→ Cross-scenario synthesis │
│ │
└─────────────────────────────────────────────────────────────────────┘| Scenario | Example |
|---|---|
| Skill demos | Show |
| Progressive testing | Validate skill scales with complexity |
| Comparative analysis | How does approach differ by difficulty? |
| Training/tutorials | Show skill progression from easy to hard |
| 场景 | 示例 |
|---|---|
| Skill演示 | 在简单、中等、复杂任务上展示 |
| 渐进式测试 | 验证Skill能否随复杂度提升保持性能 |
| 对比分析 | 不同难度下的处理方式有何差异? |
| 培训/教程 | 展示Skill从易到难的能力递进 |
from langgraph.graph import StateGraphfrom langgraph.graph import StateGraphundefinedundefined| Level | Complexity | Input Size | Time Budget | Quality |
|---|---|---|---|---|
| Simple | 1x | Small (10) | 30s | Basic |
| Medium | 3x | Medium (50) | 90s | Good |
| Complex | 8x | Large (200) | 300s | Excellent |
| 级别 | 复杂度 | 输入规模 | 时间预算 | 质量要求 |
|---|---|---|---|---|
| 简单 | 1倍 | 小(10) | 30秒 | 基础 |
| 中等 | 3倍 | 中(50) | 90秒 | 良好 |
| 复杂 | 8倍 | 大(200) | 300秒 | 优秀 |
| Mode | Description | Use When |
|---|---|---|
| Free-running | All run independently | Demo videos |
| Milestone-sync | Wait at 30%, 70%, 100% | Comparative analysis |
| Lock-step | All proceed together | Training |
| 模式 | 描述 | 适用场景 |
|---|---|---|
| 自由运行 | 所有实例独立运行 | 演示视频 |
| 里程碑同步 | 在30%、70%、100%进度点等待 | 对比分析 |
| 锁步同步 | 所有实例同步推进 | 培训场景 |
| Decision | Recommendation |
|---|---|
| Synchronization mode | Free-running with checkpoints |
| Scenario count | Always 3: simple, medium, complex |
| Input scaling | 1x, 3x, 8x (exponential) |
| Time budgets | 30s, 90s, 300s |
| Checkpoint frequency | Every milestone + completion |
| 决策项 | 推荐方案 |
|---|---|
| 同步模式 | 带检查点的自由运行模式 |
| 场景数量 | 固定为3个:简单、中等、复杂 |
| 输入规模缩放 | 1倍、3倍、8倍(指数级) |
| 时间预算 | 30秒、90秒、300秒 |
| 检查点频率 | 每个里程碑节点+完成时 |
langgraph-supervisorlanggraph-parallellanggraph-statelanggraph-checkpointsmulti-agent-orchestrationlanggraph-supervisorlanggraph-parallellanggraph-statelanggraph-checkpointsmulti-agent-orchestration