Outcome
Determine whether agentgateway request-local context compression improves stateless AgentOS routes without replacing Pi's native OpenAI compaction lifecycle.
Scope
- Confirm the feature's released version, support status, exact
/v1/compress contract, and upgrade/rollback behavior.
- Benchmark no compression, current Pi native server compaction, and gateway compression on disposable/stateless workloads.
- Measure total-session cost, task success, turns, latency, provider cache reads, tokens saved, and failure behavior.
- Prove
/v1/responses/compact passes through agentgateway byte- and artifact-correctly.
- Keep persistent Pi sessions, opaque
encrypted_content persistence, replay compatibility, and portable fallback owned by the existing AgentOS extension.
Acceptance criteria
References
Outcome
Determine whether agentgateway request-local context compression improves stateless AgentOS routes without replacing Pi's native OpenAI compaction lifecycle.
Scope
/v1/compresscontract, and upgrade/rollback behavior./v1/responses/compactpasses through agentgateway byte- and artifact-correctly.encrypted_contentpersistence, replay compatibility, and portable fallback owned by the existing AgentOS extension.Acceptance criteria
References