Before adding another agent, ask where the AI layer should sit
Abu_BakarSiddik · reddit · 2026-11-28
The author recounts a recurring failure mode: LLM demos impress but fall apart in production, and the instinctive fix—more agents, more prompts, bigger models—misses the real problem: the model was given the wrong job.
The fix: move the AI layer down.
- Models handle only what needs interpretation: messy language, facts buried in prose, apparent conflicts
- Anything with a fixed answer (date ordering, required fields, ID matching, known rules) goes to plain code, since an LLM there only adds uncertainty
Testing improves as a side effect: failures become locatable, parts rerun in isolation, rules change without touching prompts.
Two questions per step: does it need interpretation? Must it behave identically every time? If yes to the latter, it's code—"capability isn't responsibility." If your agent system is flaky and you can't isolate failures, more agents won't help; the AI sits too high. It's Google's Rules of ML lesson ("don't be afraid to launch without ML") recurring in the LLM era.
More from coding & agent
- Forkable environments for agent RL: why mid-episode credit assignment is stuck — YouJiacheng · 2026-11-28
- Multi-model workflow: Astra plans, Opus implements, Neon verifies — bindureddy · 2026-11-28
- usb-rea reverse-engineers Windows-only USB gadgets and auto-generates Linux drivers — jedisct1 · 2026-11-28
- DavidKPiano nails the agent workflow joke: 'That report is for you, Claude, not me' — DavidKPiano · 2026-11-28
- MCP server context usage cut by up to 267x, devs share how — Cool-Click1253 · 2026-11-28
- After Anthropic ported Messages API to Rust: AI may rewrite everything in low-level code — bendee983 · 2026-11-28