Codex Astra context management is an experimental mode that changes how Codex handles a long coding session once the context window runs low on room. Rather than depending on a single summary, Codex can keep notes that carry over between windows and look back through messages and tool calls from earlier.

Original post on X

Load the post to view it as published on X. X may receive connection data.

View the original post on X ↗

Dan McAteer's post on X frames the feature around one goal, making Astra behave "less like an amnesiac." It is off by default, and the details below matter before anyone relies on it.

How does Codex Astra context management work?

Older compaction, as an OpenAI developer forum thread describes it, simply summarized the conversation once the limit was reached. The new mode has three parts: a token budget that holds the live context to a manageable size, saved notes plus a searchable archive of older windows, and a `new_context` tool that lets Codex start a fresh window and carry on from saved notes.

Notes are the working memory, and search is the fallback. The announcement text shared in the post says a requirement or test result missing from the notes can still be found in earlier messages. Search reaches only the same task, according to a docs mirror. Because the model decides what to write down and what to look up, the mode is only as good as the notes it keeps.

How do you turn it on, and who can use it?

The switch is `features.context_management.experimental_mode = true` in config.toml, and the mode stays off until you set it. A write-up by Dan McAteer places the line under a `[features]` table. Because the setting only applies to new chats, as a separate X post notes, start a new task after changing it.

The 0.153.0 release on GitHub adds the option, disabled by default, for eligible ChatGPT Plus, Pro, and Pro Lite sessions on the Codex backend. It excludes API-key sessions, custom providers, and temporary structured threads. A third-party docs page adds that Business and Enterprise sign-ins were left out at launch, and a Codex guide dates the release to September 3, 2026.

Does it make the context window bigger?

No. Notes and search change what happens at the window boundary, but the active window still has a fixed size. Sources disagree on that size. An iceberg lakehouse article lists 1,050,000 tokens for GPT-6 Astra in the OpenAI API documentation, while a comparison guide written about GPT-6.2 Astra says Codex starts Astra at 272,000 tokens, adjustable with `model_context_window`. The post hopes the mode will make the window "feel massive," which describes how the session feels, not a larger limit.

Is the feature ready to rely on?

The announcement shared in the post said the feature would become Astra's default in the coming weeks. A Codex guide by Blake Crosley reports that the config reference now describes the feature as "not currently available," and that the models page dropped its section after September 29, 2026. A GitHub issue tested against Codex 0.153.4 reports that native notes and history calls return 404 errors on Pro with Astra, and that new_context can discard task state.

Early users describe it as an upgrade over compaction, yet one post on X reports a user who burned 16% of a weekly usage limit in under an hour. Treat it as a preview: test it on a non-critical task and keep your own notes until the behavior settles.

Key takeaways

  • Astra's experimental mode keeps notes across context windows and lets Codex search earlier messages and tool calls within the same task.
  • It is off by default; set `features.context_management.experimental_mode = true` in config.toml and start a new task.
  • Its status is unsettled: a later guide reports the feature as not currently available, so test it before relying on it.

Frequently asked questions

Is Codex Astra context management on by default?

No. It is disabled by default and has to be switched on in config.toml.

Can API-key users turn it on?

The 0.153.0 release notes exclude API-key sessions and custom providers. The feature is aimed at eligible ChatGPT Plus, Pro, and Pro Lite sessions on the Codex backend.

Does it apply to existing chats?

No. It only affects new chats, so start a new task after enabling it.

Sources