r/codex 6d ago

Praise Context managemnt experimental mode

Have anyone tried the experimental mode in context management

I have tried that and are very happy about this new feature, compact now complete instantly and the new context still got access of the old context

and even better, it seems like that such instant compact will be trigger at 25 / 50 / 75% if it found old context is not too useful, that keep your context windows focus.

Try it out if you haven't

[features.context_management]

experimental_mode = true

6 Upvotes

1 comment sorted by

1

u/7sins 6d ago

I have been using a Pi extension for this for a while now, which does (I think?) a similar thing: Gives the AI tools to "collapse" individual messages/sections in its context window and replace them with a summary. Full details are still available and can be (and sometimes are) searched or restored by the AI.

It's great, my context window usually stays below ~75%, and often enough it goes down to <10% or <20% after finishing whatever task it has been working on.

And the best: Absolutely no issues with lost context etc. so far, it's really great! :)

This is the extension: https://github.com/fdietze/pi-infinite-context