Rekal guide

Project memory for Codex, across sessions and agents

Give a Codex session access to the reasoning already captured for the project—even when it came from Claude Code or a teammate.

Start with a question about the code

A retry policy is easy to see in a diff. The failed experiment behind it may only be in an earlier conversation. Rekal gives Codex a way to search that retained record and inspect the source before proposing a change.

rekal "why do webhook retries use jitter?"
rekal query --ref <returned-reference>

Copy an actual reference returned by search. Results are source leads, not an authoritative answer. The agent still needs to compare historical reasoning with current files and tests.

Set up one repository

  1. Install a compatible Rekal binary using the installation instructions.
  2. Run rekal init in your repository. It installs hooks, the recall skill and supported instruction-file pointers.
  3. Work with Codex and commit normally. The Codex adapter discovers supported local rollout transcripts for capture.
  4. Run rekal sync to import eligible records that teammates have already pushed.

What carries across from another agent?

Captured conversations and repository note revisions can be searched together after sync. Claude project note discovery is enabled by default; this does not mean every agent has the same native memory format or that Rekal writes notes back into Codex.

Personal sources explicitly configured as local stay in the local index. Shared records travel on separate Rekal Git branches, subject to the export rules. A Git association is not a sentence-level privacy filter.

What if the history is missing?

Rekal can retrieve only retained records it has captured or imported. It cannot recreate a deleted transcript. Check capture and sync status before treating an empty search as evidence that a discussion never happened.

See the capture and retrieval guide, Claude memory integration and team sharing model.