If your agent architecture is LLM → tool → action, you built a confidence cannon with API keys.

Reddit r/AI_Agents News

Summary

An essay arguing that typical LLM-based agent pipelines built as LLM → tool → action lack proper uncertainty handling, and proposing a belief-state architecture with Bayesian updates and value-of-information policies. The LLM should act as investigator/translator, while the system enforces permissions and calibrated beliefs.

Hot take: most “agentic” systems are not agents. They are a language model wearing a tool belt, walking directly from vibes to side effects. user request → LLM says “probably X” → calls tool → something irreversible happens That is not reasoning under uncertainty. That is autocomplete with a loaded Nerf gun. Sometimes it is a real gun. The missing layer is probability, but not the “model said 92% confident” cosplay version. I mean an architecture that separates: Reality = what is actually true Observations = logs, documents, tool output, user input Belief = what the evidence currently supports Action = what the system is allowed to do An LLM is useful inside this system. It can read unstructured traces, propose hypotheses, reformulate retrieval queries, select candidate probes, and explain the final result. It should not be judge, jury, calculator, and production deploy button. Here is the architecture I wish more agent diagrams had: raw request / traces / documents → parsers + LLM interpretation → typed evidence record → belief state over hidden causes → Bayesian update → candidate probes from LLM + tools → information-value / cost / permission policy → act / ask / hold / escalate → outcome logging, calibration, drift monitoring The math is not academic garnish Suppose a production trace fails. The true root cause is hidden. Possible causes: - malformed tool payload - upstream dependency timeout - retrieval context overflow - permission failure The agent should hold a belief distribution: P(cause | evidence) A new clue arrives: schema validation failed. Update the belief: posterior ∝ likelihood × prior P(H | E) ∝ P(E | H) × P(H) The LLM can say, “Schema mismatch looks plausible.” Fine. That is a hypothesis. The system still needs to ask: How common is schema failure in this service? How likely is this clue under each competing cause? Is the input evidence trustworthy? What action is permitted if the hypothesis is wrong? Because: P(clue | cause) ≠ P(cause | clue) Yes, that old Bayes line still ruins bad demos for a living. The part people skip: each uncertainty has a different shape Not every unknown gets to be called “confidence.” Agent question Useful model Why “Is this evidence sufficient?” Bernoulli One yes/no event “Which root cause is live?” Categorical Several competing causes “How many of 500 cases need review?” Binomial Fixed batch, count of yes outcomes “How many incidents arrive this hour?” Poisson Arrival count over time “Will a reviewer respond before 15 minutes?” Exponential or survival model Waiting-time risk “Is this sensor reading abnormal?” Gaussian or empirical baseline Continuous measurement This is not distribution-collector behaviour. It changes the decision. Example: P(reviewer completes within 15 minutes) = 18% Benefit of timely review = ₹12,000 Cost of waiting + review = ₹3,000 Net value = 0.18 × ₹12,000 - ₹3,000 = -₹840 Correct move: Hold the risky action now. Escalate through the emergency path. Do not sit around waiting for a human-shaped miracle. Information gain is also not enough A probe can reduce uncertainty and still have zero operational value. If every possible probe result still forces “hold,” then the probe may be intellectually satisfying but operationally pointless. The real question is value of information: Will this evidence improve the eventual decision enough to justify its cost? Cost includes: money latency compute privacy permissions human attention opportunity cost So the policy is: Ask if expected decision improvement > full probe cost. Stop when no permitted probe is worth buying. The LLM’s actual role LLM: - interpret messy text - propose hypotheses - generate candidate probes - synthesize evidence - explain the receipt System: - validate structure - maintain calibrated beliefs - enforce permissions - calculate risk/cost/deadline tradeoffs - choose and execute allowed actions - learn from confirmed outcomes The LLM is the investigator and translator. The rest of the architecture is the chain of custody, calculator, and safety officer. If your agent’s only safety mechanism is: “Be careful.” Congratulations. You have written a motivational poster for a stochastic parrot. Build the belief state. Type the uncertainty. Price the next question. Enforce the policy. Log the outcome. Then you have an agent worth trusting near production.
Original Article

Similar Articles

Your LLM shouldn’t be your coding-agent workflow

Reddit r/openclaw

Argues that LLMs should be used for reasoning within coding-agent workflows, while deterministic infrastructure handles queues, state, retries, and recovery, so the process doesn't break when usage limits hit.