Rekal guide

Git-backed team memory for coding agents

The repository already gives your team a way to distribute code. Rekal uses Git to distribute eligible project reasoning too.

Three places, three responsibilities

WhereWhat it holdsShared?
Local ledgerCaptured conversations and repository note revisions, plus bookkeeping.The database file itself is not pushed.
Git transport branchesCompressed eligible records on rekal/<email>.Yes, through your configured remote.
Local search indexDerived search data, embeddings, current prose and configured local note snapshots.No.

A normal Git workflow

Initialize once. Commit to capture context. Push to export eligible records. A teammate runs rekal sync before searching the shared history. Transport uses separate branches, so captured memory is not appended to your code-commit messages and does not require rewriting product history.

The export boundary matters

Association with merged commits controls export eligibility. It does not classify individual sentences or guarantee that a session contains only merged work. Review source scope before capture and remote access before sharing. Secret redaction is best effort, not a guarantee that sensitive material can never be recorded.

Switching tools and working with multiple agents

Supported adapters normalize captured sessions into a common searchable record. The agent performing retrieval does not need to be the tool that originally produced the session. Notes keep source identity and scope, so a teammate’s observation remains attributable rather than silently replacing your working notes.

Concurrent agents and machines can disagree. Retrieval supplies evidence for the consuming agent to assess; timestamps do not solve semantic conflicts or establish which statement is true.

Rebuildable does not mean everything is recoverable

The index is disposable when its sources are retained. A rebuild can restore search over captured ledger records and available files. It cannot restore deleted personal notes or remote records lost through an incompatible writer. Upgrade all writers of memory-bearing branches; read the migration guide before mixing versions.

Keep the interface small

rekal sync
rekal "what did we learn about webhook retries?"
rekal query --ref <returned-reference>

Follow returned continuations for more context. Use current code and tests to confirm whether a historical decision still applies.

Usage and sharing details → · Upgrade guide →