Writing Agent Rules as Code: a Reddit Approach to 100% Deterministic AI Agents

dsl400 · reddit · 2026-10-12

After nearly a year of iteration, a Redditor claims AI agents can be 100% deterministic if you change how rules are written: encode the rules as code so the attention layer can follow the complete flow and trigger the correct ones, instead of relying on prose prompts. The full writeup on turning a coding agent into a reliable tool is linked in the comments.

Original post →

More from coding & agent

coding & agent channel →