Every vendor is selling you an "agent platform." Strip the marketing and the real question is embarrassingly simple: who decides the next step — a person who already wrote it down, or a model improvising it live? Most teams reaching for an agent should be reaching for a decision table instead.
A rule-based system executes a decision someone already made. The rules were written in advance, the inference engine runs a match-resolve-act cycle, and when it produces an answer it can show its work by tracing exactly which rules fired. An AI agent makes the decision again, for each case, at run time — Anthropic draws the line in the same place: workflows run predefined code paths, agents let the model direct its own process and tool use. One is a record of judgment. The other is judgment, on the fly, every single time.
- Rules win when the cases can be enumerated and the decision must be shown. If you can list the cases that matter, including the edge cases, and write the rule for each one, there is nothing for a model to decide that a person hasn't already decided. Decision tables make this concrete: one rule per row, plus a hit policy — UNIQUE, FIRST, COLLECT — that says what happens when several rules match. Camunda defaults to UNIQUE. The table plus its hit policy is the decision logic. There is no hidden step, and when a rule is wrong it fails the same way for the same input, which makes it findable, fixable, and testable.
- Agents win only when the steps themselves can't be hardcoded. Variable inputs alone don't settle it — a bounded model call inside a fixed workflow (classifying a request, then routing it) is not an agent. You need an agent when the sequence or number of steps needs model-directed planning and adaptation to results. The ReAct loop is built for that: reasoning traces interleaved with actions, plans updated as results come back. And don't let anyone wave the ReAct benchmark numbers at you as a general case for agents — 34 percentage points on ALFWorld and 10 on WebShop are absolute gains over imitation and RL baselines on those benchmarks, not a verdict that agents beat fixed paths. Anthropic's guidance is the honest version: workflows for well-defined tasks, agents when flexibility is genuinely needed.
- The honest answer is usually both. Most real systems are hybrids: rules constrain the agent — guardrails and human approval checkpoints that define when a run continues, pauses, or stops — or the agent sits inside a rule flow, owning one bounded judgment while the flow stays in charge of the sequence. But note the limits the vendors bury: in OpenAI's Agents SDK, input guardrails run only for the first agent in a chain, output guardrails only for the final one. A guardrail that doesn't cover the middle of the chain isn't a safety net, it's a decoration.
- The worked example makes the trade-off visceral. Triage a support request — "the screen flickers since yesterday's update, and my invoice shows a duplicate charge." The rule version matches no table row and sends it to human review: predictable, slow, and the flicker never gets investigated. The agent version reads the whole request, confirms the duplicate charge, then notices a refund was already issued — so it doesn't issue a second one, and escalates with a summary. That's the upside. The downside is the mirror image: it might apply a policy the business doesn't allow, or promise an outcome the team can't deliver. Hence checkpoints before anything irreversible, and a record of everything it did.
- The failure modes are asymmetric, and that's the point. Rules fail by brittleness — inputs nobody wrote a rule for get mishandled or rejected. Agents fail confidently on a wrong conclusion, harder to spot than a wrong rule and potentially expensive when the action changes something outside the system. Using an agent where a rule would do adds cost, latency, and unpredictability for no gain. Encoding judgment into brittle rules is the mirror mistake. Skipping guardrails on irreversible actions is a mistake in either architecture — but costlier with an agent, because the agent chooses the action.
The verdict: run every step through five questions — can the cases be enumerated, must the decision be shown and replayed, how variable are the inputs, are the actions reversible, how much surprise can the business tolerate? Steps passing the first two stay rules. Steps failing them are candidates for a bounded model call; they become candidates for an agent only when the step also needs model-directed planning across multiple steps. The right system is the simplest one that states its decisions clearly and fails in a way the team can find and fix.
Go deeper
Read the full guide — the decision tables, the hybrid patterns, the worked triage traced through both architectures, and the five-question checklist — on Agentic Affairs:
Rule-Based Systems vs Agents: When to Use Each
Originally published on Agentic Affairs (https://agentic-affairs.com)
Top comments (0)