All papers
35 days of papers

Agent memory is infrastructure: health-gate it, heartbeat it, and let it stay silent★

One person ran a Claude Code session line for eight months on a 633,000-line codebase and found that agent memory fails like infrastructure: quietly, and in two directions at once. A session-start health gate, per-hook heartbeats, and injection that defaults to silence recorded all 85 failures, and in a ten-day window fired zero false injections.

Sep 21, 2026 · agent memory reliability

No harness part helps every model: what a component-by-component ablation found★

A controlled study switched three coding-harness parts on and off across four models and 176 settings. No part helped everywhere. Context management mattered only when the window was small, planning raised accuracy for the weakest model but only cut cost for the strong ones, and a bare shell beat a typed tool set for the most capable model.

Sep 20, 2026 · coding-agent harness design

Which agent opened the pull request matters more than whether an agent did★

Across 37,623 real pull requests, agent-written code was not the maintenance burden many expected. Which vendor's agent wrote the code predicted revert rates and security smells better than the agent-versus-human split did.

Sep 18, 2026 · coding-agent code quality

The SWE-bench leaderboard cannot order its top entries★

An audit of 254 published SWE-bench submissions finds that the top systems solve the same issues, that a paired test separates none of the 29 adjacent pairs in the Verified top thirty, and that the scaffold moves a fixed model's score by more than the whole top-thirty spread.

Sep 17, 2026 · coding-agent leaderboards

Agents make up answers when a tool fails quietly. One appended instruction stops it.★

When a tool returns a success status but no usable value, agents assert a value anyway in up to 45% of cases. One short instruction appended to the prompt, naming a failure state, cuts dishonest answers from 14.1% to 0.9% and leaves a flag you can check with a regular expression.

Sep 16, 2026 · agent tool-failure honesty

A bare shell beats a typed tool catalog for enterprise agents★

Microsoft and CMU researchers gave two frontier models five different tool interfaces on two enterprise task suites. A bare shell beat a catalog of typed tools by 24.6 points on simulated software-company work and by 6.2 points on banking, consulting, and law work. It used fewer tokens, and it gained nothing from typed or self-written tools added on top.

Sep 15, 2026 · agent tool interfaces

Build the agent's prompt the way a database runs a query★

ContextPipe routes every model call through a five-phase pipeline modeled on a database query executor: a catalog of context sources, a deterministic cache-aware optimizer, and an EXPLAIN ANALYZE trace. On three SWE-bench Pro tasks it cut total prompt tokens by 30 percent and model calls by 17 percent, but more than doubled uncached tokens and lowered the cache-hit rate.

Sep 14, 2026 · context assembly

One safety harness does not fit every agent. Search for one per model and domain.★

A guardrail written once by experts over-blocks one model and under-protects another. EvoSafeHarness lets an LLM search for a safety harness for one specific model in one specific domain, and a fresh-context reviewer rejects rules that only match the benchmark.

Sep 13, 2026 · agent safety harnesses

Let the memory curator query the live system before it writes a memory★

The authors add one capability to an existing agent-memory pipeline. The post-task curator agent, which is the only component that writes memory, gets read-only tools into the live environment. It uses them to check, narrow, and refresh each candidate memory before it writes. The task agent does not change. On a database-exploration benchmark with a hidden schema migration, pass rate rose from 39% with no memory to 73% with probed memory, and the cost per task fell by half. The gain over trajectory-only memory is smaller and its confidence intervals overlap.

Sep 12, 2026 · agent memory curation

A skill with a clear input and output contract runs better as a subagent than as loaded instructions★

The authors compare two ways to run the same skill package. Agent-skill execution loads the skill's instructions into the main agent's context. Subagent execution starts a fresh context window with those instructions and returns only the result. On a 64-task subset of SkillsBench, subagents win only when the skill states its expected input, its output, and a step-by-step procedure. With the benchmark's own human-written skills, which rarely state this, inline skills match or beat subagents. Subagents also cost more total tokens, but they keep the largest single context smaller.

Sep 11, 2026 · skills vs subagents

One in six shared coding-agent setups lets code run without the user's decision★

The authors scanned 3,171 public GitHub repositories that ship Claude Code, Cursor, Copilot, or Codex configurations. 16% of the assembled setups carry a confirmed security defect: an MCP server with no pinned version, a permission grant that looks narrow but allows any command, or a skill that pre-approves the shell. The raw scanner flagged 25.5% of setups with some finding; 18.4% remained after the authors re-derived every finding at a pinned commit.

Sep 10, 2026 · agent config supply chain

A supervisor agent that can redirect a running worker, and write down what it learned★

