---
title: "Does Codex remember previous work? | Bombos"
description: "Codex can remember earlier chats with memories, but they are off by default, stored locally under ~/.codex, and not shared with the rest of the team."
image: "https://bombos.ai/assets/og-en-v2.png"
---

# Does Codex remember previous work, and can a team share that memory?

Short answer

Codex can remember earlier chats through Codex memories, but they are off by default. Once on, Codex turns earlier chats into summaries and stores them as local files under ~/.codex on your machine. Team sharing is not part of it; OpenAI itself says required team guidance belongs in AGENTS.md or checked-in documentation, not in memories.

*Piet Baudoin · published November 16, 2026 · November 16, 2026*

## How Codex memories work

With memories off, a new chat does not pull in what Codex learned in earlier chats. You can still resume an earlier session, for example with `codex resume`, and AGENTS.md and the repo files are always there. With memories on, Codex turns eligible earlier chats into local memory files: generated summaries plus the evidence they rest on. In a later chat Codex can recall them. Memory is built in the background, not right after every chat.

| Question | Answer (Codex docs, November 2026) |
| --- | --- |
| On by default? | No, local Codex memories are off by default |
| Turn on | ChatGPT desktop app: Settings > Personalization > Enable Codex memories; or `memories = true` under `[features]` in config.toml |
| Where it lives | In your Codex home directory, ~/.codex by default (a new profile uses memories\_v2/) |
| Per-chat control | `/memories`, in the desktop app, the Codex TUI and the Codex CLI |
| Clear | Delete Codex memories, for the selected machine |
| Secrets | Redacted |
| Team sharing | Not described |

## Turn it on in three steps

1.  Open the ChatGPT desktop app, go to Settings > Personalization and turn on Enable Codex memories. Or add `memories = true` under `[features]` in ~/.codex/config.toml.
2.  Work a few sessions as usual. Codex fills memory from earlier chats.
3.  Look in ~/.codex to see what was stored, and use `/memories` to limit it in a given chat.

## The misconception: memories are where team rules go

