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:
- Data prep and ETL run before any model sees a record
- A semantic layer and named tools define key concepts
- Rules that cannot bend are enforced in code the agent can't change
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)→
More from coding & agent
- Grok Build, xAI's AI coding agent app by X Corp., quietly lands on the App Store — iamfakhrealam · 2026-12-02
- Most developers still stick with Copilot while agent-harness power users remain the minority — sumitdotml · 2026-12-02
- ChatGPT Sites Git DNS failure blocks private Sites on macOS, issue #56576 still open — bytebot · 2026-12-02
- Garry Tan endorses Brex co-founder's 'one agent per customer' enterprise AI playbook — garrytan · 2026-12-02
- Martin Casado: agents are nowhere near production-ready for long-running tasks — soumitrashukla9 · 2026-12-02
- Crosby's client-facing agents run on self-built sandboxing infra with warm pools of Kata microVMs — emilyzsh · 2026-12-02