SentinelLabs evaluates OpenAI Responses API compression mechanism: automated malware analysis input tokens reduced by about 86%
Context Engineering | Compaction & Agent Memory for Automated Malware Analysis
SentinelLabs used an automated malware analysis evaluation framework to test the native compaction of the OpenAI Responses API, with input tokens reduced by about 86%, output tokens reduced by 31%, and reasoning tokens reduced by 33%, with 1 fewer model call per run, and overall evaluation scores essentially unchanged. The mechanism compresses the current goal, attempted paths, and pending problems into working memory, while precise evidence such as logs and decompiled functions is stored in persistent storage outside the model context. However, domain object modeling metrics declined, meaning the model's ability to recover high-level objects and structures that explain malware behavior weakened.