Urgent.News

What's breaking now, across thousands of outlets.

Editions

AI

I Ran 157 Agent Plans Against a Real LLM. The Problem Wasn't Execution. It Was Planning.

I thought I was building a better planning engine. What I actually built was a machine for showing me how often a decent-looking plan is still wrong in exactly the way that hurts: not obviously wrong, just missing the one dependency or ordering constraint that turns a migration into an incident. The Failure Starts Before the First Tool Call Your agent can execute perfectly and still fail, because…

I ran an experiment pitting a 157-agent system against a real large language model (LLM). The surprising revelation was not about execution, but planning. My agent could execute tasks flawlessly, yet still fail catastrophically due to flawed planning. The core issue lay in the ordering of dependencies and constraints within the plan.

A goal like "migrate this service to the new auth provider" underwent a chain-of-thought process, only to stumble at step three when the rollback path was missing. This illustrates the danger of optimizing execution layers first, when planning failures often occur beforehand. To address this, I created PlannerCritic, a system that treats a plan like a pull request, with a separate reviewer LLM checking the structure and safety of the drafted plan.

Deterministic gates analyze aspects like ordering, branch sanity, rollback coverage, verification, and preconditions before approving the plan. The critic operates independently from the planner to prevent injection vulnerabilities. The system is designed to fail gracefully by prompting a human if the loop can't converge. The experiment covered 156 scenarios across 35 domains, with 157 execution traces.

While most balanced goals were approved, strict goals were escalated in every case. Adversarial goals also consistently resulted in escalations. This demonstrates that even well-intentioned plans can be fatally flawed, emphasizing the importance of rigorous planning before execution in AI systems.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Pet peeves with GitHub Copilot Instructions and my solution

This blog post was originally published on my own web site . Photo by Łukasz Łada on Unsplash One of my favorite features of Claude Code is .claude/rules/ , docs here…

  • Claude Code allows custom markdown files with developer-specific instructions
  • GitHub Copilot uses a different format with applyTo property for custom instructions
  • @path/to/file syntax in Claude Code enables referencing other files, missing in Copilot

Your AI Coding Agent Just Finished. Now Ask It to Attack Its Own Work.

AI coding agents are remarkably good at getting from “here’s what I want” to “here’s a working implementation.” They are also remarkably good at being satisfied with what they just built.

  • AI coding agents excel at transforming vague requests into functional implementations.
  • Agents often fail to critically evaluate their own code.
  • Prompting agents to conduct adversarial reviews improves code robustness.

More from Friday 21 August →