Testing local AI task strategies: goal contracts beat step-by-step roles for small models

bendymike · reddit · 2026-11-29

Developer bendymike tested strategies for getting local AI models to handle medium-to-complex tasks.

Hypothesis: a step-by-step "role-based execution" setup (each step with its own role, context, tools, and gating) would suit small models and limited context windows.

Results were the opposite:

Better approach — goal-oriented: within one session, define a tight, comprehensive contract for task outputs; a harness tests outputs against exit criteria and sends the model back until it fits. This beat raw prompting clearly.

Takeaway: for small models, a strict output contract with enforced verification in a single session works better than fine-grained step decomposition.

Original post →

More from coding & agent

coding & agent channel →