Team memory in git · arXiv:2607.14390 ->

Your coding agent starts everysession blank. Rekal is thememory it's missing.

Captures the why at every commit. Shared with your team over plain git — on your machine, not someone else's cloud.

Two terminals side by side. On the left, Dana commits a 37-turn session about webhook delivery and pushes it. On the right, Sam, who was never in that conversation, syncs and his agent answers that a fixed retry delay was already rejected.
Claude Code
Cursor
Codex
Gemini
Copilot
OpenCode
Kiro

The gap

Code has git. intent has nothing.

Attached to the commit — not archived somewhere else.

Team

Memory that travels with the code

Shared over plain git — no memory server. Push on commit; sync when you want team context. Ranking adapts personally on your machine — the citation graph stays local and never rides the wire.

you
rekal/<you>
push on commit
teammate
rekal/<them>
rekal sync → .rekal/

01

Orphan branches

Sessions ride rekal/<email> — never touch product history or PRs.

02

Merged work only

Dead-ends stay local. What lands on main is what the team inherits.

03

rekal sync

Fetch teammates' branches and fold their sessions into your local store.

Benchmarks

0.0%
LoCoMo
0.0%
LongMemEval
0.0%
Recall@20
0.0%
Recall@10
0.0%
Recall@5
~0.0K
tokens / query
~0 ms
recall
~0s
end-to-end

Compression & store

~0×
wire vs JSONL
0 KB
wire size
0.0 MB
raw JSONL
0.0 MB
local store

Soul

Agent first. Zero maintenance.

The trade we make on purpose — one immutable ledger, lazy inference, real reasoning on demand.

Belief · agent first

SOUL.md →

The agent is the reader — not the human.

Every decision about output format, query interface, and context loading puts the agent first. A compact digest — verdict, confidence, drill pointers — built to act on. Silence when memory isn't the tool. Humans benefit as a side effect.

INJECT
Surface this memory now
KNOWLEDGE
Read a HEAD pointer instead
SILENCE
Stay quiet — wrong tool

Lazy inference

Reason at ask-time

No write-time summaries. Retrieval, ranking, routing, and the agent's judgment run over the real record when you ask — compute on demand, nothing derived that can rot. The ask itself becomes another session: distilled and reasoned, riding git with the team — so the cost of that inference is implicitly cached for the next recall.

Zero maintenance

Nothing to keep healthy

Raw sessions are the truth. The index is a disposable accelerator — rebuild reconciles it. No consolidation pipeline, no memory tiers, no drift.

Personalised ranking

Adapts as you recall

Your machine tracks which sessions you reach. Load-bearing memories get a usage hint and a gentle boost — private, never synced, inert until you build a history.

vs Mem0

Extracts and maintains distilled “memories.”

RekalAppend-only raw ledger. The agent drills the real turns — no lossy distillation to babysit.

vs Tiered memory

L1/L2/L3 and wiki-style compiles (AdaMem, Tencent-style layers) need consolidation to stay fresh.

RekalNo memory layers. Query-time structure over a disposable index — the maintenance problem we exit.

vs Memory SaaS

Another service, another store, privacy and ops on the critical path.

RekalLocal binary. Intent rides git. Nothing to operate.

Install

Then commit as normal.

cd your-project

rekal init

# done

FAQ

Questions

How is this different from Mem0?+

Mem0 maintains distilled memories. Rekal keeps a raw append-only ledger and runs lazy inference at ask-time — zero memory tiers to maintain, agent-first digests instead of prose dumps.

Which agents?+

Claude Code, Codex, Gemini, OpenCode, Kiro — captured at commit. Also works with Cursor and Copilot. Agent-agnostic: switch tools without losing team memory.

How does team memory work?+

Orphan branches per author. Only merged work reaches the wire. rekal sync folds teammates' sessions into your local index.

Does intent leave my machine?+

No cloud memory API. It rides git on your remote — same push/fetch you already use. No telemetry.

How does recall work?+

rekal "<problem>" returns scored seeds with confidence — drill, follow a pointer, or stay silent. A personalised recall graph (local-only) adapts ranking to what you reach most — never synced to the team.

Free. Local. Forever.

No accounts. No telemetry. The CLI is the product.

arXiv:2607.14390