mullet_run
Executes analysis, planning, research, review, and text-generation tasks without writing files, routing each request to a suitable local or cloud provider based on task complexity.
Instructions
For code editing tasks (reading/modifying files), use mullet_opencode instead: it runs the edit as a gated Mullet job and applies the result to the working tree only after the gates pass. Use mullet_run only for: analysis, planning, research, review, or text generation tasks where no files need to be written. Routes to the optimal provider (local GPU or cloud) based on complexity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task to execute. | |
| tier | No | Force routing tier (optional). PREMIUM routes to Opus when budget pressure is low (<0.30), falling back to Sonnet → Haiku → Kimi as pressure rises. | |
| apply | No | Deprecated. Always returns an error. Use mullet_opencode for file edits. | |
| files | No | File paths to include as context for the delegate (ignored — use mullet_opencode for file edits). | |
| client | No | Trove client for project context (optional). | |
| providers | No | Comma-separated allowlist of providers for this task. Restricts routing to only these providers. Example: 'kimi,haiku,sonnet' excludes local and gemini. Valid: local, kimi, gemini, openrouter, haiku, sonnet, opus-4-8, opus-4-7, opus-4-6 | |
| target_dir | No | Directory to resolve file paths against and apply changes to. Defaults to current working directory. | |
| force_single | No | If true, disable auto-swarm routing and always use a single provider call even when the heuristic would fan out to a swarm. Default: false (auto-swarm fires when signals are detected). | |
| max_iterations | No | Max iterations. Default: 90. |