People who turn memories on often hope Codex will pick up the team’s conventions by itself. OpenAI says the opposite: treat memories as a helpful recall layer, not as the only source for rules that must always apply, and keep required team guidance in AGENTS.md or checked-in documentation. A memory is a summary Codex wrote itself, on one laptop, from one person’s chats. Nobody reviews it automatically, it is not automatically shared with teammates, and it is not in git. How AGENTS.md does travel with the repo is in [What is AGENTS.md and how does Codex read it?](https://bombos.ai/en/questions/codex/what-is-agents-md-and-how-does-codex-read-it/).

The docs mention one exception to local storage: ChatGPT Work uses account and workspace memory settings. How that relates to a team’s Codex work, the page does not say.

## What this means for a team

Say a developer finds out with Codex that the integration tests only pass with a certain migration order. Codex remembers that, on their laptop. A colleague asking Codex the same question gets nothing. If that colleague uses Claude Code, same result: Claude Code has its own auto memory, and Anthropic calls it “machine-local”, not shared across machines or cloud environments. On a new laptop, the old machine’s local memories are not there automatically.

So local memories do not automatically become team knowledge. What does get shared is whatever someone commits to AGENTS.md, documentation or code. A workable handoff: inspect the memory in ~/.codex, put the rule that holds into AGENTS.md, and have a colleague confirm in a new session that Codex loads it. If you run Codex and Claude Code side by side, read [Codex vs Claude Code](https://bombos.ai/en/questions/codex/codex-vs-claude-code-for-teams/). How to capture company knowledge for AI is in [How to give AI agents your company context](https://bombos.ai/en/knowledge-base/how-to-give-ai-agents-your-company-context/).

## Where Bombos fits

This is exactly the gap Bombos closes. It is a plugin that gives Codex and the team’s other AI tools one shared memory: what one person learned and the rules the team agreed on are ready for the next, traceable, in the cloud or on your own server. One developer can try it first for their own agents, and bring the team along when it works.

## Related questions

How do I turn on Codex memories?

In the ChatGPT desktop app under Settings > Personalization > Enable Codex memories, or in config.toml with memories = true under \[features\].

How do I clear what Codex remembers?

Choose Delete Codex memories and confirm. That resets the memory store of the selected machine; per chat you control memory with /memories.

Do secrets from my code end up in memory?

Codex redacts secrets from what it stores. Still review the memory files before sharing your Codex home directory or generated memories with anyone, as OpenAI also advises.

Does Claude Code remember what we did?

Claude Code has auto memory, on by default in local sessions, per repository under ~/.claude/projects. It is also machine-local: not shared across machines, colleagues or cloud environments.

## Sources

1.  [Codex memories (Codex docs)](https://learn.chatgpt.com/docs/customization/memories)
2.  [Custom instructions with AGENTS.md (Codex docs)](https://learn.chatgpt.com/docs/agent-configuration/agents-md)
3.  [Codex CLI commands (Codex docs)](https://learn.chatgpt.com/docs/developer-commands?surface=cli)
4.  [How Claude remembers your project (Claude Code docs)](https://code.claude.com/docs/en/memory)

## What does your AI forget?

1.  01You tell us which AI you use and where it keeps starting over.
2.  02We show what a shared memory changes there, on your own examples.
3.  03You keep the plan, with or without Bombos.

![Piet Baudoin](https://bombos.ai/assets/team/piet-klein.jpg)

**Piet Baudoin**You talk to Piet, from the Bombos teamDutch team from Utrecht and Nijmegen · data in Europe

## More questions about Codex

-   [How much does Codex cost for a team?](https://bombos.ai/en/questions/codex/codex-pricing-for-teams/)
-   [Codex vs Claude Code: which should a team use?](https://bombos.ai/en/questions/codex/codex-vs-claude-code-for-teams/)
-   [What is AGENTS.md and how does Codex read it?](https://bombos.ai/en/questions/codex/what-is-agents-md-and-how-does-codex-read-it/)
-   [What does a good AGENTS.md for Codex look like? An example](https://bombos.ai/en/questions/codex/agents-md-example-for-codex/)

[All questions about Codex →](https://bombos.ai/en/questions/codex/)


---

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","url":"https://bombos.ai/","logo":"https://bombos.ai/assets/bombos-bee.png","description":"Bombos is the memory layer under every AI your team uses. One shared memory for Claude, ChatGPT, Copilot, Cursor and your own agents, that learns how you work.","sameAs":["https://www.linkedin.com/company/bombos-ai","https://www.youtube.com/@truebombos","https://www.instagram.com/truebombos/","https://bsky.app/profile/bombostrue.bsky.social","https://www.threads.com/@truebombos","https://mastodon.social/@Bombos","https://www.tiktok.com/@truebombos","https://t.me/truebombos","https://www.pinterest.com/truebombos/","https://github.com/bombos-ai","https://linktr.ee/bombos.ai","https://bombosai.substack.com","https://hashnode.com/@bombosai","https://hackernoon.com/u/bombos","https://dev.to/bombos"],"email":"info@bombos.ai","areaServed":["NL","Europe"],"knowsLanguage":["nl","en"],"contactPoint":{"@type":"ContactPoint","email":"info@bombos.ai","contactType":"sales","url":"https://bombos.ai/en/contact/","availableLanguage":["nl","en"]}},{"@type":"WebSite","@id":"https://bombos.ai/#website","name":"Bombos","url":"https://bombos.ai/","inLanguage":["nl-NL","en"],"publisher":{"@id":"https://bombos.ai/#organization"}}]}

{"@context":"https://schema.org","@type":"Article","headline":"Does Codex remember previous work, and can a team share that memory?","description":"Codex can remember earlier chats with memories, but they are off by default, stored locally under ~/.codex, and not shared with the rest of the team.","abstract":"Codex can remember earlier chats through Codex memories, but they are off by default. Once on, Codex turns earlier chats into summaries and stores them as local files under ~/.codex on your machine. Team sharing is not part of it; OpenAI itself says required team guidance belongs in AGENTS.md or checked-in documentation, not in memories.","datePublished":"2026-11-16T00:00:00.000Z","dateModified":"2026-11-16T00:00:00.000Z","author":{"@type":"Person","name":"Piet Baudoin"},"publisher":{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","logo":{"@type":"ImageObject","url":"https://bombos.ai/assets/bombos-bee.png"}},"image":"https://bombos.ai/assets/og-en-v2.png","mainEntityOfPage":"https://bombos.ai/en/questions/codex/does-codex-remember-previous-work-and-can-a-team-share-it/","inLanguage":"en-US","isPartOf":{"@type":"CollectionPage","name":"Codex","url":"https://bombos.ai/en/questions/codex/"},"citation":[{"@type":"CreativeWork","name":"Codex memories (Codex docs)","url":"https://learn.chatgpt.com/docs/customization/memories"},{"@type":"CreativeWork","name":"Custom instructions with AGENTS.md (Codex docs)","url":"https://learn.chatgpt.com/docs/agent-configuration/agents-md"},{"@type":"CreativeWork","name":"Codex CLI commands (Codex docs)","url":"https://learn.chatgpt.com/docs/developer-commands?surface=cli"},{"@type":"CreativeWork","name":"How Claude remembers your project (Claude Code docs)","url":"https://code.claude.com/docs/en/memory"}]}

{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Bombos","item":"https://bombos.ai/en/"},{"@type":"ListItem","position":2,"name":"Questions","item":"https://bombos.ai/en/questions/"},{"@type":"ListItem","position":3,"name":"Codex","item":"https://bombos.ai/en/questions/codex/"},{"@type":"ListItem","position":4,"name":"Does Codex remember previous work, and can a team share that memory?","item":"https://bombos.ai/en/questions/codex/does-codex-remember-previous-work-and-can-a-team-share-it/"}]}

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How do I turn on Codex memories?","acceptedAnswer":{"@type":"Answer","text":"In the ChatGPT desktop app under Settings > Personalization > Enable Codex memories, or in config.toml with memories = true under [features]."}},{"@type":"Question","name":"How do I clear what Codex remembers?","acceptedAnswer":{"@type":"Answer","text":"Choose Delete Codex memories and confirm. That resets the memory store of the selected machine; per chat you control memory with /memories."}},{"@type":"Question","name":"Do secrets from my code end up in memory?","acceptedAnswer":{"@type":"Answer","text":"Codex redacts secrets from what it stores. Still review the memory files before sharing your Codex home directory or generated memories with anyone, as OpenAI also advises."}},{"@type":"Question","name":"Does Claude Code remember what we did?","acceptedAnswer":{"@type":"Answer","text":"Claude Code has auto memory, on by default in local sessions, per repository under ~/.claude/projects. It is also machine-local: not shared across machines, colleagues or cloud environments."}}]}
```
