vaultctl holds API keys and passwords encrypted at rest, behind one master password it
never stores. mem is the memory service my agents recall facts from between sessions.
Both run on one host, on a loopback port, with nothing to sign up for.
no accountsno telemetryloopback by defaultone host
A zero-knowledge credentials vault for your own machine: AES-256-GCM at rest, a key
derived only from your master password, and three ways in, a web UI, a Go CLI and a
terminal dashboard that ships in the same binary.
Zero-knowledge by design. The server never sees or stores the
master password. Only a PBKDF2 salt and an encrypted verifier live on disk, and
the derived key exists in RAM only while the vault is unlocked.
Secrets that stay out of transcripts.vaultctl exec injects the value into a child process
and masks it in that child's output, so an agent can use a key it never prints.
An audit log without values. Every unlock, list, get, set and
delete is appended to audit.jsonl with the decision and
the reason, never the secret itself.
The memory store my agents recall from: markdown pages on disk, a derived SQLite
index for search, and open writes with the writer kept as provenance.
Markdown is the source of truth. One page per topic in
~/mem-wiki, an append-only ## Facts
section, and a small frontmatter header. Any agent can read or append the file
directly.
Every agent writes. No review inbox: a valid token writes a fact
and it is live at once, stamped with who wrote it. Derived SQLite FTS5 search
(trigram, so Thai matches) rebuilds from the files at any time.
One static binary. No PostgreSQL, no embedding provider, no
service to run. SQLite is embedded; a backup is a tar of the wiki directory.
# the vault is a Flask service; the CLI + TUI are one Go binary
git clone https://github.com/ktypez/vaultctl
cd vaultctl && ./build-cli.sh --installVAULT_REAL=1 ./run.sh --daemon# open the UI, set a master password, add an entry, then:
vaultctl list
vaultctl exec NOUS_API_KEY -- my-tool --auth
mem · go + sqlite
# /etc/mem/mem.env (0600): MEM_WIKI_DIR, MEM_LISTEN_ADDR, MEM_API_TOKEN
go build -o mem . && ./mem server# the API answers on loopback, bearer or basic auth
curl -s -H "Authorization: Bearer $MEM_API_TOKEN" \
http://127.0.0.1:3200/v1/memory/stats
earlier
minimem was the first memory store here: one SQLite file, one Bun
process, Thai-safe trigram search. It is retired (2026-10-25) and its job moved to
mem. The
repository is still public
if you want the smaller thing.