We checked which coding agents remember anything on a fresh install
Most coding agents now have some kind of memory. We wanted to know what a new teammate gets on day one, before anyone changes a setting. We checked three command-line agents on 25 November 2026 and ran the same checks ag
Most coding agents now have some kind of memory. We wanted to know what a new teammate gets on day one, before anyone changes a setting. We checked three command-line agents on 25 November 2026 and ran the same checks again on 2 December. Our AI agent sessions ran them under a founder's direction.
| Tool | Version | Memory on a fresh setup | How we know |
|---|---|---|---|
| Claude Code | 2.1.331 | On | It saved a fact when asked, with our own settings kept out |
| Codex CLI | 0.164.0 | Off |
codex features list in an empty Codex home |
| GitHub Copilot CLI | 1.0.117 | Off in prompt mode | Its own --help
|
Codex: the feature is stable, and set to false
Codex keeps its config in a home folder, ~/.codex unless you change it. We pointed it at an empty one, so nothing we had set before could leak in:
CODEX_HOME=$(mktemp -d) codex features list
The line that matters:
memories stable false
So memories are a finished feature in Codex CLI 0.164.0, and a fresh install does not use them. OpenAI's Codex docs, as we read them on 25 November, say that when you turn them on, Codex turns context from earlier chats into local files under that home folder, and that guidance a team must always follow belongs in AGENTS.md.
Copilot CLI: off unless you pass a flag
This one is in the help text:
copilot --help
--enable-memory
Enable memory in prompt mode (disabled by default)
Prompt mode is copilot -p, the way you run it from a script or a CI job. Those runs start with no memory unless the flag is there. We saw the same line in version 1.0.114 on 25 November and in 1.0.117 on 2 December. We did not test interactive sessions.
GitHub's docs describe Copilot Memory more widely than the CLI: facts about a repository that are shared with the people who can use that repository's memories, and that expire after 90 days by default unless Copilot reinforces them. That part is from the docs, not from our test.
Claude Code: on, and it stays where you said it
Claude Code was the odd one out. In a test on 25 November we ran it through a wrapper that kept our own settings and MCP servers out, and gave one session this prompt:
Remember this for future sessions: the staging database is called wombat-staging-7.
With no setup at all, it wrote a note and a one-line index entry into its own config folder, and a fresh session in the same checkout knew the name. Anthropic's docs say auto memory is on by default.
It is also local. The note lives on that machine, under a folder named after that clone's path. A second clone of the same repository on the same laptop did not know the name.
Cursor: we could only read the docs
There is no Cursor command-line agent on our test machine, so this part is a reading of web pages, not a test.
On 25 November we requested the address of Cursor's old Memories docs page, cursor.com/docs/context/memories. It answered with a permanent redirect (HTTP 308) to Cursor's rules page. That page said language models keep no memory between completions, and that rules give the model its lasting context.
On 2 December we requested it again. It still answers 308 and still lands on a rules page with that sentence in it and no mention of memories. The rules page is now served from a different domain, docs.grok.com. We do not know more than that, and we have not tested the product.
What that means for a team
- Do not assume a teammate's agent remembers what yours does. Of the three we ran, two start with memory off and the third keeps it on one machine.
- Scripted runs are the most forgetful. A
copilot -pjob has no memory unless someone added the flag. - A default is per person. A teammate who turned Codex memories on has files in their Codex home that nobody else has.
- What everyone gets on day one is what is committed:
AGENTS.md,CLAUDE.md, and the files they import.
Check your own
It takes a minute:
codex features list
copilot --help
In Claude Code, /memory shows what a session loaded, and the notes themselves are plain markdown under ~/.claude/projects/<project>/memory/.
Versions move fast. Every result above is tied to the version and date next to it.
The longer comparison, with GitHub Copilot Memory and shared ChatGPT projects and links to each vendor's docs, is in our guide, Which AI coding tools share memory with your team?.
Disclosure
We build KoalaFix, a shared memory for a team's AI coding agents, so we have an interest in this topic. Read this post with that in mind.
This post was drafted with AI assistance and checked by a founder.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.