Skip to content

agent-store v0.1.0

Choose a tag to compare

@av av released this 03 Jul 16:02
· 156 commits to master since this release

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 | sh

Or 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-store

Highlights

  • agent-store init creates 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 to AGENTS.md/CLAUDE.md. Its output (text and --json) enumerates exactly what was installed and which instruction blocks were added.
  • Records — create, get, set, unset, rm with 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), implicit and between 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 via hook runs.
  • ctx — compact project summary (statuses, fields, links, recent records) under a byte cap, ready to inject into agent prompts.
  • --json everywhere, 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 shell eval; --json is unchanged.
  • Robustness — transactional mutations, WAL + retry-safe concurrent access, graceful broken-pipe handling, clear pre-init errors, explicit diagnostics for a stray .agent-store file, and unknown --flags rejected with an error pointing at --help instead 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

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  # macOS

The install script verifies checksums automatically.

Full changelog: https://github.com/av/agent-store/blob/master/CHANGELOG.md