Repository navigation
First public release of willder-core, the engine behind Willder: one memory for your AI agents, with a scoped, expiring token per agent.
What's in it
- Per-agent tokens.
npm run selfhost:token -- --scope team --agent claude-codeprints awcap_...token once. Each token has a scope, a permission and an expiry. - One access check. Every memory read and write goes through
check()(services/access/check.ts) and lands in the audit log. No model takes part in an access decision. - Revoke takes effect on the next call.
npm run selfhost:token -- --revoke claude-coderevokes it; the agent's next memory call is refused and recorded as a deny row. - MCP server, over stdio for local use and Streamable HTTP for the hosted service. Tools are listed in
mcp/README.md. - Self-host stack: Postgres with pgvector, Neo4j and the memory service in Docker Compose.
npm run selfhost:smokechecks write, scoped read, refusal, export and no outside calls, and ends with9 of 9 steps passed. - Export to one JSON Lines file (
npm run selfhost:export, format indocs/export-format.md). - Leak suite:
npm run test:leaksruns with no keys and no network.
Get started
git clone https://github.com/willderai/willder-core.git && cd willder-core
npm install
cp .env.selfhost.example .env # then set GRAPHITI_SERVICE_API_KEY to any string
docker compose up -d --wait
npx prisma migrate deploy
npm run selfhost:smokeThen mint a token and connect Claude Code: README, "Run it on your machine". Other clients: docs/connect/.
Requirements: Docker with Compose v2, Node 20.19+, 22.12+ or 24+, a few GB of disk.
Known limits
Listed in the README's "Limits" section, each with the file that makes it true. The main ones: access is checked in the application, not by row-level security (the credentials that bypass it are listed in the README); conflicting writes are detected and notified, not merged; there's no delete tool over MCP; OAuth-only clients (claude.ai, ChatGPT) can't use the hosted endpoint yet.
Feedback
Open an issue, or a thread in Discussions, with the step where setup broke and what you saw. Security reports go through SECURITY.md, not a public issue.
MIT licensed.