hebel. today · 20 November 20261 / 79

Agentic Engineering · Agent Evals & Reliability

Production agent reliability depends on deterministic governance and trace-based evals

Governance through deterministic constraints. Salesforce's Rohit Bhardwaj limits agents to one retry and one loop to prevent cost and latency spikes under load. Salesforce also preserves correctness by shedding optional work first when GPU…

Governance through deterministic constraints. Salesforce's Rohit Bhardwaj limits agents to one retry and one loop to prevent cost and latency spikes under load (Packt Deep Engineering). Salesforce also preserves correctness by shedding optional work first when GPU capacity runs short. Lenses.io staff engineer Tun Shwe treats agent expansion as a governance change, requiring explicit review of identity and data access for every new tool (Packt Deep Engineering). Replit automatically separates development and production databases to stop agents from modifying live data during code freezes (The New Stack).

Eval datasets from production traces. Paul Iusztin builds eval datasets by pulling 20-50 real traces, having domain experts mark each as pass or fail, and clustering failures by frequency (Decoding AI Magazine). Cobus Greyling improved a telco support agent's success rate from 13/26 to 25/26 by using LangSmith to run hill climbing on production traces (Cobus Greyling on AI, Agents, Loop &…). Anthropic recommends testing patterns of failure rather than individual prompts to ensure robustness (AI Engineering Insider). Scale AI and Cognition engineers evaluate agents by checking the final state and the path taken, as a correct outcome reached via a forbidden action remains a failure.

Layered observability and routing. Ruchi Bhatia maps the agent stack into five layers, where observability records model calls, tool requests, and timing to isolate failures in retrieval or permissions (Ruchi Bhatia from tech by Ruchi). Chambers uses a decider model in the Strands framework to score memory retrieval results for relevance before sending them to the agent, which prevents the model from sorting through extraneous material (The New Stack). Cloudflare records approved tools and company practices in an engineering codex to provide coding agents with relevant context for specific tasks (AAIF User Community).

Containment and tool validation. Anthropic lab tests on Android TV boxes show that setting an allow-list for MCP tools prevents malware from changing tool definitions after installation (AAIF User Community). Amazon Q Developer failed at the input stage when untrusted text reached a release, prompting teams to review diffs of content and scripts before publishing. GitHub’s official MCP server supports a read-only mode that removes write operations to test discovery and tool approval without risking production data.

  • Stripe reduced internal documentation from 500,000 to 5,000 files to stop agents from trusting stale intern documents during onboarding (AAIF User Community).
  • On ToolRet, a two-stage retriever and reranker increased top-ten tool coverage for required tasks to 45.2% (AAIF User Community).

Try today · 40 min

Create a failure-based eval dataset for your agent.

Extract 20 recent production traces and mark the first point of failure in each.

You need

  • 20-50 production traces
  • Spreadsheet or evaluation tool

Steps

  1. Select 20 recent agent runs that resulted in errors or user complaints.
  2. Review each trace to identify the specific step where the agent failed.
  3. Write a short critique for each failure explaining why the agent chose the wrong path.
  4. Cluster these critiques into categories based on frequency.
  5. Save this list as your baseline test set for future prompt changes.

One email instead of your newsletter pile.

Forward the newsletters you already get (a Gmail filter does it) and tell Hebel your goals. Every morning it reads them with 20,000 others and sends one short email, with one small thing to do today. Fewer emails, not more. Free during beta.

Start my paper →
LinkedIn X

Sources

  1. Ruchi Bhatia, tech by Ruchi on hebel. → ✎ Written by a personThis guide maps the agent stack into five layers and details how to use GitHub's MCP server for low-risk testing.

  2. The New Stack on hebel. →This article explains how to separate development and production environments and why human review of agent-generated diffs is necessary.

  3. Decoding AI Magazine on hebel. →This roadmap details the process of building an evaluation dataset from real production failures and clustering them by severity.

  4. AAIF User Community on hebel. →This piece describes how to clean up internal documentation to prevent agents from relying on stale or incorrect information.

  5. Packt Deep Engineering on hebel. →This interview outlines the governance risks of agent autonomy and the importance of treating agents as distinct identities with least privilege.

  6. Cobus Greyling on AI, Agents, Loop &… on hebel. →This demo shows how to improve agent performance by using LangSmith to score traces and iterate on system prompts.

  7. AI Engineering Insider on hebel. →

More in Agentic Engineering

Adaptive memory and bounded autonomy in agentic systems

Shift from static prompts to evolving agent playbooks

Teams split on replacing human code review with automated guardrails

Production agents replace static tests with inline Andon alerts

Agent Evals & Reliability yesterday

Production agents require runtime guardrails or pre-release contract tests

Sign in to Hebel first

Likes, your collection and done Hebel need an account. We email you a six digit code; no password.