pick_agents
Selects up to N healthy agents via round-robin, with optional provider diversity and tier filtering to route tasks cost-effectively.
Instructions
Pick up to N distinct healthy candidates by round-robin (preference_order + last_used_at). Optional min_distinct_providers enforces cross-provider diversity.
ROUTING NOTE: default filter is tier='weak' — that is intentional. Most atomic tasks (single-file edits, refactors, glue code, summaries, format conversions, well-scoped fixes) get the same quality answer from a weak-tier free-tier model as from Claude Opus or Codex Pro, in a fraction of the time and cost. Reach for strong-tier (filter tier='strong') ONLY when the task actually needs deep reasoning: multi-step debugging, architecture decisions, ambiguous requirements, novel algorithms. Frontier ≠ better output for the long tail of routine work; often it is slower with no quality gain. Be smart, not lavish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| filter | No | ||
| min_distinct_providers | No |