What is the smallest useful boundary for an agent? One module, one decision

Rakamy · reddit · 2026-09-09

A Reddit practitioner argues that putting an agent in a separate folder isn't a real boundary if it can still rewrite shared state and call every tool. His rule: one module answers one complete decision, with a versioned contract, rules, invariants, tests, and decision/failure records in its local package. Uncertainty and refusal are valid outputs, and a coordinator validates handoffs without redoing decisions. The tradeoff is coordination cost — split too little and failures spread; split too far and handoffs become the system.

Original post →

More from coding & agent

coding & agent channel →