AI Agent Failures Usually Trace Back to Instruction Defects, Not Model Limitations

After a full year of working with AI agents in production workflows, the author stopped blaming models for apparent stupidity or hallucinations. The vast majority of such issues stem from three specific defects in the instructions provided to the agent. Rules written in ordinary prose often fail to enforce precise behavior. Instructions phrased as "how not to" create ambiguity instead of clear constraints. Finally, rules without built-in verification mechanisms allow errors to propagate unchecked. The piece emphasizes that diagnosing instruction quality is far more productive than assuming model degradation. This observation applies across programming, DevOps, analytics, and information security tasks where AI agents are deployed on continuous streams of work.

HabrTranslated from Russian

Read at source

After a year of running AI agents on live production workflows, one practitioner has stopped using the phrase "the model got dumber." Most cases that appear to be model stupidity or hallucinations actually result from three recurring defects in the instructions given to the agent.

The first defect occurs when a rule is written in ordinary prose rather than as an explicit, machine-actionable constraint. The second defect appears when instructions are framed negatively, telling the agent what not to do instead of defining the required behavior. The third defect arises when a rule lacks any verification step, allowing the agent to proceed without checking compliance.

The author notes that these patterns emerged consistently across tasks in programming, DevOps, analytics, and information security. By systematically rewriting instructions to eliminate prose form, negative phrasing, and missing checks, the frequency of apparent model failures dropped sharply. The conclusion is that "agent is dumb" is usually a diagnosis of the prompt, not the underlying model.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in AI Security

Logical Argument Claims Full Alignment of Superintelligent AGI Is Fundamentally Impossible
Claude Account Bans Linked to IP Reputation, Device Environment and Payment Channels, But No Confirmed Formula
Local LLMs in AppSec: What Open Tools and Models Can Handle in Application Security