News

Carry project context from Claude Code to Codex with Claude-Mem

Claude-Mem stores session observations and can include records from different agents when Claude Code or Codex starts a session.

Finley · FoxAI World1 min read
18
Finley with a shared project memoryMemory across agents

Conceptual cover created with AI.

Switching coding agents can mean explaining the same project decision twice. Claude-Mem keeps session observations and summaries in a local SQLite database. With sharing enabled, Claude Code and Codex can start a session with observations recorded by other supported agent environments.

Choose what a new session sees

The default startup context comes from the current agent environment. Set CLAUDE_MEM_SESSION_START_INCLUDE_ALL_SOURCES to true in Claude-Mem’s settings.json or enable the equivalent option in the viewer. The observation limit still applies across the included sources.

Project observations passing between two coding agents
AI-generated conceptual illustration.

Start with one concrete handoff

Ask the receiving agent why a particular test uses its current configuration. If the answer is missing from startup context, have it search the stored project history and retrieve the relevant observation. Compare that explanation with the current code before relying on it for a change.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.