Talha Sheikh presenting on AI agent reliability at AI Engineer Europe.
Talha Sheikh discusses the challenges of AI coding agents not following instructions.· AI Engineer

AI Agents Don't Always Follow Rules

Talha Sheikh from Checkout.com discusses the unreliability of AI coding agents and the critical need for verification layers and guardrails to ensure dependable AI outputs.

8 min read

In the rapidly evolving world of AI development, ensuring that AI agents reliably execute tasks is a critical challenge. Talha Sheikh from Checkout.com recently shared insights into this issue, highlighting that AI coding agents do not always adhere to the rules and instructions given to them. This talk, presented at AI Engineer Europe, delves into the practical difficulties of relying solely on AI for complex coding tasks and emphasizes the indispensable role of human oversight and verification.

AI Agents Don't Always Follow Rules - AI Engineer
AI Agents Don't Always Follow Rules — from AI Engineer

Visual TL;DR. AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight. Human Oversight uses Guardrails. Guardrails drives Industry Shift. AI Agents Unreliable discussed by Talha Sheikh.

  1. AI Agents Unreliable: coding agents don't always follow instructions given
  2. Flawed Outputs: agent indicates completion but output is flawed or incomplete
  3. Need Verification: critical need for deterministic verification layers
  4. Human Oversight: indispensable role of human oversight and verification
  5. Guardrails: implementing guardrails to ensure dependable AI outputs
  6. Industry Shift: verification over generation is becoming the industry focus
  7. Talha Sheikh: Checkout.com expert discussing AI agent reliability
Visual TL;DR
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight leads to requires involves AI Agents Unreliable Flawed Outputs Need Verification Human Oversight Industry Shift From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight leads to requires involves AI AgentsUnreliable Flawed Outputs Need Verification Human Oversight Industry Shift From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight leads to requires involves AI Agents Unreliable coding agents don't always followinstructions given Flawed Outputs agent indicates completion but output isflawed or incomplete Need Verification critical need for deterministicverification layers Human Oversight indispensable role of human oversight andverification Industry Shift verification over generation is becomingthe industry focus From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight leads to requires involves AI AgentsUnreliable coding agents don'talways followinstructions given Flawed Outputs agent indicatescompletion butoutput is flawed or… Need Verification critical need fordeterministicverification layers Human Oversight indispensable roleof human oversightand verification Industry Shift verification overgeneration isbecoming the… From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight. Human Oversight uses Guardrails. Guardrails drives Industry Shift. AI Agents Unreliable discussed by Talha Sheikh leads to requires involves uses drives discussed by AI Agents Unreliable coding agents don't always followinstructions given Flawed Outputs agent indicates completion but output isflawed or incomplete Need Verification critical need for deterministicverification layers Human Oversight indispensable role of human oversight andverification Guardrails implementing guardrails to ensuredependable AI outputs Industry Shift verification over generation is becomingthe industry focus Talha Sheikh Checkout.com expert discussing AI agentreliability From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai AI Agents Unreliable leads to Flawed Outputs. Flawed Outputs requires Need Verification. Need Verification involves Human Oversight. Human Oversight uses Guardrails. Guardrails drives Industry Shift. AI Agents Unreliable discussed by Talha Sheikh leads to requires involves uses drives discussed by AI AgentsUnreliable coding agents don'talways followinstructions given Flawed Outputs agent indicatescompletion butoutput is flawed or… Need Verification critical need fordeterministicverification layers Human Oversight indispensable roleof human oversightand verification Guardrails implementingguardrails toensure dependable… Industry Shift verification overgeneration isbecoming the… Talha Sheikh Checkout.com expertdiscussing AI agentreliability From startuphub.ai · The publishers behind this format
!-- /sh-diagram -->

The Unreliable Nature of Coding Agents

Sheikh illustrated a common scenario where a user might ask an AI agent to perform a coding task. While the agent might indicate completion with a "done" status, the actual output may be flawed or incomplete. This discrepancy arises because the agent's perceived completion does not guarantee adherence to the user's specific requirements or the desired outcome. Sheikh's personal experience involved trying to have an AI agent complete a coding task, only to find that a small, critical detail was missing, leading to failure.

The core of the problem, as presented, is that simply instructing an AI agent is not enough. The agent might be capable of understanding the request and generating code, but it lacks the inherent understanding or motivation to ensure the code functions exactly as intended. This places the burden of verification on the human operator, who must then "check anyway" to confirm the agent's output. This necessity for human intervention underscores the current limitations of AI agents in fully autonomous execution.

The Need for Deterministic Verification

Sheikh proposed that the solution lies in creating a deterministic verification layer. This means building a system that can reliably check if the AI agent's output matches the intended outcome. The idea is to move beyond simply trusting the agent's reported completion status. By implementing checks at every stage of the AI agent's workflow, from initial conversation to the final output, developers can build more dependable systems. This involves defining clear criteria for success and having a mechanism to automatically validate that these criteria have been met.

The talk showcased a conceptual approach to this problem, using a configuration file to define various checks. These checks could range from ensuring basic code syntax to verifying specific functional requirements and coverage metrics. The goal is to create a system where "every check is a shell command" that must pass, ensuring that the AI agent's work is not only completed but also correct according to predefined standards.

Capability vs. Reliability and the Role of Guardrails

A key distinction made during the presentation was between an AI model's capability and its reliability. While a model might be highly capable in terms of generating complex code or understanding nuanced instructions, this does not automatically translate to reliability. Reliability, in this context, refers to the consistency and correctness of the output over time and across different tasks. Sheikh argued that focusing solely on increasing capability without addressing reliability can lead to systems that appear to work but are fundamentally untrustworthy.

To achieve reliability, Sheikh highlighted the importance of guardrails. These are mechanisms designed to constrain the AI's behavior and ensure it operates within defined boundaries. The presentation suggested that guardrails can be more effective than simply increasing model size. A smaller model with well-defined guardrails can achieve higher reliability and more predictable outcomes compared to a larger model without such constraints. This is supported by a cost analysis showing that implementing guardrails, even with smaller models, can lead to comparable or better results with lower resource utilization.

The Industry Shift: Verification Over Generation

The discussion also touched upon the broader industry trend. Sheikh observed that many companies are now building their own AI agent frameworks and incorporating verification layers. This indicates a growing recognition that the true value in AI development is shifting from merely generating code or content to ensuring the accuracy and trustworthiness of that output.

The core question is evolving from "Can you code?" to "Can you verify?" This shift signifies a maturation of the field, moving towards more practical and dependable applications of AI. Companies like OpenAI, with their "Harness Engineering" approach, and others like WorkOS and Cudo, are focusing on building systems that incorporate robust verification mechanisms. These systems aim to ensure that AI agents not only perform tasks but do so reliably and predictably, aligning with human intent and industry standards.

Ultimately, the message from Talha Sheikh's presentation is clear: while AI agents are powerful tools, human oversight and a strong emphasis on verification are essential for building reliable and trustworthy AI systems. The future of AI development lies in creating robust "harnesses" that guide and validate the AI's output, rather than solely focusing on the underlying code generation capabilities.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.