# Reproducible Evaluation as the Substrate for Safe Prompt Compression in Production Agents

DevFeed: [Reproducible Evaluation as the Substrate for Safe Prompt Compression in Production Agents](<https://devfeed.tech/articles/reproducible-evaluation-as-the-substrate-for-safe-prompt-compression-in-production-agents-99921.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31972>)

Author: Prabal Vashisht, Zheng Hu, Ying Yang

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [prompt](<https://devfeed.tech/topics/prompt.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [evaluation-harness](<https://devfeed.tech/tags/evaluation-harness.md>), [production](<https://devfeed.tech/tags/production.md>), [prompt](<https://devfeed.tech/tags/prompt.md>)

## AI overview

An offline evaluation harness keeps agent benchmarks reproducible as live enterprise data changes and can be regenerated when they go stale. The authors use it to drive GEPA-based prompt optimization with a correctness gate intended to guard against reward hacking. In a production merchant-facing agent, the gated approach reduced the full prompt surface by 3.5-7.6% without lowering held-out task correctness across three subject-model families; correctness measurably improved for one. This summary is based on the supplied abstract.

## Source excerpt

arXiv:2610.31972v1 Announce Type: new Abstract: Evaluating conversational agents that act on live, mutable enterprise data is hard: replayed sessions drift as backend state changes, and a benchmark built today can silently go stale as the data it describes moves on. We present an offline evaluation harness for a production conversational agent that stays reproducible despite the live data it operates on changing, and that can be regenerated on demand once it goes stale. We then use this harness as the fitness function for GEPA-based prompt optimization under a correctness gate that guards against reward hacking. Applied to a production merchant-facing agent, correctness-gated compression shrinks the agent's full prompt surface by 3.5-7.6% without regressing held-out task correctness, consistently across three independent subject-model families, and for one, correctness measurably improves.