WhoBuilt

Your coding agent doesn't always follow your rules

Jul 8, 2026· 10 min· 2.5K views·Watch on YouTube

Speaker

Talha Sheikh of Checkout.com explains at an AI Engineer event why coding agents need reliable ways to check their work.

The agent says it is done, but work remains

Sheikh describes Claude Code completing subtasks and reporting success, only for him to find problems when he tries the result. Repeatedly telling it what to fix made him the enforcement layer, responsible for checking whether the work was actually complete.

Vector adds deterministic checks

Sheikh built Vector V1, which uses Claude hooks to check an agent's output when a session ends. A config file defines the test cases, and failures can be sent back to Claude for another attempt. In his example, the first test fails, Claude retries, and the tests then pass.

More capable models still need verification

Sheikh questions whether more capable models are necessarily more reliable. Detailed specs, MCP servers, subagents, and context can help, but he argues they do not replace verification. Guardrails may also let teams use smaller models such as Haiku or open-source models, potentially reducing costs.

Make enforcement a shared pattern

Sheikh says teams at Anthropic, Checkout.com, and Meta were building their own enforcement approaches, but company-specific checks are hard to share. He argues for a language-agnostic pattern that can run during conversations, after sessions, before commits, in multi-agent workflows, and through asynchronous tasks.

Invest in the harness and verification

Sheikh points to Anthropic's execute-advisor pattern, OpenAI's harness engineering, Qodo's code reviews, and WorkOS's emphasis on enforcement as examples of verification loops. He concludes that the value is shifting toward designing checks for agent output, and advises teams to work on the harness.

Takeaways

  • Treat an agent's completion message as a prompt to verify, not proof that the task is done.
  • Put acceptance checks in a config or harness so they can run consistently.
  • Feed failed checks back to the agent to support a retry loop.
  • Consider whether guardrails could let a smaller model handle a task at lower cost.
  • Build enforcement that fits your workflow and can be reused across languages and stages.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • works at
    AI Software Engineer
    “Talha Sheikh, Checkout.com”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    vector database: Deterministically checks Claude’s output and can send failures back for retries
    “then it checks the result for me”
    YouTube
    Unverified1 source· Talk
  • feature
    Anthropic: Released the execute-advisor pattern
    “Anthropic recently released its “execute-advisor” pattern”
    YouTube
    Unverified1 source· Talk
  • feature
    OpenAI: Uses harness engineering to provide agents with tools and context for verification
    “OpenAI has built its own harness engineering”
    YouTube
    Unverified1 source· Talk
  • feature
    Qodo: Provides comprehensive code reviews
    “Qodo that provide comprehensive code reviews”
    YouTube
    Unverified1 source· Talk
  • feature
    WorkOS: Promotes the approach “Enforce, don’t instruct”
    “from WorkOS: “Enforce, don't instruct.””
    YouTube
    Unverified1 source· Talk

Related talks