Run Recommendation
run_recommendationStart a local recommendation run for an MLX model use case: scans Hugging Face, shortlists candidates, estimates memory and speed, then pauses for user selection.
Instructions
Fully local multi-agent recommendation run (planner, scout, calculator, analyst, advisor).
Runs plan -> Hub scan -> shortlist -> memory/speed estimates, then STOPS with
status='needs_user_input' at checkpoint 'select_candidates'. Show the candidates (and
alternatives if nothing fits) to the user, ask which to keep, then call
continue_recommendation with the returned run_id. Never answer for the user.
Takes ~10-60 s (local LLM). All numbers come from the deterministic calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_case | Yes | What the model should do, e.g. 'German RAG over contracts' | |
| profile_id | No | Profile id from list_hardware_profiles or 'local' | local |
| context_tokens | No | Target context length | |
| max_candidates | No | Max candidates to shortlist |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| notes | No | ||
| report | No | ||
| run_id | Yes | ||
| status | Yes | ||
| message | Yes | ||
| report_id | No | ||
| candidates | No | ||
| checkpoint | No | ||
| alternatives | No | No-fit branch: smaller variants or shorter context that fit. |