Enterprise agent builder: enforce rules in code, rely on the LLM as little as possible

alex_verem · x · 2026-12-02

Builder mardehaym shares a counterintuitive lesson from shipping production agents for enterprises: cramming data definitions, business rules and checks into one giant prompt yields untraceable, inconsistent answers because LLMs are probabilistic.

His approach pushes as much of the workflow as possible into deterministic code:

The takeaway: to make AI useful in production, rely on it as little as possible.

Related event: Enterprise agent lessons: fewer LLM calls, rules locked in code(2 posts)→

Original post →

More from coding & agent

coding & agent channel →