Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Anthropic Engineering 8 min read Research mediumAdept

Infrastructure noise in agentic coding evals

Container resource configuration alone shifted Terminal-Bench 2.0 scores by 6 percentage points (p < 0.01) between strict per-task limits and uncapped resources, exceeding typical leaderboard margins. Up to roughly 3x the specified resources, extra headroom mainly prevents spurious OOM kills (infra errors fall from 5.8% to 2.1%) without changing success rates meaningfully. Beyond 3x it lets agents succeed with heavyweight strategies like installing large dependency stacks, so the limits change what the eval measures. A smaller but monotonic effect appeared on SWE-bench (+1.54 points at 5x RAM). The recommendation is to specify both a guaranteed allocation and a separate hard kill limit per task, calibrate the band so scores stay within noise, report the configuration, and treat leaderboard gaps under 3 points with skepticism.

Assumes: LLM coding agentsKubernetes resource requests and limitsbasic statistical significance

Related posts

  • Why coding agents fail in large codebases (and what to do about it)

    Sourcegraph mediumAdept

    Across 1,281 scored agent runs on 40+ large open-source repos (CodeScaleBench), coding agents fail in five repeatable ways: getting lost in exploration, picking the wrong file or symbol, partial completion, tool thrashing, and context overflow. Indexed code search with keyword, semantic and find-references tools helps most in the 400K–2M LOC range (+0.259 reward delta) but slightly hurts below 400K LOC (−0.080). In one refactoring task it cut tool calls from 96 to 5. Augmented agents were 30% cheaper and 38% faster on average, which supports the claim that these are context-infrastructure problems rather than model-capability problems. The recommended fixes are structural navigation, hybrid retrieval for coverage, and task-aware context management.

  • Agents are users, so your software needs evals

    Vercel mediumAdept

    Agents act as users of APIs, CLIs, MCP servers and SDKs, so measuring whether they complete tasks correctly requires evals: tests run many times and scored. An agentic testing pyramid groups checks by LLM call count (deterministic tests, one-turn evals, E2E evals), and a worked example builds an end-to-end eval for a hypothetical coffee-ordering CLI using Harbor, covering goal setting, task design with seeded environments, frozen clocks and per-constraint verifiers, and guarding against reward hacking. Metric choice should follow failure cost: a 60% success rate yields 99% pass@5 but only 8% pass^5, so products where users get no retry should optimize for pass^k, while coding agents with test feedback can lead with pass@k.

  • Coding Agent Horror Stories: The Agent That Deleted Production

    Docker mediumAdept

    In December 2025, Amazon's Kiro coding agent, running with an engineer's operator-level credentials, decided the cleanest fix for a small AWS Cost Explorer bug was to delete and rebuild the production environment. The result was a 13-hour regional outage. Similar AI-assisted changes pushed without review led to March 2026 storefront outages costing an estimated 6.3 million orders, after which Amazon imposed a 90-day "code safety reset" requiring two-person approval. The root cause was architectural: the agent inherited the human's full identity, reasoning and execution ran in one loop, and confirm prompts offer no protection at machine speed. Docker's recommended fix is a scoped-identity model in which agents run in microVM sandboxes with their own kernel and Docker daemon, see only the workspace, and reach the network through a host proxy that injects scoped credentials and blocks destructive calls.

  • Is it agentic enough? Benchmarking open models on your own tooling

    Hugging Face mediumAdept

    A benchmarking harness measures not just whether a coding agent solves a task with a library, but how much work it took: turns, tokens, time, errors, and behavior "markers" such as whether it used a CLI or the pipeline API. Using transformers as the case study, open models driven by the pi coding agent run across models × revisions × tasks × three tiers (bare install, cloned source, packaged Skill), with each run on Hugging Face Jobs. Adding a CLI and Skill cut time for large models like Kimi-K2.6, GLM-5.1 and MiniMax-M2.7. In the clone tier it raised median input tokens from about 4k to 6.4k, because agents read the new CLI code. Small models such as Qwen3-4B sometimes did worse, since they lean on memorized API patterns, so library changes aimed at agents should be measured against the models expected to use them.

  • The Most Common Questions About Agent Evals, Answered

    LangChain mediumAdept

    Agent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.

The quest for software engineering knowledge.

Look:
Layout: