
OpenAI adds context compaction, session review and “time awareness” for agents to its SDK
GitHub · openai/openai-python ·
Why it mattersThese are the controls teams ask for when long-running agents go to production: lighter memory, review of what the agent does, and a sense of deadlines.
Factsper the sources
- Version 3.42.0 of OpenAI's official Python SDK was published on GitHub on October 31 at 00:26 UTC.
- According to its changelog, it adds agent context compaction settings, agent session review and tool settings, and experimental agent time awareness.
- The same release includes organization-level external key management, SIP DTMF commands and WebSocket recovery improvements.
- OpenAI's documentation describes its Agents API as a service where OpenAI manages sessions, sandboxes, tools and error recovery.
Read the analysis
Analysisfor businesses
These settings reaching the SDK suggests the Agents API now exposes them to developers. For a company, configurable compaction controls the cost of long sessions, and session and tool review is the piece audit and security teams usually require. The changelog does not yet explain how “time awareness” works, so wait for the documentation before relying on it.







