Repository navigation
agent-store v0.1.0
agent-store v0.1.0
First public release of agent-store — a memory and context store for AI coding agents. A single static binary that gives agents a project-local, queryable SQLite store for decisions, findings, tasks, and handoffs.
Install
curl -fsSL https://raw.githubusercontent.com/av/agent-store/master/install.sh | shOr download a prebuilt binary below, run via Nix flakes, or build from source:
nix run github:av/agent-store
cargo install --git https://github.com/av/agent-storeHighlights
agent-store initcreates a project-local store under.agent-store/and installs agent-facing skills (agent-store,agent-store-patterns,agent-store-pipelines) into.agents/skills/and.claude/skills/, with pointers appended toAGENTS.md/CLAUDE.md. Its output (text and--json) enumerates exactly what was installed and which instruction blocks were added.- Records —
create,get,set,unset,rmwith kind/field validation, generated IDs, unique-prefix ID resolution, and created/updated timestamps. - Query language for
find:=,!=,<,<=,>,>=, contains (~=),and/or/not, parentheses, quoted values, typed comparisons (numbers, dates, timestamps on a common UTC timeline), link-aware predicates (link.out/link.in), implicitandbetween arguments, plus--sort/--desc/--limit/--count. - Links — typed relations between records via
link,unlink,links. - Hooks — shell commands triggered by store mutations, optionally query-scoped; record snapshot on stdin, mutation context in
AGENT_STORE_*env vars, 8192-byte output caps, 30-second timeout, persisted and inspectable viahook runs. ctx— compact project summary (statuses, fields, links, recent records) under a byte cap, ready to inject into agent prompts.--jsoneverywhere, plus JSONL import (create --stdin) for bulk loading and shell pipelines.- One line per record, always — field values containing newlines or other control characters are rendered with bash ANSI-C quoting (
multi=$'line1\nline2') in default output (find,get,ctx, hook stdin), so line-by-line piping stays safe and values still round-trip through shelleval;--jsonis unchanged. - Robustness — transactional mutations, WAL + retry-safe concurrent access, graceful broken-pipe handling, clear pre-
initerrors, explicit diagnostics for a stray.agent-storefile, and unknown--flagsrejected with an error pointing at--helpinstead of falling through to the query parser.
Shell completions (bash/zsh/fish) and a man page are bundled in each archive under completions/ and man/.
Documentation
- README — quickstart and overview
- Query language · Hooks · JSON output · Skills · FAQ
- Runnable examples
Checksums
Every .tar.gz/.zip asset has a sibling .sha256 file in standard sha256sum format. Verify with:
sha256sum -c agent-store-v0.1.0-<target>.sha256 # linux
shasum -a 256 -c agent-store-v0.1.0-<target>.sha256 # macOSThe install script verifies checksums automatically.
Full changelog: https://github.com/av/agent-store/blob/master/CHANGELOG.md