AGENTS.mdA
AGENTS.md from tonydzi/sqlite-graph-memory is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add tonydzi/sqlite-graph-memory/AGENTS.md@git:20260916.d72d78cPins git:20260916.d72d78c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- tonydzi/sqlite-graph-memory
- Path
AGENTS.md- Versions recorded
- 3
- Latest version
- git:20260916.d72d78c, committed Sep 16, 2026
- First version recorded
- Aug 1, 2026
- Size
- 4,931 bytes
- Repository stars
- 14
- License
- MIT
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
# AGENTS.md — working in this repo Written for AI coding agents, and equally readable by a human contributor. Short on purpose. ## What this repo is The extracted memory layer of a personal second-brain agent setup: vector retrieval for entry points, hand-curated `[[wikilinks]]` for association, a cross-encoder rerank, and SQLite for the only two things worth persisting — a per-turn ledger and A/B telemetry. **Status: pilot.** It runs daily in one real setup and it is deliberately minimal. It is not a framework and should not grow into one. The interesting claim here is what it *does not* need: no graph database, no ETL, no entity-extraction pass. ## Stack and layout - **Python + SQLite (stdlib driver).** `requirements.txt` covers the embedding/rerank models only. - `index_notes.py` — chunk + embed a markdown folder (e5-base) into a `.npy`/`.pkl` index. - `brain_ask.py` — the recall pipeline: dense retrieve → optional `--graph` 1-hop wikilink expansion → cross-encoder rerank → top-12. `--ab` runs vector-only *and* vector+graph, diffs them, and logs the delta to SQLite. - `turnstate_hook.py` — agent Stop-hook; appends one row per assistant turn. Zero tokens, pure …
Read the whole file at its exact version.
How to install
mdr add tonydzi/sqlite-graph-memory/AGENTS.md@sha256:996774e67ffe20d2The line at the top of this page pins the label git:20260916.d72d78c, 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.
[](https://markdownregistry.com/a/art_lkj2vyyxuwbazqle)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 1, 2026 and Sep 16, 2026, about one every 23 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.d72d78c latest | 2026-09-16 | d72d78c | 4,931 B | A | view · diff |
| git:20260830.c409aab | 2026-08-30 | c409aab | 3,818 B | A | view · diff |
| git:20260801.649e0a2 | 2026-08-01 | 649e0a2 | 3,836 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4931 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
tonydzi/sqlite-graph-memory · 14 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lkj2vyyxuwbazqle GET https://markdownregistry.com/api/v1/resolve?ref=tonydzi/sqlite-graph-memory/AGENTS.md GET https://markdownregistry.com/api/v1/blob/996774e67ffe20d23736db02710baf912ad1d7b0d13c06c4100b68827f5b5170
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 tonydzi/sqlite-graph-memory
Every file in tonydzi/sqlite-graph-memory