Persistent, local memory for developers and their coding agents. Records commands, output, errors, and the fixes that worked into SQLite and serves them over MCP.
Persistent local debugging memory for developers and coding agents.
English README · العربية · Deutsch · README français · 简体中文 README · 繁體中文 README · 한국어 README · 日本語 README · Español · Português (Brasil)
You hit an error. MemoryWhale remembers you've seen it before, and hands back the fix.
MemoryWhale records what actually happened while you debug: commands, output, failures, and the fixes that worked. It stores that evidence in local SQLite so you and your coding agents can find it after the terminal, SSH connection, or agent session is gone. It works with 19 coding agents through MCP, with no account and nothing uploaded.
On LongMemEval, a public long-term memory benchmark, search puts a session holding the answer in its top 5 for 97% of 470 questions (retrieval only, no model).
In a controlled evaluation on project-specific bugs, an agent solved 25% without memory and 96% with it. These are synthetic tasks that demonstrate the mechanism, not a field study; see how it was measured.
MemoryWhale 0.35.0: Read-Only Views · December 3, 2026. The CLI, web UI, and desktop app share product version 0.35.0; the reusable Rust core is version 0.14.1. See the release notes for the upgrade guide. Opening a store migrates it from schema 10 to 17.
Knowledge memory, opt-in. mw knowledge import brings in what you have already told Claude Code, Codex, ChatGPT, and Claude, and proposes statements for you to approve. See knowledge memory.
Want to contribute? Start with the Start here issue. Many tasks need no Rust, including translation reviews and documentation fixes.
mw-mcp.MemoryWhale records development experience, not everything. It is a debugging memory layer, not an autonomous coding agent, a general-purpose personal memory system, or a replacement for project documentation.
mw integrate; mw doctor
checks MCP, hooks, and skills independently.claude,
rho, or NULL. The display/filter label terminal means terminal/manual
or legacy provenance, not proof that a human ran it. Agent identity is
separate from source type such as command, session, or note.mw-serve provides HTTP MCP at POST /mcp;
mw-serve --api opts into the read-only JSON API. Both use the dashboard's
listener; non-loopback access requires a token.mw github context <pr> reads PR
metadata, checks, and reviews through your existing gh login. It prints
bounded, redacted context without checking out code or automaticallyfeat(sync): carry knowledge memory with push, pull, and import
https://github.com/wuisabel-gif/MemWhale/issues/611
Labels: enhancement, help wanted, rust
feat(sync): push or pull one project instead of the whole store
https://github.com/wuisabel-gif/MemWhale/issues/610
Labels: enhancement, help wanted, rust
feat(search): search another machine's memory without merging it
https://github.com/wuisabel-gif/MemWhale/issues/609
Labels: enhancement, help wanted, rust
docs(guide): rewrite the multi-machine guide around push, pull, and snapshot
https://github.com/wuisabel-gif/MemWhale/issues/606
Labels: documentation, help wanted, good first issue
docs(man): write a man page for mw-screenshot
https://github.com/wuisabel-gif/MemWhale/issues/605
Labels: documentation, help wanted, good first issue
test(completions): try the mw knowledge completion in a live zsh session
https://github.com/wuisabel-gif/MemWhale/issues/603
Labels: documentation, help wanted, good first issue
test(sync): try mw push and mw pull between two real computers
https://github.com/wuisabel-gif/MemWhale/issues/602
Labels: documentation, help wanted, good first issue
test(kiro): run the Kiro integration in a real session and report the event shape
https://github.com/wuisabel-gif/MemWhale/issues/600
Labels: documentation, help wanted, good first issue
MemoryWhale is a local-first terminal memory system. Contributions should make technical memory more durable, searchable, and useful across sessions and machines.
Start with the pinned Start here issue. It lists small tasks, each with the files to touch and a command to verify your change. Many need no Rust: translation reviews, documentation fixes, and frontend tests. Comment on an issue before starting so work isn't duplicated.
Maintainers aim to give every pull request a first review within one working day, and each release's notes thank contributors by GitHub handle.
A feature belongs in MemoryWhale if it improves capturing, preserving, retrieving, or sharing development experience while respecting the local-first model.
Use the four architectural areas in docs/architecture.md when placing a change:
Client-specific configuration belongs under integrations/ and should not add
agent-specific behavior to core. Autonomous coding-agent behavior, model
provider routing, and unrelated personal-memory features are outside the
project's responsibility. Proposals that add remote storage or cross-cut the
local privacy model need architectural discussion before implementation.
Useful changes include:
Install frontend dependencies:
npm install
Run the desktop app:
npm run tauri:dev
Run frontend checks:
npm test
npm run build
Run Rust checks:
cargo fmt --all -- --check
cargo clippy -p memorywhale-core -p memorywhale-cli --all-targets -- -D warnings
cargo test -p memorywhale-core -p memorywhale-cli
cargo build --workspace
To see which Rust lines the tests exercise (CI's Rust coverage report job
runs the same commands, prints the per-file table in its summary, and fails
below 68% line coverage, a floor set just under the measured 71.5%):
rustup component add llvm-tools-preview
cargo install cargo-llvm-cov --locked
cargo llvm-cov -p memorywhale-core -p memorywhale-cli --lcov --output-path lcov.info
cargo llvm-cov report # per-file table
Coverage shows where tests are missing; it is not proof of correctness.
Run repository consistency checks:
bash scripts/check-release-version.sh
bash scripts/check-doc-references.sh
npm run test:readme-locales
The release-version check keeps the CLI, npm, lockfile, and Tauri versions in sync. The documentation-reference check verifies the MCP tool list and CLI binary names against the runtime and reference docs. The README localization tests protect source hashes, structure, commands, links, and images.
On trusted main runs, the README localization workflow can use an
OpenAI-compatible provider when the README_TRANSLATION_API_KEY repository
secret and the README_TRANSLATION_BASE_URL and README_TRANSLATION_MODEL
repository variables are configured. Without the secret, it performs validation
only and does not contact a remote provider.
Try the terminal memory helper:
cargo run -p memorywhale-cli --bin mw-remember -- --help
Keep original evidence. If a feature stores terminal history, preserve the raw command, arguments, stdout, stderr, exit code, cwd, and timestamp whenever possible.
Do not make cloud sync implicit. Sync or remote storage must be explicit and documented.
Keep the database understandable. Prefer clear SQLite tables and migrations over clever opaque blobs.
Do not break local use. MemoryWhale should remain useful without accounts, servers, or network access.
Explain why the change matters. A good change should connect back to the core problem: terminal history and debugging context disappear too easily.
Keep integrations thin.
Integrations configure an external client at the mw-mcp or CLI seam. Use
integrations/TEMPLATE.md so every guide has
Status, Requirements, Setup, Verify, Available capabilities, Example
prompt, Troubleshooting, and Uninstall. Declare only verified
capabilities, and do not describe MCP access as automatic execution capture.
npm test passes when frontend code changes.npm run build passes when frontend code changes.cargo fmt --all -- --check passes when Rust code changes.cargo clippy -p memorywhale-core -p memorywhale-cli --all-targets -- -D warnings passes when Rust code changes.cargo test -p memorywhale-core -p memorywhale-cli passes when Rust code changes.cargo build --workspace passes for workspace changes.