Codex with Memory Bridge

How to give Codex memory of your project

Connect Codex to Memory Bridge and before each task it reads your project's decisions and their reasons, even ones you discussed in Claude.

On its own, Codex reads the AGENTS.md file in your repository. Its memories stay off until you turn them on, and live on your machine.

Last reviewed:

Start for free No credit card needed

What does Codex remember on its own?

Codex reads AGENTS.md in the repository to learn the project's commands and conventions, along with a global file in its folder on your machine.

Its memories are optional and off by default. Once on, they keep your preferences and project conventions in files on your machine, and OpenAI advises keeping rules that must always apply in AGENTS.md.

Checked against OpenAI's Codex documentation on memories in October 2026. These features change often, so check that page for the latest.

What does Memory Bridge add to Codex?

Memory Bridge keeps what does not fit in an instructions file, such as why a design was chosen and what was tried and failed. Codex reads it before it starts, and so do Claude and ChatGPT.

Connect Codex in three steps

  1. 1

    Add Memory Bridge

    Run codex mcp add memory-bridge --url https://mcp.memorybridgeai.xyz/mcp. Or add [mcp_servers.memory-bridge] with url = "https://mcp.memorybridgeai.xyz/mcp" to ~/.codex/config.toml.

  2. 2

    Sign in

    Adding it does not sign you in, so run codex mcp login memory-bridge. In the desktop app or IDE extension, choose Authenticate when it asks.

  3. 3

    Carry on working

    Ask Codex as you always do. It finds what your request needs in your memory.

The desktop app, the command line and the IDE extension share this setup, so you add it once.

Say it in Claude, carry on in Codex

Claude
You

We tried page-level caching and removed it because it showed stale prices. Cache images only.

Claude

Saved.

Saved to memory · Caching decision
One memory
Codex
You

Make the product page faster.

With Memory Bridge

I compressed the images, cached them, and deferred below-the-fold loading. I did not add page caching, because you removed it over stale prices.

From memory · Caching decision

Illustrative example

Common questions

Does Codex remember previous sessions?

Only if you turn on its memories, which start off. Once on, it keeps your preferences and project conventions in files on your machine.

Can Codex use what I discussed in Claude?

Yes, if both are connected to Memory Bridge. Codex finds in your memory what Claude saved about the project.

Does Memory Bridge replace Codex's instruction files?

No. Your project instruction files stay where they are and keep doing their job. Memory Bridge adds what does not fit in those files and makes it available to your other tools.

What can Codex see of my memory?

All your spaces, including ones you create after connecting, and it can read and write in them. You can disconnect it at any time under Connected apps in your Memory Bridge settings.

What if the connection fails?

We have tested these steps ourselves. If you hit a problem, write to us through the support channel with the error message.

Keep reading

Memory for coding agents

Instruction files tell a coding agent how to write code, not why the project chose what it did. How to keep decisions and reasons across sessions and tools.

ChatGPT

ChatGPT's memory keeps your preferences but drops detail. Connect Memory Bridge to keep lasting notes about your work that ChatGPT and your other AI tools read.

How Memory Bridge works

Connect your tool, tell Memory Bridge about your work, then carry on. How your context is saved and how it comes back in every new chat and every tool.

One memory. Every tool you use.

Start for free, no credit card needed. Your account arrives within minutes.

Start for free

No credit card needed · No commitment