AI News selected for Professionals and Decision Makers
Primary Research Stream

Memory in the Loop: In-Process Retrieval as ExtendedWorking Memory for Language Agents

06:00 · July 8, 2026 · arXiv cs.AI RSS

Memory in the Loop: In-Process Retrieval as ExtendedWorking Memory for Language Agents

Language agents run a loop - observe, reason, act - but the memory they reason over sits outside it: a store queried at most once per turn. We study the regime where memory moves inside the loop, read and written on every step. The obstacle has always been latency: networked stores answer in tens to hundreds of milliseconds, and in-loop retrieval can inflate end-to-end latency by up to 83x when retrieval is expensive. Prior work manages that cost rather than questioning it: serving-layer scheduling hides it, "memory-first" designs ration retrieval to once per turn. We argue latency is a property of where the store lives, not the in-loop pattern: an in-process store answers in ~100us, three orders of magnitude below the network regime, and at that speed the per-step tax collapses. By the extended-mind thesis's parity principle, a store fast enough to be constantly and directly available becomes extended working memory, not a tool the agent merely consults. The premise is causal: holding a fixed per-turn memory-latency budget and varying only the store's answer speed, redundant actions rise monotonically with latency - 0.0 of 12 at in-process speed, 7.2 of 12 at a 110ms cloud round trip (gpt-5-nano, gpt-5-mini; exact permutation p=0.0079). We demonstrate the regime end-to-end: across four GPT-5-class models under a bounded window, recall improves from 0/5 to 3.6-4.8/5 with in-loop memory, store ops at p50 80-165us - though an instructed restate-every-reply baseline also solves it perfectly, at a token cost that grows with the working set. The store never lost a fact in any run (244 of 244 writes kept); every miss traces to the agent's read policy, not the store. Our measurements also relocate the bottleneck: the dominant per-step cost is embedding (~200-400ms over the network); pairing the in-process store with a small local embedder returns the complete operation to a measured ~40us.

Summary

Language agents operate in an observe-reason-act cycle, yet conventional designs keep external memory outside that loop and query it at most once per turn. Networked vector stores impose latencies of 50–200 ms, which quickly renders repeated retrievals prohibitive and forces designers either to hide the cost through scheduling or to restrict access to the start of each turn. The paper demonstrates that relocating the store to an in-process implementation changes the economics: answer times fall to roughly 100 µs, three orders of magnitude below the network regime, so that the cumulative per-turn overhead collapses to about 1.7 ms even when memory is consulted on every reasoning step.

At this speed the external store satisfies the latency criteria of the extended-mind thesis and functions as genuine extended working memory rather than a consulted tool. Controlled experiments that hold the per-turn memory budget fixed while varying only store latency confirm the causal link: redundant actions rise monotonically from zero at in-process speeds to 7.2 out of 12 at a 110 ms round-trip, with the difference statistically reliable. End-to-end trials across four GPT-5-class models under bounded context windows show recall improving from zero to between 3.6 and 4.8 out of five facts, while the store itself never dropped a write across 244 operations; every observed miss originated in the agent’s read policy.

The measurements also relocate the remaining bottleneck. Embedding over the network now dominates at 200–400 ms per step. Pairing the in-process store with a compact local embedder reduces the complete operation to approximately 40 µs, restoring the regime in which memory participates directly in every reasoning cycle without token-cost inflation or external scheduling.

Why it matters

This research is highly relevant for Dutch AI researchers and engineers developing autonomous language agents, offering a practical architectural shift to drastically reduce latency and improve agent reasoning. It provides deep technical insights into optimizing memory loops, which is crucial for building efficient, scalable AI software in the Netherlands.

More in this beat
ai-agentsexperimental-benchmarksgpt-5inference-performanceIn-Process Retrievalnovel-methodologiesworking-memory
ARCANA: A Reflective Multi-Agent Program Synthesis Framework for ARC-AGI-2 Reasoning

06:00 · July 13, 2026

ARCANA: A Reflective Multi-Agent Program Synthesis Framework for ARC-AGI-2 Reasoning