PILOT pairs a worker agent with a supervisor that watches a live event channel, can steer or abort the worker mid-run, and writes reusable skills during the run. On Terminal-Bench 2.0 it beats single-agent harnesses by about 5 points one-shot, and gains 12 to 15 points over 20 self-improvement sweeps while cutting output tokens by nearly half.

Sep 9, 2026 · live agent steering

Coding agents can build an agent that runs, but not one you can ship★

Sierra and Princeton built a benchmark that asks a coding agent to deliver a complete customer-service agent from messy business records, a client it must interview, a faulty API, and a serving budget. The best configuration, Claude Opus 5 in Claude Code, passes 23.9% of held-out conversations. An expert reference passes 82.2%. The agents search instead of read, do not ask the client, never run the code they inherit, and ship the first design that works.

Sep 8, 2026 · end-to-end agent construction

Your agent's safety rules do not survive compaction★

Every time a coding agent compacts its context, it rewrites your safety rules at the same rate as your chat history. After five rounds of Claude Code's compaction, only 1 rule in 10 survives. The fix is to label each line by type once, and never let the summarizer touch the lines that must stay exact.

Sep 7, 2026 · context compaction

Evolve the harness, not the model: a guarded search loop that repairs agent–environment mismatch★

A coding agent edits a second agent's harness one patch at a time, and a hidden task set decides which patches stay. With the model weights fixed, three enterprise benchmarks gain 20–35 points, cost per task falls, and the evolved harness transfers unchanged to other models.

Sep 6, 2026 · harness evolution

Pre-distilled repository skills more than doubled a coding agent's research score★

The authors distill 1,000 popular machine-learning repositories into 5,353 verified agent skills. The same Codex agent with the same GPT-5.5 model scores 73% instead of 31% on MLE-bench when it can load those skills. The model and the harness do not change. Only the operating context changes.

Sep 5, 2026 · agent skill distillation

Agents rot geometrically: success falls with every dependent step, and trimming context makes it worse★

A controlled study of nine models finds that task success decays geometrically with the number of dependent steps. On a real tool-use loop, every model fell from near-perfect to near-zero within sixteen steps. A shorter context made the decay steeper, not gentler.

Sep 4, 2026 · long-horizon agent degradation

Eleven coding agents, read at source level: the same seven parts, and two things none of them build★

The authors read the source of eleven production coding agents, from the 100-line Mini-SWE-Agent to the million-line Codex CLI, and diffed eight of them across one quarter. All build the same seven subsystems by hand. Across about four million lines, none imports an agent framework and none uses vector search to find code. The authors conclude that in the first half of 2026 the coding harness stopped being a tool and became a platform.

Sep 3, 2026 · coding-agent harness anatomy

A verification tool helps a coding agent only where it can reach the failure★

A controlled study of 1,116 agent-built web apps shows that a verification tool improves the shipped software only where the tool can observe the failure. A one-bit boot probe removes almost all launch failures at the lowest cost in the study. A linter changes nothing. Screenshots help only on visible defects, and the evidence for even that is weak.

Sep 2, 2026 · agent verification surface

Same model, 35 harness releases: bug-fix rate flat, tokens up 70%★

A study of 35 releases of one coding-agent CLI, with the model kept the same, found no improvement in bug-fix rate. Later releases used about 70% more tokens per task. Every regression passed the project's CI.

Sep 1, 2026 · harness release regressions

Wrap the whole agent task in a transaction, not each tool call★

Cordon treats one agent task as a database-style transaction. Local file changes run in a shadow copy, outbound actions wait in an outbox, and a validator checks the full chain of tool results before anything commits. In the authors' 45 risky multi-tool workflows it blocked every unsafe effect before commit; adapters built from existing per-call defenses blocked 14. On two benign benchmarks the agent's scores did not drop.

Aug 31, 2026 · agent transactions

Agent memory is a lifecycle, not a store★

Most agent memory tools optimize two moments: write a fact, read a fact. This paper argues that agent context is a five-stage lifecycle — design the memory schema, ingest with structure, scope to the organization, prefetch what the next turn needs, and compact with validation — because unmanaged context cost grows with the square of conversation length, and one unvalidated summarization step can push accuracy below the no-memory baseline.

Aug 30, 2026 · agentic context management

A model that writes a new agent harness for every task★

JIT-Agent is a 27B model that generates a custom agent harness — memory, planner, action loop, and tool policy — for each task at run time. In the authors' tests, an open model inside a generated harness beats the same model inside Claude Code or Codex on most of the tested benchmarks, and it costs less in every test.

Aug 29, 2026 · just-in-time harness synthesis

A few pages of committed markdown, half the quality damage from coding agents★

