Pool Commands
Agent pools group workers and stewards with shared concurrency limits and auto-scaling behavior. Pools are useful for controlling resource usage and distributing work across multiple agent instances.Commands
sf pool list
List all agent pools.
Output in JSON format
sf pool create
Create a new agent pool.
Pool name (unique identifier)
Maximum concurrent agents (default: 5)
Agent type configuration. Format:
role[:workerMode|stewardFocus][:priority][:maxSlots][:provider][:model]Examples:worker:ephemeral:100:5- Ephemeral workers, priority 100, max 5 slotsworker:persistent:50- Persistent workers, priority 50steward:merge- Merge stewards
Enable auto-scaling (spawn agents based on workload)
Minimum number of agents to keep running (auto-scale only)
Maximum number of agents to spawn (auto-scale only)
sf pool show
Show details for a specific pool.
Pool element ID
sf pool update
Update pool configuration.
Pool element ID
Update maximum concurrent agents
Enable/disable auto-scaling
Update minimum agents
Update maximum agents
sf pool delete
Delete an agent pool.
Pool element ID to delete
Force deletion even if pool has active agents
sf pool status
Show pool status with active agent information.
Pool element ID
Pool Configuration
Agent pools support several configuration patterns:Worker Pools
Steward Pools
Auto-Scaling
Pools can auto-scale based on workload:- Maintains at least
--min-agentsrunning - Scales up to
--max-agentsbased on ready tasks - Scales down when workload decreases
Best Practices
Related Commands
Agent Commands
Register and manage agents
Daemon
Control dispatch daemon