Sharing Memory Between Claude Code and Codex

kasikciozan · reddit · 2026-07-13

Frustrated by losing context across sessions and the inability to share knowledge between Claude Code and Codex, the author built a local MCP server: Global Agent Memory.

Instead of storing memories in a black-box database, it saves them as Markdown files. Agents can search existing memories and propose new ones, which then enter a manual review queue supporting approval, editing, protection, or rejection.

Search is powered by local SQLite FTS5, with optional Ollama embeddings for semantic search. The author also asks the community: would you let agents write memories automatically, or keep the manual review step?

Original post →

More from coding & agent

coding & agent channel →