Recalium is a local-first, MCP-native personal memory platform. Your conversation history and derived memory live in your own PostgreSQL, and processing runs locally by default — enabling an optional BYOK provider (OpenAI or Anthropic) sends only the content being processed to that provider, and nothing else leaves your machine. It captures conversations and artifacts from AI tools, turns them into durable searchable memory, and exposes that memory to local UI workflows and MCP-compatible agents.
Privacy model — local custody, optional remote processing. Storage, retrieval, and the default embedding/extraction path are fully local (no API key required). "Local-first" refers to data custody and the no-key default; it does not mean processing is always on-device. If you configure a BYOK key, the specific content you process is sent to that third-party provider under their terms. The built-in sensitivity gate runs before any external call.
The repository contains a working FastAPI/PostgreSQL/React foundation with backend tests and MCP tools. It is now in v1 release-readiness implementation: startup, usage, UI completion, MCP contract hardening, automated testing, and agent skill documentation are being closed against the v1 acceptance criteria.
Track release gaps in docs/operational/validations/recalium-v1-release-readiness-gap-register.md.
- Backend: Python 3.12, FastAPI, SQLAlchemy async, asyncpg, Alembic.
- Frontend: React 19, TypeScript, Vite 8, Tailwind CSS 4.
- Database: PostgreSQL 16 with pgvector and full-text search.
- MCP: Python MCP SDK
>=1.26,<2. - Deployment: two containers only:
recalium-appandrecalium-postgres. - Secrets:
.envonly; never hardcode keys or commit real secrets.
- Copy .env.sample to
.envand keep real values local. - Start the stack from the repository root with Docker Compose.
- Confirm the API is healthy at
http://localhost:8000/api/health. - In development, run the Vite UI from frontend and open
http://localhost:5173. - In production/static mode, build frontend first, rebuild the app image, then open
http://localhost:8000.
See docs/guides/local-use-and-test.md for the detailed local setup, UI, MCP, and testing walkthrough.
Prefer a native setup? Provide PostgreSQL 16 with pgvector, then run the backend with uv and the UI with pnpm — no containers. See Local installation without Docker (native).
- Open the local UI.
- Complete Settings or first-run wizard.
- Leave provider keys empty for no-key local mode, or configure keys in
.envfor BYOK provider-backed processing. - Ingest a small conversation by paste or file upload.
- Confirm it appears in Archive.
- Search for the ingested content.
- Inspect provenance before promoting any fact to canonical memory.
The local MCP SSE endpoint is:
http://localhost:8000/mcp/sse
Current tools:
retrieve_memoryingest_memoryget_fact_linkslist_tags
The v1 MCP contract still needs the release-readiness hardening tracked in the gap register: full ingest metadata, idempotency, stable errors, expanded evidence, and concurrent-client validation.
Backend tests live under backend/tests. Frontend tests live under frontend/src/tests. Release evidence belongs under docs/operational/tests and docs/operational/tests/artifacts.
Start with the detailed testing guidance in docs/operational/tests/README.md and docs/guides/local-use-and-test.md.
Project agents should load the Recalium use/test skill when starting the app, validating MCP, exercising the UI, or collecting release evidence:
- Copilot: .github/skills/recalium-use-and-test/SKILL.md
- Claude: .claude/skills/recalium-use-and-test/SKILL.md
- Codex: .codex/skills/recalium-use-and-test/SKILL.md
Repository-specific agent context lives in agents/project.instructions.md.
- Requirements: docs/requirements/README.md
- v1 acceptance criteria: docs/requirements/features/platform-v1/acceptance-criteria.md
- Architecture: docs/architecture/README.md
- API and MCP: docs/architecture/api-and-mcp.md
- UI architecture: docs/architecture/ui-architecture.md
- Plans: docs/plans/README.md
- Do not run destructive data commands unless explicitly requested.
- Do not commit
.envor real provider keys. - Do not add extra v1 containers.
- Do not claim release readiness without evidence mapped to acceptance criteria.