Towards Data Science By Emmimal P Alexander

AI Agents Don’t Need More Context — They Need Typed Context

Read the original on Towards Data Science →

The article argues that AI agents face a context typing issue rather than merely a lack of context. It explains how flattening instructions, memory, evidence, and tool outputs into a single string erases semantic boundaries, and presents a lightweight, zero‑dependency Python runtime that preserves these boundaries, tracks provenance, and rejects invalid transformations before they reach the model. The post details the implementation, testing, and the guarantees and limitations of this approach.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

arXiv AI
4d ago

Semantic Context Handoff with On-Demand Evidence for Long-Horizon Agents

Semantic Context Handoff (SCH) separates a compact semantic state from the supporting action–observation evidence, allowing long‑horizon agents to retain only essential context while keeping earlier evidence accessible for later use. This approach reduces inference cost and improves accuracy by preventing unnecessary growth of the prompt history. In a 150‑task SWE‑bench study, SCH raised Pass@1 from 80.0 % to 86.9 % with unchanged token use and execution time, and in full‑system comparisons it achieved 86.9 % Pass@1 while using 43 % fewer tokens and 41 % less wall‑clock time than the strongest baseline.

By Guolong Zheng, Chen Hou, Xu Yang, Jianshan Zhang, Tao Huang
arXiv Computation and Language
Nov 4

Agentic Context Management for Multi-Turn Human-AI Conversations

The paper introduces Agentic Conversation Context Curation (AC3), a training‑free method that cleans multi‑turn human‑AI dialogue by consolidating the user’s task specification, auditing assistant outputs, and editing the context to remove or rebuild assistant turns. AC3 outperforms both full context and assistant‑omission (AO) baselines on several benchmark tasks, closing a significant portion of the performance gap and receiving preference from a GPT‑5‑mini judge on real WildChat conversations. The study also shows that context pollution is contagious and that simply ignoring assistant turns can worsen performance, underscoring the need for structured removal of assistant content.

By Matthew Ho, Chenglong Wang, Baolin Peng, Nebojsa Jojic, Philippe Laban, Michel Galley, Jianfeng Gao, Lianhui Qin