When companies log everything an AI says and sees, does that record actually prove what the AI did — or just what it was told?
How do firms currently implement prompt and output logging at scale?
This explores how companies actually record what goes into and comes out of their LLM systems in production — and the honest answer is that the collection has almost nothing on industry logging practice itself, though it has useful material on what makes logging hard and what a good record needs to capture.
This explores how companies record the prompts sent to LLMs and the outputs that come back, at production volume. The collection doesn't answer that directly: there are no surveys of firm practice, no accounts of logging pipelines, retention policies, or observability tooling here. What it does have is research on three neighbouring problems — how big and repetitive prompts get, what a useful record of an agent's work looks like, and where a log of prompts and outputs falls short as evidence.
Start with volume, because that's what makes "at scale" hard. In agent systems the prompt isn't a single message; it's a growing pile of instructions, tool definitions, and prior tool results that gets resent on every step. Work on separating reasoning from tool results shows that the standard loop makes prompts grow quadratically, with the same content repeated over and over Can reasoning and tool execution be truly decoupled?. Anyone storing those prompts verbatim is storing that redundancy too. The compression research points the other way: prompts can shrink 20x with small accuracy loss Can prompts be compressed without losing model performance?, and agents can cut peak token usage 26 to 54 percent by compressing their own history Can prompt optimization cut agent token usage without retraining?. That raises a question the papers don't address: once the prompt has been compressed, the log shows what the model saw, which is no longer what the user or the tools originally supplied.
On what a good record contains, the most relevant work treats the trail as a design goal rather than a by-product. Dr. Claw wraps an unchanged coding agent in persistent state objects, so the process is traceable and recoverable rather than reconstructed afterwards from raw text Can orchestration layers make coding agents more auditable?. BenchShield makes a similar move for benchmarks: instead of trusting a final score, operators back their claims with recorded infrastructure evidence that the agent followed the intended path Can infrastructure evidence replace terminal scores in benchmark validation?. Both suggest that structured state and evidence of what actually executed are more useful than a transcript.
The security work shows why a transcript can mislead. In planner-executor systems, a crafted prompt can bias how the workflow gets formed before any inspection defence runs Can prompts alone reshape multi-agent workflows without system access?, so a log that only captures execution misses the step where things went wrong. And logs don't have to be read only after the fact: verifiers can run alongside a reasoning trace and step in only on violations, with almost no added delay on correct runs Can verifiers monitor reasoning without slowing generation down?.
So the collection can tell you why logging LLM systems is harder than logging ordinary software, and what researchers think a trustworthy record needs. For how firms actually do it today — which tools, what they keep, how long, and how they handle privacy — you'll need to look outside this collection.
Sources 7 notes
ReWOO and Chain-of-Abstraction both decouple reasoning from tool responses through different mechanisms—planning-before-execution and abstract placeholders respectively—eliminating quadratic prompt growth and sequential latency while maintaining reasoning quality.
LLMLingua achieves up to 20x prompt compression with only 1.5-point performance drops by allocating less compression to instructions and questions, more to demonstrations, then pruning tokens using a small model's perplexity scoring aligned to the target LLM.
Microsoft's ACON method reduces agent token consumption and improves task success by iteratively refining compression guidelines through failure analysis, not weight updates. This approach works across proprietary LLM agents and costs under $2 per benchmark.
Dr. Claw wraps existing coding agents in persistent state objects and skill libraries, reporting higher research completeness and a traceable, recoverable process trail while keeping the underlying executor unchanged.
BenchShield enables benchmark operators to issue claims about valid task completion grounded in recorded infrastructure evidence rather than terminal scores alone. This shifts from a single number to a verifiable claim about whether an agent followed the intended evaluation path.
Show all 7 sources
FLOWSTEER demonstrates that a crafted prompt can steer planner-executor systems by biasing workflow formation before infrastructure is invoked, raising malicious success by up to 55 percent. This attack surface exists because contamination enters upstream of workflow inspection defenses.
Decoupling verification from generation lets verifiers run alongside a single trace, forking to extract verifiable state and intervening only on violations. On correct runs the latency penalty is near-zero; interwhen matches or beats CoT across benchmarks at similar token budgets.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
- ACON: Optimizing Context Compression for Long-horizon LLM Agents
- Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- FLOWSTEER: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systems
- interwhen: A Generalizable Framework for Steering Reasoning Models with Test-time Verification
- Dr. Claw: An AI Scientist Workspace for Vibe Research
- BenchShield: Formal Model-Backed Instrumentation for Reward Integrity in LLM-Agent Evaluation Infrastructure