Support centralized memory consolidation service

Open 💬 1 comment Opened Jun 21, 2026 by zclllyybb

What variant of Codex are you using?

CLI

What feature would you like to see?

I need the ability to proactively trigger memory compaction from the front end, similar to codex memory maintain --wait.

Requirement Background:

I have a large number of temporary codex processes running on distributed temporary machines and headless environments, used for CI/CD tasks. I want them to share memory, but due to machine cost considerations, I cannot wait for memory compaction to complete in the temporary environment. Therefore, I need a central memory machine to collect session data and perform memory compaction and distribution centrally.

Additional information

Do not wish to disturb the official developers of codex, but if other users have the same need, a temporary patch is provided at https://github.com/zclllyybb/codex/tree/codex-memory-maintain-command.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