2026-08-12

AI Agents

A new paper takes a hard look at how people actually test LLM-agent applications and finds most projects lean on narrowly scoped unit tests with heavy mocking and shallow assertions — the complex, multi-step interactions that break in production go largely uncovered. Alongside it: a replay attack that recovers hidden reasoning traces from frontier APIs, several credit-assignment and memory techniques for agent training, and a local-inference infra guide.

5 papers 1 news 1 blogs 24 appendix 396 considered

Papers

5

Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applications

arxiv:arxiv-software-eng — Rangeet Pan, Tyler Stennett, Divya Sankar, Bridget McGinn, Alessandro Orso, Raju Pavuluri, Saurabh Sinha, Maja Vukovic 8/10 evalscode-agentssafety
An empirical study of how LLM-agent applications are actually tested, built from mined open-source projects plus 2,572 manually labeled test methods across 240 modules and interviews with 10 senior practitioners. The findings are unflattering: testing is dominated by narrow unit tests with simplistic inputs, heavy mocking, and shallow validation, with little coverage of complex interactions, realistic scenarios, or non-functional requirements. They derive a taxonomy of 23 testing patterns. Industry emphasizes non-functional testing more than open source, but the overall picture is thin.

How Much, Then Where: Credit-Conserving Action-to-Token Allocation for Multi-Turn Agent Reinforcement Learning

arxiv:arxiv-agents — Lichao Ma, Yang Sun, Shuaitao Zhao, Yangyi Fang, Cong Qin, Xiaoliang Fu, Yuhang Tian, Yuchen Wei, Junbo Zhu, Yang Wei, Lu Pan, Jiaye Lin 7/10 researchplanningmulti-agent
FACTOR separates two credit-assignment decisions in multi-turn agent RL: how much credit each action gets, and how it spreads across that action's tokens. It uses checkpoint-calibrated TD residuals that telescope to the trajectory advantage, plus teacher-student likelihood gaps for token allocation, with per-action normalization to prevent token-length bias and sign flips. Gains hold across ALFWorld, WebShop, and ScienceWorld, largest on the longest-horizon task, and hyperparameters transfer to a larger backbone and different model family without retuning. Ablations point to TD action credit as the dominant driver.

Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution

arxiv:arxiv-agents — Jiahao Zhang, Yifan Zhang, Yu Huang 7/10 memoryplanningcode-agents
PMCoder couples a hierarchical phase planner with episodic memory for software issue resolution, with bidirectional coupling: the current plan phase conditions memory retrieval, while memory-derived trajectory stats drive stuck detection and replanning. When issue-reproduction verdicts exist, verification is grounded in execution evidence instead of the agent's self-reported completion. On SWE-bench Verified it resolves 25 more cases (+5.0pp) over a harness-matched baseline, with gains persisting even when the reproduction gate never fires, and the direction holds across Claude Haiku 4.5, DeepSeek-V4-Flash, and an OpenHands port.

DiDPO: Diff-in-Diff Policy Optimization for Coding Agent Training

arxiv:arxiv-agents — Xucong Wang, Zhe Zhao, Liheng Yu, Di Wu, Xiaofeng Cao, Pengkun Wang 7/10 code-agentsresearch
DiDPO tackles credit assignment specific to coding agents, where a single step packs multiple independent changes into different regions of a diff and outcome or step rewards can't tell which change mattered. The critic-free method builds credit units from diff structure: it splits diffs into sub-diffs, uses a groupability score to select anchors, forms advantage groups, and projects diff-level advantage back to individual tokens. Reported gains exceed 10% over strong agentic RL baselines on long-horizon coding benchmarks, with the codebase available.

Memoir: Learning, Verifying, and Evolving False-Positive Memories for Static Application Security Testing Tools

arxiv:arxiv-software-eng — Shenyuan Guan, Qiaodan Hou, Yanjun Chen, Xincheng Wen, Jia Feng, Keke Lian, Cuiyun Gao 7/10 safetycode-agentsmemory
Memoir attacks the false-positive problem in SAST tools by turning historical FP alerts into reusable semantic memories. LLM-guided annotation, pattern clustering, and memory synthesis build a knowledge base; retrieval plus semantic verification against taxonomy consistency and security invariants gates predictions, and verified predictions feed back so the memory evolves as new cases accumulate. Evaluated on CWE-Bench-Java with an industrial case study. The evolving-memory design is the interesting part — it addresses the staleness that kills most static FP-reduction methods.

News

1

Apple Silicon and macOS VMs: Faster LLM Inference with llama.cpp

hn:hn-llm — frabonacci 6/10 infracost-latency
A hands-on guide to GPU passthrough for macOS VMs on Apple Silicon, aimed at getting faster llama.cpp inference inside virtualized environments rather than bare metal. Relevant if you're isolating local agent workloads in VMs but don't want to eat the usual virtualization penalty on token throughput. The writeup drew 292 points on HN; the concrete tradeoff is passthrough setup complexity versus recovered inference speed. Worth reading before you decide local agents must run outside a VM to be usable.

Blogs

1

Stealing Reasoning Traces from Proprietary LLM APIs

rss:simonw 8/10 safetyresearch
Anthropic, OpenAI, and Google return encrypted chain-of-thought blocks that clients can replay across sessions, users, and models. The attack: take a trace from a frontier model, replay it into a weaker sibling, jailbreak that weaker model, and recover the stronger model's hidden reasoning in plaintext. Simon shows the encrypted blocks are real with a plain curl against the responses API. Concrete, reproducible, and a failure mode of the encrypted-CoT design itself rather than a one-off jailbreak.
24 more items the ranker flagged but didn't feature

Papers

Blogs