dispatch
Run a prompt against a specific agent, with optional escalation to a stronger model. Cuts costs by using free-tier LLMs where possible.
Instructions
Run a specific agent by id with a prompt. transport ('generate' | 'cli') overrides the default (generate preferred when entry declares it). escalate_to_pro=true uses the same-provider strong-tier entry instead.
ROUTING NOTE: for the same task, weak-tier free-tier models (Gemini flash, Groq llama, DeepSeek, OpenRouter :free) are usually correct AND fast enough. Use dispatch against Claude Opus, Codex Pro, or any strong-tier subscription model ONLY when the task genuinely needs frontier capability. escalate_to_pro is a retry lever, not a default. If a weak agent's output is wrong, first ask whether the SPEC was ambiguous (fix the spec, re-dispatch weak) before escalating tier — reaching for stronger models hides prompt-engineering failures behind expensive compute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| agent_id | Yes | ||
| transport | No | ||
| escalate_to_pro | No |