AGENTS.md@memA

AGENTS.md@mem from juliusbrussee/caveman is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add juliusbrussee/caveman/mem/AGENTS.md@git:20260924.921eab8

Pins git:20260924.921eab8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
juliusbrussee/caveman
Path
mem/AGENTS.md
Versions recorded
3
Latest version
git:20260924.921eab8, committed Sep 24, 2026
First version recorded
Aug 11, 2026
Size
2,460 bytes
Repository stars
113,780
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# mem — cavemem, durable agent memory (Go core + clients, Apache-2.0)

Durable, cross-session memory: `remember` / `recall` / `supersede` / `history` / `forget`. A local SQLite store holds the
**raw** memories (the source of truth); recall ranks them with deterministic **BM25** behind a
conservative threshold and compresses each hit through the [engine](../engine/CLAUDE.md) so the
inferred token cost is honest and the dropped detail stays recoverable via CCR. Everything is
`inferred`.

## Layout
- `store.go` — `Remember`/`Recall`/`Supersede`/`History`/`Forget`/`Recover` over SQLite + engine; legacy schemas migrate in place.
- `bm25.go` — deterministic tokenizer + BM25 scorer (non-negative scores, so the threshold is meaningful).
- `cmd/cavemem/` — MCP server + `remember`/`recall`/`supersede`/`history`/`forget` CLI subcommands (JSON).
- `js/` + `py/` — thin TS and Python clients that shell out to the binary (mirrored libraries; they reimplement nothing).

## The cavemem_* MCP tools
`cavemem_remember(text)` · `cavemem_recall(query, limit?, token_budget?)` ·
`cavemem_supersede(id, text)` · `cavemem_history(id)` · `cavemem_forget(id)`,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add juliusbrussee/caveman/mem/AGENTS.md@sha256:679f52dcaab2f33f

The line at the top of this page pins the label git:20260924.921eab8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3smwg33pq73okzax.svg)](https://markdownregistry.com/a/art_3smwg33pq73okzax)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 11, 2026 and Sep 24, 2026, about one every 22 days.

versioncommittedcommitsizeaudit
git:20260924.921eab8 latest2026-09-24 921eab8 2,460 BA view · diff
git:20260812.d4ef06b2026-08-12 d4ef06b 2,463 BA view · diff
git:20260811.82864c82026-08-11 82864c8 2,533 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (2460 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

juliusbrussee/caveman · 113,780 stars · license Apache-2.0 · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3smwg33pq73okzax
GET https://markdownregistry.com/api/v1/resolve?ref=juliusbrussee/caveman/mem/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/679f52dcaab2f33f8e3ab9fff0ffdfcd4ad01f1cc224796b3a70e094231743b8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from juliusbrussee/caveman

AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 113,780 stars
CLAUDE.md@browse CLAUDE.md file
juliusbrussee/caveman · browse/CLAUDE.md
git:20260816.f71f6df · audit A · 113,780 stars
AGENTS.md@engine AGENTS.md file
juliusbrussee/caveman · engine/AGENTS.md
git:20260812.d4ef06b · audit A · 113,780 stars
CLAUDE.md@engine CLAUDE.md file
juliusbrussee/caveman · engine/CLAUDE.md
git:20261006.2f6ebbf · audit A · 113,780 stars
AGENTS.md@extension AGENTS.md file
juliusbrussee/caveman · extension/AGENTS.md
git:20261003.2ec7194 · audit A · 113,780 stars
CLAUDE.md@extension CLAUDE.md file
juliusbrussee/caveman · extension/CLAUDE.md
git:20261003.2ec7194 · audit A · 113,780 stars
CLAUDE.md@integrations CLAUDE.md file
juliusbrussee/caveman · integrations/CLAUDE.md
git:20260812.d4ef06b · audit A · 113,780 stars
AGENTS.md@mcp AGENTS.md file
juliusbrussee/caveman · mcp/AGENTS.md
git:20260924.921eab8 · audit A · 113,780 stars
CLAUDE.md@mcp CLAUDE.md file
juliusbrussee/caveman · mcp/CLAUDE.md
git:20260924.921eab8 · audit A · 113,780 stars
CLAUDE.md@mem CLAUDE.md file
juliusbrussee/caveman · mem/CLAUDE.md
git:20261009.30b22b7 · audit A · 113,780 stars
AGENTS.md@packages/cli AGENTS.md file
juliusbrussee/caveman · packages/cli/AGENTS.md
git:20260908.441c4cb · audit A · 113,780 stars

Every file in juliusbrussee/caveman

Browse by kind, by grade A, or by owner.