If code can check it, code does it: 14 of 22 agent steps should be deterministic

alex_verem · x · 2026-11-11

mardehaym lays out a production agent principle: rules you can write down should be deterministic code, not LLM calls. Paying a model every run to re-solve a solved problem is a recurring cost on a one-time problem. Their orchestrator has 14 of 22 steps as deterministic code with only 3 belonging to the model; in a healthcare billing agent, the LLM reads the question and writes the query while the database does the math.

Original post →

More from coding & agent

coding & agent channel →