This highly technical paper is directly relevant to AI researchers and advanced practitioners in the Netherlands working on AGI, multi-agent systems, and abstract reasoning. Its focus on achieving state-of-the-art results under strict hardware constraints makes it highly actionable for Dutch research labs and AI-driven SMEs looking to deploy efficient reasoning models.

Relevance 85 · Audience 95

Controlling Tool Use with Heading-Specific Activation Steering

06:00 · July 8, 2026

Controlling Tool Use with Heading-Specific Activation Steering

This research provides advanced techniques for controlling LLM agent behavior, which is crucial for Dutch AI researchers developing reliable and efficient AI systems. Understanding and steering tool use aligns with the EU's push for transparent and predictable AI deployments.

Relevance 85 · Audience 95

Akashic: A Low-Overhead LLM Inference Service with MemAttention

06:00 · July 8, 2026

Akashic: A Low-Overhead LLM Inference Service with MemAttention

This research is highly relevant for Dutch AI researchers and infrastructure engineers focusing on efficient and scalable LLM deployment. The proposed MemAttention mechanism offers actionable insights for reducing computational overhead and improving the sustainability of AI services, aligning with the Netherlands' push for cost-effective and green AI solutions.

Relevance 85 · Audience 95

When Does Learning to Stop Help? A Cost-Aware Study of Early Exits in Reasoning Models

06:00 · July 1, 2026

When Does Learning to Stop Help? A Cost-Aware Study of Early Exits in Reasoning Models

This research is highly relevant for Dutch AI researchers and engineers focused on optimizing LLM inference costs and promoting sustainable AI. The detailed cost-aware analysis and practical serving profiles offer actionable methodologies for deploying efficient AI models in resource-constrained or enterprise environments within the Netherlands.

Relevance 85 · Audience 95

SkillHarness: Harnessing Safe Skills for Computer-Use Agents

06:00 · June 23, 2026

SkillHarness: Harnessing Safe Skills for Computer-Use Agents

This research directly supports the Dutch and EU strategic focus on safe, ethical, and reliable AI deployment. For researchers and advanced practitioners in the Netherlands, it provides actionable methodologies to build autonomous agents that comply with stringent safety constraints in dynamic environments.

Relevance 85 · Audience 90

Measuring Cross-Task Behavioral Consistency in Language Model Agents

06:00 · August 17, 2026

Measuring Cross-Task Behavioral Consistency in Language Model Agents

The article provides a novel, quantifiable method for assessing the reliability and behavioral consistency of AI agents, which is crucial for compliance with EU AI regulations and the Dutch focus on transparent AI. Researchers can directly apply the open-source BCM framework to evaluate and improve the predictability of enterprise AI deployments.

Relevance 85 · Audience 95

Deploy local agents everywhere with LFM2.5-2.6B

15:58 · August 4, 2026

Deploy local agents everywhere with LFM2.5-2.6B

Strong focus on production inference constraints, latency, token throughput, and agent tooling directly addresses ML Engineer needs for efficient local deployment. Benchmarks and ecosystem support offer actionable data for Dutch teams building privacy-preserving on-device AI solutions aligned with EU priorities.

Relevance 78 · Audience 85

How Far Can Root Cause Analysis Go on Real-World Telemetry Data?

06:00 · July 16, 2026

How Far Can Root Cause Analysis Go on Real-World Telemetry Data?

This research is highly relevant for AI researchers and AIOps practitioners in the Netherlands managing complex cloud-native environments. It provides actionable insights into improving LLM-based multi-agent systems for automated diagnostics, a critical area for Dutch tech enterprises and infrastructure providers.

Relevance 85 · Audience 95

Model Routing Is Simple. Until It Isn’t.

19:27 · July 15, 2026

Model Routing Is Simple. Until It Isn’t.

Directly actionable for ML Engineers building production routers: covers latency/VRAM-adjacent serving realities, cost-accuracy tradeoffs, and EU-relevant compliance/data residency rules. Provides concrete metrics and an optimization approach applicable to Dutch SME and enterprise deployments.

Relevance 78 · Audience 85