Getting Started
Use this page for the shortest path from a fresh checkout to a verified local memory smoke test.
Prerequisites
Section titled “Prerequisites”- Node.js 24.x. The repo uses Node’s built-in
node:sqlitemodule. - pnpm through Corepack.
- Python 3 for the thin Hermes adapter checks.
Install
Section titled “Install”corepack enable pnpmpnpm installThe committed pnpm-lock.yaml is the dependency source of truth. Do not switch
repo orchestration to npm, Yarn, or Bun.
Run The Local Gate
Section titled “Run The Local Gate”pnpm run ciThe full gate runs documentation freshness checks, linting, typechecking, tests, builds, adapter-boundary checks, deterministic evals, and report-only benchmarks.
For narrower checks, see Evaluation.
CLI Smoke Test
Section titled “CLI Smoke Test”Build the CLI, seed a temporary SQLite database, and request a context pack:
pnpm --filter @agent-memory-os/cli buildtmp_dir="$(mktemp -d)"echo "{\"dbPath\":\"$tmp_dir/memory.sqlite\"}" \ | node packages/cli/dist/index.js seed-sampleecho "{\"dbPath\":\"$tmp_dir/memory.sqlite\",\"query\":\"Biome formatter\",\"budgetTokens\":400}" \ | node packages/cli/dist/index.js context-packExpected result:
seed-samplereturns sample core, evidence, fact, session-state, and workspace-resource records.context-packreturns a boundedcontextPack.- The context pack includes the seeded Biome memory with citations.
- The context pack includes
verificationWarningsandrecallWarningsarrays, even when they are empty. - V1.1 projections, such as session state and workspace resources, are present in the seeded local data.
Repository Layout
Section titled “Repository Layout”packages/core Domain types, context router, packer, warning policypackages/sqlite SQLite schema, migrations, FTS search, local storepackages/cli JSON CLI bridge for Hermes and future adapterspackages/evals Deterministic eval and benchmark fixturesadapters/hermes Thin Python Hermes plugin contract bridgeapps/docs Astro Starlight documentation siteplugin.yaml Root Hermes plugin shim for Git-based installsskills Bundled Hermes setup runbookNext Reads
Section titled “Next Reads”- CLI Reference for command contracts.
- Architecture for memory planes and routing.
- Hermes Install Notes for adapter setup.
- Evaluation for local acceptance gates.