AGENTS.mdA

AGENTS.md from tonydzi/sqlite-graph-memory is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add tonydzi/sqlite-graph-memory/AGENTS.md@git:20260916.d72d78c

Pins 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

The exact contents, by fingerprint
mdr add tonydzi/sqlite-graph-memory/AGENTS.md@sha256:996774e67ffe20d2

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lkj2vyyxuwbazqle.svg)](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.

versioncommittedcommitsizeaudit
git:20260916.d72d78c latest2026-09-16 d72d78c 4,931 BA view · diff
git:20260830.c409aab2026-08-30 c409aab 3,818 BA view · diff
git:20260801.649e0a22026-08-01 649e0a2 3,836 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 (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

GitHub

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

llms.txt llms.txt file
tonydzi/sqlite-graph-memory · llms.txt
git:20261106.2ffa174 · audit A · 14 stars

Every file in tonydzi/sqlite-graph-memory

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

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