Production AI agents work better when models propose and code decides

Odd_Huckleberry4363 · reddit · 2026-07-22

The poster describes a production pattern for AI agents: let the model propose actions, but keep deterministic code in charge of final commits and decisions.

In their job-search tool, the agent originally scored role matches mostly by judgment. That worked inconsistently, especially when hard constraints appeared later in the posting, such as:

They redesigned the system so the model now handles only the fuzzy part of the score — roughly 40% — such as how well experience maps to the role and whether adjacent skills transfer. The rest is scored by deterministic rules for location, remote policy, compensation, clearance, work authorization, seniority, and other hard preferences.

Their takeaway: agents are more reliable when they propose and humans or code commit the final decision, especially for user-facing or budget-sensitive outcomes.

Original post →

More from coding & agent

coding & agent channel →