Across 509 open-source repositories, coding agents made every team faster. But in repositories with no committed AI configuration, code complexity grew about twice as fast as in repositories that committed at least a rules file and coding standards. The authors turn this observation into RAMP, a four-level maturity scale you can compute from any repository's files.

Aug 28, 2026 · agent configuration maturity

Loop engineering, measured: who runs agent loops, and what they leave in the repo★

Developers have started to build systems that trigger, verify, and restart AI coding agents with no human typing the prompts. This paper defines that practice from eleven practitioner sources, then scans 36,710 open-source repositories: 217 already run confirmed agent loops — but the loops commit their configuration to git and almost none of their state.

Aug 26, 2026 · loop engineering

A compiler for workflows written in plain English★

Researchers at Purdue built Artic, a compiler that transforms a plain-English procedure into a structured workflow. Each step declares the data it reads and writes, and a deterministic script routes execution. On 488 tasks from 11 real-world domains, the compiled workflows resolve 28 percentage points more tasks than the original text, and they behave far more consistently across models and repeated runs.

Aug 25, 2026 · agent workflow compilation

Your coding agent fails as a system, not as a model★

A twenty-chapter engineering monograph argues that most coding-agent failures start outside the model — in measurement, grading, recovery, retrieval, review, and scheduling — and supplies 193 vetted practices, six system contracts, and a six-step audit to find the weakest layer in your own agent system.

Aug 24, 2026 · agent reliability engineering

Skills work by fixing the procedure, not by adding facts; and they fail when the agent misapplies them★

Skills help an agent because they fix the procedure, not because they add facts. In matched tests, a SKILL.md written from five earlier runs beat the same five runs given as cleaned traces by 6 points, and cut environment-setup failures from 5.3% to 0.2%. Skills also add a new failure: in 10% of runs the agent misapplies or ignores the guidance. And when the skill library grows from 5 to 100 entries, only 3% of the skills the agent opens are the correct one, yet task success does not fall.

Aug 23, 2026 · agent skill failures

Wrap the agent in a state machine: harness scaling beats a model upgrade★

StateM wraps an unmodified CLI agent in a small state machine: a YAML runbook with phases, checked transitions, and recovery rules. The same model gains 9 points on Terminal-Bench 2.1, the frozen runbook transfers to the next model generation for a raw 95.3%, and an adapted DeepSeek run reaches a comparable score for about $15 instead of $575.

Aug 22, 2026 · harness scaling

Keep the plan out of the context: a manage-execute-audit loop for long-running agents★

LongHorizon-Harness runs a long agent task as a sequence of rounds. A manager keeps the task state outside the agent's context. A fresh-context executor performs one subtask per round. A read-only auditor inspects the environment before any state record can change. With the same model and the same Claude Code backend, this raises the WeaveBench pass rate from 51.8% to 80.7%.

Aug 21, 2026 · long-horizon agents

Code is the harness: how agents reason, act, and coordinate through executable state★

A 42-author survey from UIUC, Meta, and Stanford argues that code is the agent harness — executable, inspectable, stateful — and maps the full stack: a Plan–Execute–Verify control loop, telemetry-driven harness revision, and explicit shared program state as the fix for multi-agent brittleness.

Aug 19, 2026 · code as agent harness

When agents search: grep, vector retrieval, and why the harness decides★

In a direct comparison over long chat histories, plain grep beat vector search for every model and harness when tool results came back inline — but moving the same agent between Claude Code, Codex, Gemini CLI, and a custom harness shifted accuracy as much as swapping the retriever did.

Aug 18, 2026 · agentic search

Index the harness by behavior, not by file★

Every change to an agent harness starts with a search problem: the request names a behavior, but the behavior is implemented in many places, and the repository is organized by files. Harness Handbook builds a behavior-indexed map of the codebase from static analysis plus LLM structuring, revalidates the map after every diff, and gives it to the planning agent. With the map, a mid-tier planner chose edit sites almost as well as frontier models did, and it used fewer planner tokens.

Aug 17, 2026 · harness maintainability

Train the skill file, not the model★

SkillOpt trains an agent's skill file the way you train model weights: an optimizer model turns scored rollouts into small add/delete/replace edits, and a held-out validation gate accepts only edits that raise the score. The model stays frozen. The skill document is the thing that learns.

Aug 16, 2026 · agent skills

The Best Model Cache Might Be the One Your OS Already Ships★

A trillion-parameter mixture-of-experts model cannot keep all its weights in RAM, so every serving system builds a custom cache for them. This paper deleted that cache, memory-mapped the weights, and let Linux's page cache take over: the untuned kernel matched the custom cache on hit rate, kept its hit rate through workload shifts that break the custom design, and made a production engine 1.1× faster by changing one flag.

Aug 15, 2026 · LLM serving infrastructure

Nothing matches.