- Python 3.10 or newer is required. Python 3.9 is no longer supported; native wheels use the Python 3.10+ ABI.
- The next mine re-reads each source it covers once. Normalization version 3 picks up the parsing and byte-preservation fixes. Drawers whose text is unchanged reuse their stored vectors.
- Hallways migrate to SQLite on the first hallway write. hallways.json is imported transactionally into hallways.sqlite3 and retained under an .imported-* name.
- New timestamps carry an explicit UTC offset. Legacy naive timestamps are read as local time, as they were written; existing metadata is not rewritten.
- Local HTTP hubs can run without a token; network access requires one. Plain loopback binds remain tokenless by default, with browser-origin, Host and proxy-header checks.
- Rename closet_llm environment variables from LLM_ENDPOINT, LLM_MODEL and LLM_KEY to MEMPALACE_LLM_ENDPOINT, MEMPALACE_LLM_MODEL and MEMPALACE_LLM_KEY. External LLM endpoints require explicit consent.
MemPalace
MemPalace stores conversation history verbatim and retrieves it with semantic search over an index organized into wings, rooms, closets and drawers. It runs locally as a Python CLI and MCP server with a pluggable backend, ChromaDB by default.
Use it in: CLI MCP server API / SDK Self-hosted Works with: MCP Local models Multi-agent
On this page
Usage data: latest readings Nov 24 to Nov 26, 2026, last checked Nov 26, 06:26 UTC. Date of each number
What MemPalace does
MemPalace is an agent memory system from MemPalace, first released in April 2026. You use it through a command-line tool, MCP server, an SDK and self-hosted on macOS, Windows and Linux. Its documentation covers subagents or parallel agents and local models. It is free and open source (MIT); you pay only for the models it calls.
Key facts
| Maker | MemPalace |
|---|---|
| Type | Agent memory system |
| First released | April 2026 |
| License | MIT |
| Interfaces | CLI, MCP server, SDK, Self-hosted |
| Platforms | macOS, Windows, Linux |
| Main language | Python |
| Open issues and PRs | 840 |
Pricing
Free and open source (MIT).
Source: official pricing page, checked Oct 10, 2026. Prices change often; confirm before you buy.
Quick answers
- Free to start?Yes
- Open source?Yes (MIT)
- Runs onmacOS, Windows, Linux
- Where you use itCLI, MCP server, SDK, Self-hosted
- Subagents / multi-agent?Yes
- Feature comparisonAll agents
- Closest alternativeLiteLLM · all alternatives
What's new in MemPalace: November 2026 so far
November brought significant infrastructure updates to MemPalace, including Python 3.10+ requirements, a migration to SQLite for hallways storage, and new security controls for HTTP hubs and LLM integrations.
- Python 3.9 support dropped; 3.10 or newer now required.
- Hallways now stored in SQLite instead of JSON, with automatic migration on first write.
- PQL search syntax changed to uppercase keywords for filter operations.
- Local HTTP hubs can now run without authentication tokens for loopback access.
1 release this month · summarised from the official release notes · all months
Get started with MemPalace
| PyPI | pip install mempalace |
|---|
These commands use the packages tracked on this page. The vendor may recommend a different installer.
MemPalace alternatives
Best MemPalace alternatives compared · All agent tooling for cost, context and memory
| # | Agent | Gid Score | Downloads 7d | 7d | 30d | Stars | Latest release | Price | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
LiteLLMBerriAI |
73 | 27.1M | up 10.8% | up 11.7% | 63.9K+64/day | 1.111.0yesterday | Free (OSS) | |||
| 2 |
LangfuseLangfuse |
69 | 14.7M | down 0.4% | up 33.5% | 37.9K+37/day | 4.86.02d ago | Free + $29/mo | |||
| 3 |
FirecrawlFirecrawl |
64 | 3.4M | up 9.8% | up 25.6% | 210K+1,009/day | 2.11.05mo ago | Free + $19/mo | |||
| 4 | 64 | 5.8M | down 5.2% | up 47.8% | 15K+14/day | 2.24.013d ago | Free + $150/mo | ||||
| 5 |
ComposioComposio |
57 | 2.5M | down 2.8% | up 41.3% | 31.3K+20/day | 0.6.4yesterday | Free + $29/mo | |||
| 6 |
GraphifyGraphify Labs |
56 | 568K | down 0.7% | up 28.4% | 153K+470/day | 0.9.120yesterday | Free + $15/mo | |||
Tools used with MemPalace
What 23 public GitHub projects that depend on MemPalace use with it, from their dependency files.
- Uvicorn56.5%
- python-dotenv52.2%
- FastAPI43.5%
- Pydantic39.1%
- OpenAI Python Library39.1%
- Requests39.1%
- NumPy34.8%
- Model Context Protocol SDK (Python)30.4%
- Chroma (Python)30.4%
- Pillow26.1%
Used far more often here than in AI-built projects overall: what sets MemPalace projects apart.
- Piper8.7% · 272.1×
- Spotipy13.0% · 204.1×
- openwakeword8.7% · 136.0×
- PyAudio17.4% · 98.9×
- PostHog8.7% · 60.5×
- pyttsx313.0% · 54.4×
- Mem0 (Python)8.7% · 54.4×
- PyAutoGUI13.0% · 45.3×
Ratings from people who use MemPalace
No ratings yet. Used MemPalace? Rate it and say what it is good and bad at.
MemPalace news
-
MemPalace downloads up 76% in a week
20.8K PyPI downloads in the 7 days to Nov 23, against 11.8K the week before.
-
MemPalace 3.12.0 released
Python 3.10 or newer is required. Python 3.9 is no longer supported; native wheels use the Python 3.10+ ABI.; The next mine re-reads each source it covers once. Normalization version 3 picks up the parsing and byte-preservation fixes. Drawers whose text is…
What changed: recent MemPalace releases
4 stable releases in the last 90 days · Monthly summary · Full changelog
- The first conversation mine after upgrading re-mines each conversation file it covers, once.
- A palace refuses to open with a different embedding model than the one that built it.
- EntityRegistry.research() and confirm_research() are removed. They were an opt-in, off-by-default Wikipedia lookup that nothing in the CLI, MCP server, miners or hooks called.
- EmbeddingGemma 2 is available as an opt-in embedder. Set embedding_model: embeddinggemma2 and install mempalace[embeddinggemma2], or mempalace[multimodal] for media (Python 3.10+, PyTorch).
- Native image, audio and video retrieval. A built-in media source adapter embeds original files into a separate mempalace_assets collection, and opt-in CLI/MCP media search returns typed local…
- Existing palaces are untouched unless you opt in. The default MiniLM path is unchanged and nothing is re-embedded.
Earlier releases
- mempalace rules no longer accepts --agent. Pass --host, --harness and --project, then re-render any installed shared-brain block.
- get_collection() refuses names MemPalace never reads. Any name other than the configured drawers collection or mempalace_closets raises CollectionNameMismatchError.
- The MCP event listing returns the newest events first when no cursor is given. mempalace_event_list and palace_coordinate now default to newest-first unless since_event_id or order is passed.
- New installs keep config and palace under ~/.config/mempalace (or $XDG_CONFIG_HOME/mempalace). Existing ~/.mempalace installs are unchanged.
- Optional native Rust exact-vector acceleration (rust_exact).
- Standalone native vector CLI and optional wheels.
- mempalace search reuses a healthy live Hub. On the reported 4.99-million-vector palace, two direct CLI searches held about 18.6 GB of private RSS.
- Hub reads run concurrently. Searches no longer serialize behind one exclusive HTTP dispatch lock; reads share a writer-preferring lock while mutations remain exclusive.
- Search results are clearer and faster to enrich. Public similarity is the raw vector score, closet boost remains in effective ranking, source lookups are indexed, and duplicate enriched passages…
- A private-palace benchmark is included for product search evaluation without exposing private queries or corpus text.
- Skill-first setup and task handoff. The guided setup skill can bootstrap private or shared-brain installations, render canonical rules, assign stable fleet identities, and validate logstream…
- Release awareness is explicit and opt-in. Agents can surface cached update state and prepare an exact upgrade plan without blocking, auto-installing, or silently enabling network checks.
- Chroma metadata reads skip the vector index. On a 1.7 GB / 165k-drawer palace, wing-scoped list_drawers(limit=20) fell from 2.31 s and 1148 MB peak RSS to 0.01 s and 86 MB.
- sqlite_exact common reads no longer walk the whole palace. On a live 167k-drawer / 166k-closet palace, mempalace_status fell from 6997 ms to 1045 ms and warm mempalace_search from 6364 ms to…
- Long-running Chroma servers stay flat instead of reloading HNSW on their own writes. Across eight searches, measured RSS changed from 951 MB → 3522 MB before to 940 MB → 965 MB after.
- Hub-proxied MCP sessions are thin. A plain stdio proxy now imports only the forwarding path and lazily loads the full server only if local fallback is needed.
- mempalace logstream watch provides a durable wake-up loop. It owns cursor advancement, supports repeated type filters, agent self-exclusion, persistent state files, idle exit, and NDJSON follow mode.
- The monitoring protocol now documents the safe resume cursor. Cross-replica events are appended in arrival order, so since_event_id—not a wall-clock timestamp—is the resumable high-water mark.
- Ingest commands no longer hang on a named pipe. os.walk and glob list a FIFO as an ordinary filename and MemPalace decides what to read from the suffix, so a pipe called notes.md in a mined…
- Project re-mine no longer silently skips a partial or interrupted file. Four related gaps in process_file: (1) multi-batch upserts now stamp every drawer with chunk_total so file_already_mined can…
- Conversation mine completeness matches the project path. Convo drawers now stamp chunk_total; a mid-batch upsert failure deletes that source's partial drawers before re-raising.
- Stale chromadb System cache is cleared on palace reconnect. After a peer or rebuild changes chroma.sqlite3 on disk, both mcp_server._get_client and ChromaBackend._client drop chromadb's path-keyed…
- MCP releases the palace writer lease on SIGTERM/SIGHUP. The lease was only released via atexit, which CPython skips on those signals' default disposition.
- fix(tests): harden hybrid search against empty Windows Chroma reads
MemPalace popularity and usage data
MemPalace was downloaded 23.1K times from PyPI in the week ending Nov 24, 2026, up 95.4% on the week before and up 18.0% over the last 30 days compared with the 30 before. The GitHub repository has 60.7K stars, 1,082 of them added in the last 30 days. The latest stable release is 3.12.0, published Nov 12, 2026; there was 1 stable release in the past 30 days.
Download the raw daily series: mempalace.csv
Gid Score breakdown
Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.
How fresh these numbers are
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 24, 2026 | Nov 26, 06:24 UTC |
| GitHub stars | Nov 26, 2026 | Nov 26, 06:26 UTC |
We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.
MemPalace FAQ
How much does MemPalace cost?
Free and open source (MIT).
Is MemPalace open source?
Yes. MemPalace is open source, released under the MIT license.
How popular is MemPalace?
MemPalace was downloaded 23.1K times from PyPI in the week ending Nov 24, 2026, up 95.4% on the week before and up 18.0% over the last 30 days compared with the 30 before. The GitHub repository has 60.7K stars, 1,082 of them added in the last 30 days. The latest stable release is 3.12.0, published Nov 12, 2026; there was 1 stable release in the past 30 days.
What is the latest version of MemPalace?
The latest stable release we track is 3.12.0, published on Nov 12, 2026.
What are the alternatives to MemPalace?
The closest alternatives in the same category by Gid Score are LiteLLM, Langfuse, Firecrawl, E2B.
For the makers of MemPalace badges, corrections
Add a live badge to your README or site:
[](https://agentgid.com/agents/mempalace/)
[](https://agentgid.com/agents/mempalace/)
[](https://agentgid.com/agents/mempalace/)
Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.
Where these numbers come from
PyPI: mempalace. GitHub: mempalace/mempalace. Site rank: mempalaceofficial.com on the Tranco list. See data sources for how each one is collected.
Product facts and pricing were checked against: mempalaceofficial.com, github.com, pypi.org.