Git-backed memory for AI coding agents

Carry the context
forward.

Your project’s memory, across sessions, agents and teammates. Ask your agent to Rekal context from your team and past work for the task at hand.

Captured with commits. Searchable locally. Shared through Git.

  • Apache-2.0
  • No Rekal subscription
  • No memory server

Two teammates. Different agents. Shared context.

Alex · Claude Code

Build the feature

Sam · Codex

Extend it later

Illustrative agent sessions with synthetic content, not a recorded run. After setup, ask your agent in plain language. Shared context requires capture, merge/push and sync.
Claude Code
Cursor
Codex
Gemini
Copilot
OpenCode
Kiro

The reason to keep a record

Code records the change.
Keep the reasoning with it.

Put past context to work

Recover constraints, attempted fixes and rejected alternatives from earlier sessions.

Change agents, keep context

Give the next tool access to the project record, including captured conversations from other supported agents.

Bring teammates up to speed

Share eligible project history through the Git remote you already use. Teammates sync it into their own local index.

Works with the memory you already use

Your agent writes the notes.
Rekal keeps the trail.

Claude’s project memory is useful working context. Rekal captures its revisions alongside conversations, so a note can lead you back to the record. The agent decides what to read and what to conclude.

Repository notes, preserved

Conventional Claude project memory is discovered by default at checkpoint time. The first successful scan records a baseline; later scans append changes or deletion markers.

Personal sources, local

Personal and account-wide sources are opt-in. Sources configured as local are searchable snapshots in the local index. They do not enter the shared ledger.

Rekal does not intercept distillation or write back to native memory. A remembered note is context, not proof of current code behavior.

Agent first

Just ask your agent.

Ask your coding agent to Rekal the context it needs for the job. It searches your team’s shared history and your past work, reads the original sources and uses what matters for the task at hand.

Your next prompt

Please Rekal the context around invoice exports, then add date filters.

Past decisions, project notes and original conversations stay within reach. Your agent checks the current code and decides what matters.

Prefer the CLI? See the commands
rekal "invoice export conventions"
rekal query --ref <returned-reference>

Follow returned continuations for more context. JSON and SQL are available for advanced use.

Read the retrieval guide →

Git is the transport

Project memory your team can own.

Commit → capture

Append captured sessions and repository note revisions to the local ledger, associated with a code checkpoint.

Push → share

Send eligible records on separate rekal/<email> branches. Your product branch and code commits stay intact.

Sync → recall

Run rekal sync to bring teammates’ records into your own local search index. Embeddings and indexes stay local.

Sharing is gated by association with merged commits. That is an export rule, not a sentence-level privacy filter: captured sessions or notes can include context beyond the merged work. Redaction is best effort.

Understand storage, sharing and rebuilds →

Evidence, with the method attached

Measured retrieval. Inspectable results.

Historical agent evaluations reported these results. They are not a fresh answer-quality benchmark or a head-to-head comparison with Claude-mem.

Historical Rekal agent benchmark results
DatasetAnswer accuracyRecall@20
LoCoMo90.57%98.61%
LongMemEval86.60%99%

A separate 400-question LoCoMo diagnostic found complete annotated evidence coverage of 54.50% with multiple passages and 56.25% with passages plus extractive notes, using 17.9% more source text. It used no answer model, judge or Claude distillation. Evidence coverage is a different metric from answer accuracy.

Start with one repository

Install once. Commit as normal.

export PATH="$HOME/.local/bin:$PATH"
rekal version
cd your-project
rekal init
# Work with your coding agent, then commit normally
rekal "what did we change and why?"

The PATH line makes Rekal available immediately in Bash or Zsh. In Fish, use fish_add_path "$HOME/.local/bin" instead.

Your first search needs captured context. Already have local agent history in this repository? Run rekal checkpoint to capture it now, or rekal sync for history shared by teammates. Ask about your actual work, then open a returned source with rekal query --ref <returned-reference>. A new repository with no captured history can return no matches.

Rekal is available for macOS ARM64 and Linux AMD64/ARM64.

Practical questions

Before you connect your memory.

What does Rekal add when my agent already has memory?

Your agent keeps writing its own notes. Rekal preserves captured conversations and repository note revisions with Git checkpoints, so another session, tool or teammate can retrieve the evidence. It does not write back to native memory files.

Which agents does Rekal support?

Session capture supports Claude Code, Cursor, Copilot, Codex, Gemini, Kiro and OpenCode. Native note discovery defaults to Claude project memory. Other Markdown note sources require configuration; session capture and note discovery are different capabilities.

Do I need a memory server or subscription?

No. Rekal is Apache-2.0 open-source software with no Rekal subscription. Search and default embeddings run locally; eligible context is shared through your existing Git remote. Your coding agent, Git hosting or optional external embedding provider may have their own costs.

What is shared with my team?

Eligible captured conversations and repository note revisions travel through your Git remote on separate Rekal branches. Export is gated by association with merged commits. A commit association does not guarantee every captured sentence concerns merged work. Explicit local note sources remain index-only.

Does my memory leave my machine?

Capture, search and default embeddings run locally. Git push sends eligible records to your configured remote. An explicitly configured HTTP embedding backend receives text. Rekal CLI has no usage telemetry; this website uses analytics.

How do I disable native memory capture?

Set "memory": false in .rekal/config.json. This stops new native capture and local note indexing. It does not erase previously captured or published repository notes.

Can I upgrade without rewriting Git history?

Yes. No force push or code-commit rewrite is required. Upgrade all writers of memory-bearing branches and follow the upgrade guide. The index can be rebuilt from retained records; reindexing cannot recover deleted native files or records dropped by an incompatible writer.

Let the next agent start with the why.

Local search. A shared record. Your Git workflow.