-
Notifications
You must be signed in to change notification settings - Fork 2
FAQ
Total Recall is a persistent memory system for AI coding assistants. It automatically captures context from your coding sessions — files changed, commands run, decisions made — and provides that context to your AI agent in future sessions. Total Recall acts as cross-session memory so your agent never loses track of what happened before. It works with Claude Code, Cursor, Windsurf, Cline, and any MCP-compatible editor.
No. Total Recall runs entirely locally on your machine. Vector embeddings are generated locally using ONNX Runtime with the fast-bge-small-en-v1.5 model — no API keys, no cloud services, no data leaves your machine. All data is stored in a local SQLite database at ~/.totalrecall/totalrecall.db.
Total Recall supports Claude Code, Cursor, Windsurf, Cline, and any editor that supports the Model Context Protocol (MCP). Claude Code gets the deepest integration via 4 hooks that automatically capture events. Other editors use rules files plus the MCP server, which exposes 10 tools for reading and writing memory.
Install Total Recall globally via npm and run the install command for your editor:
npm install -g totalrecallai
totalrecall install # Auto-detect editor
totalrecall install --claude-code # Or specify your editorThe worker auto-starts when a session begins. See the Installation page for detailed per-editor instructions.
Static files like .cursorrules or CLAUDE.md require manual maintenance and don't capture session history. Total Recall automatically records what happens in each session, builds structured summaries with investigated/completed/learned/next_steps sections, and uses hybrid search (vector + keyword) to surface the most relevant context. It's dynamic, automatic, and searchable.
Yes. Total Recall automatically detects the current project from the git root directory and scopes all observations, summaries, and context per project. The web dashboard includes project filters, and all CLI commands support project-scoped queries. You can also override the project name with the TOTALRECALL_PROJECT environment variable.
The SQLite database grows based on usage. A typical project with months of daily use stays under 50 MB. Embeddings add roughly 1.5 KB per observation. The totalrecall decay command detects stale observations, and totalrecall decay consolidate merges duplicates to manage growth. You can check your database size with totalrecall stats.
Total Recall includes automatic backup with rotation and gzip compression:
totalrecall backup create # Create a manual backup
totalrecall backup list # List all backups
totalrecall backup restore <file> # Restore from backupYou can also export data as JSONL for portable backups with totalrecall export --project myapp --format jsonl. The database is a single SQLite file at ~/.totalrecall/totalrecall.db that can be copied directly.
The worker auto-restarts when a new session begins (triggered by the PreToolUse hook or MCP server startup). Your data is safe in the SQLite database — it's never lost. You can also manually restart with npm run worker:restart or register auto-start with totalrecall service install to start the worker on boot.
Yes. Total Recall provides two search modes from the CLI:
totalrecall search "authentication flow" # FTS5 keyword search
totalrecall semantic-search "how did I fix auth" # Hybrid vector + keyword search
totalrecall search --interactive # Interactive REPL modeBoth support project filters (--project=myapp) and configurable result limits.
Total Recall uses a 4-signal composite scoring system to surface the most relevant context:
- Recency — Newer observations score higher (exponential decay curve)
- Frequency — Frequently accessed items score higher
- Semantic similarity — Vector cosine distance to the search query
- Decay — Stale observations are downranked
Additionally, knowledge entries (decisions, constraints) receive type-based boosts, and project-matching results get a bonus. The scoring engine is implemented in ScoringEngine.ts.
Use the service install command:
totalrecall service installTotal Recall uses cascading detection: it prefers systemd user services (creates ~/.config/systemd/user/totalrecall-worker.service with Restart=on-failure), and falls back to crontab @reboot entries. Check status or remove with:
totalrecall service status
totalrecall service uninstallTotal Recall includes a web dashboard at http://localhost:3001 that provides a real-time view of your memory system. It features a live feed of observations via Server-Sent Events, a session browser, analytics with activity timeline and type distribution, spotlight search (Ctrl+K), and dark/light theme support. The dashboard is a React SPA served by the worker.
Run the doctor command with the --fix flag:
totalrecall doctor --fixThis removes orphaned embeddings, rebuilds the FTS5 index, and runs VACUUM. To regenerate all embeddings from scratch:
totalrecall embeddings backfill --allYes. Total Recall is licensed under AGPL-3.0. The source code is available at github.com/Auriti-Labs/kiro-memory. The npm package is totalrecallai.
Open an issue at github.com/Auriti-Labs/kiro-memory/issues. For security vulnerabilities, use the private security advisory.
Total Recall Wiki
- Home
- Installation
- Configuration
- CLI Reference
- SDK Reference
- MCP Tools
- Architecture
- Troubleshooting
- FAQ