Remembrall
This server exposes Remembrall memory tools to inspect, search, add, update, and prune project-memory state.
Inspect the active manifest for line counts, token usage, feature counts, and health/status, with an optional custom manifest path.
Search active project memory by keyword or phrase for features, files, notes, and architectural findings, with a configurable result limit.
Run semantic/concept search using TF-IDF cosine similarity and synonyms, with a configurable result limit.
Register new features with a title, comma-separated files, optional notes, and optional PLANNED/WIP/DONE status.
Update an existing feature by ID, changing its status, files, and/or notes.
Prune or consolidate historical completed features to keep memory under line/token limits, with an optional retention threshold.
Provides an install-hooks command that installs an automated Git pre-commit validation hook, enforcing .remembrall.md formatting and line limits before commits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Remembrall mark the login auth feature as done and list the files it touched"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
██████╗ ███████╗███╗ ███╗███████╗███╗ ███╗██████╗ ██████╗ █████╗ ██╗ ██╗
██╔══██╗██╔════╝████╗ ████║██╔════╝████╗ ████║██╔══██╗██╔══██╗██╔══██╗██║ ██║
██████╔╝█████╗ ██╔████╔██║█████╗ ██╔████╔██║██████╔╝██████╔╝███████║██║ ██║
██╔══██╗██╔══╝ ██║╚██╔╝██║██╔══╝ ██║╚██╔╝██║██╔══██╗██╔══██╗██╔══██║██║ ██║
██║ ██║███████╗██║ ╚═╝ ██║███████╗██║ ╚═╝ ██║██████╔╝██║ ██║██║ ██║███████╗███████╗
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝Universal Zero-Amnesia State Engine & Persistent Memory for AI Coding Agents
Inspired by Manus AI disk persistence, auto-memory-pro token curation, and obra/superpowers universal multi-agent harness architecture.
Overview • How it Works • Installation • CLI & MCP Tools • Visual Architecture • Two-Tier Memory • Benchmarks • FAQ
Overview
Remembrall is a deterministic, high-efficiency external working memory engine for AI coding agents (Claude Code, Cursor, Codex, Devin, and Antigravity).
By anchoring project state and architectural invariants to a physical disk manifest (.remembrall.md), agents recall completed features, in-progress tasks, and critical rules instantly on Turn 1, eliminating blind recursive directory traversals and reducing prompt token waste by over 80%.
Related MCP server: Sugar
How it Works
Turn 1: User Prompt ("What features are completed?")
│
├─► [Traditional Agent]: Recursively reads 25+ files (20,000+ tokens burned)
│
└─► [Remembrall Agent]: Reads .remembrall.md directly (~250 tokens intake)
├─ Spots exact feature status and touched files instantly
├─ Aligns with Technical Invariants (Jane Street Socratic check)
├─ Implements change with zero re-scanning
└─ Post-flight gate: Syncs state before concluding turnPre-flight Recall (Turn 1): Before exploring directories or answering questions about what was built, the agent automatically reads
.remembrall.md(~250 tokens). It spots the exact feature and files instantly without re-scanning code.Deterministic Execution: The agent implements changes guided by known project invariants and constraints.
Post-flight Hard Gate: Before reporting work as finished, the agent updates
.remembrall.mdwith the new status and touched files.Hierarchical Anti-Bloat: If
.remembrall.mdreaches 100 lines, older historical features automatically archive into.remembrall.archive.mdwhile consolidating into single-row module summaries in active memory, keeping token intake flat forever.
Visual Architecture Roadmap
Remembrall generates real-time, GitHub-renderable Mermaid architecture diagrams directly from the physical manifest:
flowchart LR
classDef done fill:#064e3b,stroke:#10b981,stroke-width:2px,color:#ecfdf5;
classDef wip fill:#78350f,stroke:#f59e0b,stroke-width:2px,color:#fffbeb;
classDef planned fill:#1e293b,stroke:#64748b,stroke-width:2px,color:#f8fafc;
F_026["F-026: Node.js Zero-Dependency Engine"]:::done
F_027["F-027: POSIX Shell & Lifecycle Hooks"]:::done
F_028["F-028: Git Commit Auto-Capture"]:::done
F_029["F-029: Mermaid Roadmap Visualizer"]:::done
F_030["F-030: Socratic Pre-Flight Alignment"]:::done
F_031["F-031: Universal Cross-Agent Bridge"]:::done
F_032["F-032: GitHub Actions PR State Bot"]:::done
F_026 --> F_027 --> F_028 --> F_029 --> F_030 --> F_031 --> F_032Generate this live from terminal anytime:
remembrall diagram --format flowchart
remembrall diagram --format ganttInstallation by Harness
Install Remembrall for your primary environment:
1. Antigravity & Gemini CLI
Install Remembrall directly from GitHub:
agy plugin install https://github.com/dkrpl/remembrallAntigravity automatically discovers gemini-extension.json and loads GEMINI.md as an always-on memory protocol.
2. Claude Code
Install via Claude plugin marketplace:
/plugin marketplace add dkrpl/remembrall
/plugin install remembrall@remembrall-marketplace3. Cursor & Windsurf
Add Remembrall to your MCP configuration (~/.cursor/mcp.json or .codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"remembrall": {
"command": "python",
"args": ["path/to/remembrall/.agents/skills/remembrall/scripts/mcp_server.py"]
}
}
}Cursor also automatically loads AGENTS.md and .cursor-plugin/plugin.json.
4. Universal NPM / Agent Skills Standard (Codex, Devin, OpenCode)
npx skills add dkrpl/remembrall --skill remembrall -g5. One-Line POSIX Shell Installer (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/dkrpl/remembrall/main/scripts/install.sh | bash6. Native Dual-Engine CLI (Node.js & Python)
Remembrall is built with zero-dependency dual engines:
Node.js (Native Vanilla Engine):
node bin/remembrall.js status
node bin/remembrall.js ui --port 4242Python (Native Engine & MCP):
pip install -e .
remembrall status
remembrall ui
remembrall semantic "login auth"
remembrall simulate --turns 20Two-Tier Memory Architecture
To completely eliminate both token bloat and historical information loss, Remembrall utilizes a two-tier storage model:
Memory Tier | Storage File | Token Budget | Purpose |
L1 Active Memory |
| Strict < 120 lines (~900 tokens) | High-speed daily agent navigation and active status tracking |
L2 Cold Storage |
| Unlimited | Permanent historical archive created automatically during pruning |
When remembrall prune triggers at 100 lines:
Older completed features collapse into single-row module summaries in active L1 memory.
The original individual records, commit dates, and notes are appended to
.remembrall.archive.md.Zero historical details are ever lost.
The
remembrall querycommand automatically searches both L1 Active and L2 Archive tiers simultaneously, tagging results with[L1 Active]or[L2 Archive].
Interactive Web Dashboard (remembrall ui)
Launch a sleek dark-mode local web dashboard in your browser (http://localhost:4242):
┌─────────────────────────────────────────────────────────────────────────────┐
│ Remembrall State Engine [+ Register Feature]│
├─────────────────────────────────────────────────────────────────────────────┤
│ [32 Features Tracked] [83% Token Savings] [49/120 Lines] [HEALTHY] │
├─────────────────────────────────────────────────────────────────────────────┤
│ > [Search features or files...] [Filter: All | Done | WIP | Planned]│
│ │
│ ID Feature Name Status Files Actions │
│ F-026 Node.js Zero-Dependency Engine [DONE] bin/remembrall.js [View] │
│ F-028 Git Commit Auto-Capture [DONE] scripts/capture.sh [View] │
│ F-029 Mermaid Roadmap Visualizer [DONE] scripts/diagram.sh [View] │
│ F-030 Socratic Alignment Protocol [DONE] skills/align/ [View] │
└─────────────────────────────────────────────────────────────────────────────┘Empirical Benchmarks
Empirical simulation benchmark across 20 conversation turns on a 15-feature codebase:
Metric | Traditional Agent (Brute Force) | Remembrall Engine (Direct Recall) | Advantage |
Cumulative Tokens | 210,000 tokens | 35,860 tokens | 82.92% Token Reduction |
Tool Invocations | 4 - 8 tools per turn | 1 tool ( | 4x - 8x Faster |
LLM Generation Delay | ~3,500 seconds | ~597 seconds | ~48 Minutes Saved |
Hallucination Risk | ~37.5% failure rate | 0.0% (Deterministic state) | Grounded on Disk |
Complete CLI & MCP Tools Reference
Command | Equivalent MCP Tool | Description |
| - | Configures Git 3-way semantic merge driver to prevent table conflicts |
| - | Resolves merge conflicts across team branches and parallel agents |
| - | CI & pre-push gatekeeper enforcing zero memory drift and schema health |
| - | Discovers and aggregates scoped manifests across monorepo packages |
| - | Initializes a scoped sub-module manifest for monorepo microservices |
| - | Self-healing auto-repair for corrupted tables, missing pipes, or invalid statuses |
| - | Launches local dark-mode interactive web dashboard on |
| - | Auto-captures latest Git commit metadata directly into feature row |
| - | Runs Socratic pre-flight invariant verification (Jane Street style) |
| - | Generates cross-agent memory bridge ( |
| - | Renders live Mermaid flowchart or Gantt roadmap diagram |
| - | Detects unrecorded modified files and memory drift |
|
| TF-IDF cosine similarity & bilingual concept vector search |
|
| Unified two-tier search across L1 active manifest and L2 cold archive |
| - | Runs empirical benchmark calculating exact token & latency savings |
| - | Exports manifest as |
|
| Returns line count, token usage, health check, and feature stats |
|
| Appends a new feature row safely |
|
| Updates an existing feature's status ( |
|
| Automatically consolidates older DONE features into L2 archive |
| - | Enforces strict table formatting and <120 lines limit |
| - | Installs automated Git |
| - | Scaffolds a new |
Frequently Asked Questions
Multi-Harness Architecture & Layout
.
├── bin/
│ └── remembrall.js # Native zero-dependency Node.js CLI executable
├── scripts/
│ ├── install.sh # One-line POSIX shell installer
│ ├── setup-agent.sh # Multi-harness agent onboarding wizard
│ ├── start-dashboard.sh # Dashboard shell runner
│ ├── align.sh # Socratic pre-flight alignment runner
│ ├── bridge.sh # Cross-agent memory bridge runner
│ ├── capture.sh # Git commit auto-capture runner
│ ├── diagram.sh # Mermaid diagram generator runner
│ ├── prune.sh # Anti-bloat archive & prune runner
│ ├── export.sh # Multi-format state exporter runner
│ ├── sync-state.sh # Memory drift detector runner
│ └── verify.sh # Full health verification runner
├── .gitattributes # GitHub Linguist language balance configuration
├── .remembrall.md # Physical active project state manifest (L1)
├── .remembrall.archive.md # Permanent cold-storage historical archive (L2)
├── gemini-extension.json # Antigravity & Gemini CLI extension manifest
├── GEMINI.md # Antigravity always-on memory instructions
├── AGENTS.md # Universal agent protocol (Devin, Cursor, Codex)
├── package.json # Universal npm & node plugin descriptor
├── pyproject.toml # Python package & CLI console entrypoints
├── mcp_config.json # Model Context Protocol configuration
├── plugin.json # Open marketplace & plugin manifest
├── README.md # Production masterpiece documentation
├── CHANGELOG.md # Standardized version changelog
├── LICENSE # Official MIT license
├── .gitignore # Git ignore definitions
├── .claude-plugin/ # Claude Code official marketplace packaging
│ ├── plugin.json
│ └── marketplace.json
├── .cursor-plugin/ # Cursor IDE plugin descriptor
│ └── plugin.json
├── .codex-plugin/ # OpenAI Codex plugin descriptor
│ └── plugin.json
├── hooks/
│ ├── pre-commit # Git pre-commit shell script
│ ├── pre-commit.ps1 # Git pre-commit PowerShell script
│ ├── post-commit # Git post-commit drift check
│ └── SessionStart # Claude Code session lifecycle hook
├── hooks.json # Antigravity lifecycle event hooks
├── src/remembrall/ # Distribution runtime engine
│ ├── __init__.py # Safe dynamic Python package loader
│ ├── engine.js # Zero-dependency vanilla ES engine
│ ├── index.d.ts # Official TypeScript declarations
│ ├── dashboard.html # Dark-mode dashboard template
│ ├── index.js # Plugin entrypoint
│ ├── cli.py # Safe console CLI bridge
│ └── mcp.py # Safe console MCP bridge
├── skills/
│ ├── remembrall/
│ │ ├── SKILL.md # Universal Agent Skills standard format
│ │ └── scripts/ # Localized skill shell scripts
│ ├── remembrall-align/
│ │ └── SKILL.md # Socratic alignment sub-skill
│ ├── remembrall-bridge/
│ │ └── SKILL.md # Cross-agent memory bridge sub-skill
│ ├── remembrall-setup/
│ │ └── SKILL.md # Setup wizard sub-skill
│ └── remembrall-handoff/
│ └── SKILL.md # Instant handoff sub-skill
├── .agents/
│ ├── rules/
│ │ └── remembrall.md # Always-on pre/post flight rule
│ └── skills/
│ └── remembrall/
│ ├── SKILL.md # Comprehensive workflow guide
│ ├── scripts/ # Core Python engine implementations
│ ├── templates/ # Project scaffold templates
│ └── references/ # Deep technical reference guides
├── .github/workflows/
│ ├── ci.yml # Multi-OS matrix CI pipeline (Linux, Windows, macOS)
│ └── pr-comment.yml # Automated PR state bot workflow
└── tests/
├── test_remembrall.py # Python CLI unit tests
├── test_node_engine.test.js # Node.js engine unit tests (11/11 PASS)
├── test_mcp_server.py # MCP Server unit tests
├── test_semantic.py # Semantic search tests
├── test_exporter.py # Exporter tests
├── test_simulation.py # Simulation benchmark tests
├── test_dashboard.py # Dashboard UI tests
└── run-all-tests.ps1 # Complete test orchestrator (31/31 PASS)License
MIT License © 2026 dkrpl. Free for open-source and commercial use.
Available Tools
6 toolsremembrall_add_featureC
Register a new feature into the persistent memory manifest.
Inputs: files (required), title (required), notes, status.
remembrall_pruneB
Automatically consolidate historical completed features to keep token count low (<120 lines).
Inputs: threshold.
remembrall_queryB
Search active project memory for features, files, notes, and architectural findings by keyword.
Inputs: query (required), limit.
remembrall_semantic_searchA
Search active memory using TF-IDF cosine similarity and concept synonyms (e.g. 'masuk akun' -> 'OAuth2 JWT').
Inputs: query (required), limit.
remembrall_set_featureB
Update an existing feature status, touched files, or notes by feature ID.
Inputs: id (required), files, notes, status.
remembrall_statusB
Inspect active project memory manifest, line counts, token usage, and feature counts.
Inputs: manifest_path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The two search tools (remembrall_query keyword vs remembrall_semantic_search TF-IDF/synonyms) are the only pair with overlapping intent, but the descriptions make the distinction explicit. Status, add_feature, set_feature, and prune each target a clearly different operation on the memory manifest.
All six tools share a consistent snake_case `remembrall_` prefix, and most follow an action-oriented pattern (add_feature, set_feature, semantic_search, query). Minor deviation: bare `status` and `prune` lack an object noun, but the set remains highly readable and predictable.
Six tools is well-scoped for a persistent project-memory server: inspect, search (two modes), register, update, and consolidate. Each tool earns its place with no filler or redundant entries.
The surface covers read (status/query/semantic_search), create (add_feature), update (set_feature), and maintenance (prune), forming a coherent lifecycle. Minor gap: no explicit delete/remove-feature or get-by-ID operation, though prune partially covers cleanup and set_feature allows status changes.
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent engineering memory designed to follow developers across coding agents.
Persistent memory, inline redaction, per-agent access, and code localization for AI agents.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Related MCP Servers
- AlicenseCqualityBmaintenanceProvides persistent, local-first memory with knowledge graph and hybrid search for AI coding agents, reducing token usage by storing decisions, patterns, and codebase context.2910MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to read and write persistent, local-first memory across sessions and projects, with semantic search, global guidelines, and optional autonomous task execution.-
- FlicenseNot gradedqualityAmaintenanceGives AI coding agents persistent, local-first memory so they can store, semantically search, and recall decisions, preferences, error patterns, and cross-project guidelines directly during a session. It also optionally queues tasks for autonomous execution against that same memory.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to store and retrieve persistent project and cross-project memories via semantic search, so decisions, preferences, error patterns, and guidelines survive across sessions. Optionally supports autonomous task execution built on the same local-first knowledge store.-