Overview of LLM-Guided Spec Search
mainLLM-guided spec search (Frontier-Driven Harness Learning) uses a high-capability 'teacher' model to optimize the configuration of a local 'student' model. Instead of fine-tuning weights, it optimizes the surrounding environment: prompts, routing, agent classes, and tool descriptions.
The Four-Phase Loop:
- Diagnose:
TeacherAgentanalyzes traces to identify failure clusters. - Plan:
LearningPlannercreates aLearningPlanwith risk tiers. - Execute:
EditApplierapplies changes, validated byBenchmarkGate. - Record:
SessionStorepersists the session and artifacts.
Risk Tier System for Edits:
auto: Model routing/params, tool configuration, agent params. (Applied if gate passes).review: System prompt edits, agent class, few-shot exemplars. (Requires user approval).manual: LoRA fine-tuning. (Never auto-applied).