Adaptive Network Pattern
Agents dynamically transfer control to each other based on context.Overview
The adaptive network pattern enables decentralized orchestration where agents autonomously decide when to hand off tasks to other specialists. Unlike the supervisor pattern, there’s no central coordinator—agents evaluate tasks and route them directly to peers.When to Use
The adaptive network pattern is ideal when:- Tasks naturally flow between domains
- You need dynamic routing based on conversation context
- Agents should autonomously decide when to hand off
- Sequential expertise is required
- You want lower latency than supervisor aggregation
Good Fit Examples
| Use Case | Why Adaptive Network Works |
|---|---|
| Employee onboarding | HR → IT → Finance flow based on current step |
| Customer journey | Sales → Support → Success natural progression |
| Incident handling | Triage → Specialist → Resolution escalation |
| Complex troubleshooting | Problem domains emerge during conversation |
Architecture
Key Characteristics
Dynamic Delegation
Agents assess incoming tasks and route them to the most suitable peer when the task falls outside their scope.Context Preservation
Conversation history travels with handoffs—users don’t repeat information.Decentralized Control
No central supervisor. Each agent is aware of other agents and can directly initiate transfers.Sequential Workflows
Tasks typically flow through agents sequentially rather than in parallel.Execution Flow
Supervisor vs Adaptive Network
| Aspect | Supervisor | Adaptive Network |
|---|---|---|
| Control | Centralized | Decentralized |
| Execution | Parallel | Sequential |
| Routing | Supervisor decides | Agents decide |
| Latency | Higher (aggregation) | Lower (direct) |
| Complexity | Single coordination point | Distributed logic |
| Best for | Decomposable tasks | Flowing conversations |
Configuration
Example: Employee Buddy
A “Smart Employee Buddy” where agents handle different domains and hand off as needed.Conversation Example
Benefits
| Benefit | Description |
|---|---|
| Low latency | Direct agent-to-agent communication |
| Natural flow | Conversations progress organically |
| Agent autonomy | Specialists decide when to engage |
| Context continuity | Full history travels with handoffs |
| Scalability | Add new agents without central changes |