sirmem

Small CLI for a file-based knowledge-graph memory used by LLM agents. Plain text in, plain text out; the data is Markdown and TSV you can read and diff.

sirmem init --dir ~/memory/data        # default schema.md
export SIRMEM_DIR=~/memory/data
sirmem new sirlaptop machine
sirmem new my-proj project "My Project"
sirmem alias my-proj owner/repo
sirmem link my-proj uses sirlaptop "dev box"
sirmem rel my-proj
sirmem prefs
sirmem lint

Data dir: schema.md (types and verbs), relations.tsv (sorted, one direction), entities/<id>.md (front-matter + body). Run sirmem --help for all commands.

Build: devbox run build, test: devbox run test. See AGENTS.md. Extra over the spec: init command; env SIRMEM_MACHINE overrides the detected hostname.

MIT licensed.

S
Description
File-based knowledge-graph memory CLI for LLM agents
Readme MIT
175 KiB
v0.1.4
Latest
2026-11-22 19:42:41 +01:00
Languages
Nim 96.6%
Shell 3.4%