Skip to content
Sign in
Palace Memory logo

Palace Memory

Persistent memory for AI coding agents that recalls decisions across every session.

FreemiumCoding & Dev
Visit website
Free to browse · updated 2026-06-17
Palace Memory screenshot

What is Palace Memory?

AI coding agents excel at individual tasks yet lose all context the moment a session closes. Palace Memory solves this by storing decisions and conventions in a local or team-hosted database, automatically feeding relevant details back to the agent on demand. Agents no longer restart from zero or require repeated explanations of architecture and past fixes. The system installs as a lightweight Rust binary and connects through the standard MCP interface used by Cursor, Claude Code, and Codex. Solo users run it free on their machine while teams deploy a central server that keeps all memory within their own infrastructure. Shared workspaces, knowledge graphs, and audit logs let every teammate benefit from work already completed by others. Hybrid search combines keyword and vector retrieval to surface the exact source of each recalled fact. Fine-grained permissions, offline license checks, and Prometheus metrics give organizations the control and visibility required for production use.

Key features

Persistent searchable memory for AI coding agents across sessions
Self-hosted server with Postgres and pgvector backend
MCP integration for Cursor, Claude Code, and Codex
Team-shared memory with workspaces, knowledge graph and diaries
Hybrid semantic search (BM25 + embeddings) with provenance
Fine-grained permissions, RBAC, audit logging and usage tracking
Air-gap friendly with local ONNX embeddings and offline licenses

AI models Palace Memory uses

all-MiniLM-L6-v2
local embedding model via ONNX

What you can use Palace Memory for

Persistent Context for Solo Developers

Solo developers install the open-source palace-rs engine locally to give their AI coding agents lasting memory of project decisions, fixes, and conventions across multiple sessions in tools like Cursor or Claude Code.

Team-Wide Shared Knowledge

Engineering teams deploy Palace Server on their own infrastructure so that memory written by one developer's agent becomes available to teammates' agents while keeping all data within the organization's network.

Seamless Tool Switching

Developers move between Cursor, Claude Code, and Codex without losing project history because Palace supplies the same searchable memory layer to any MCP-compatible agent.

How to use Palace Memory

  1. 1Install palace-rs with a single command on your machine
  2. 2Wire the memory engine into Cursor, Claude Code, or Codex over MCP
  3. 3Begin coding sessions so decisions and fixes are automatically stored
  4. 4Deploy Palace Server via Docker or binary for team-wide access
  5. 5Connect additional developers to the shared server with a license key

Palace Memory pricing

Pricing model: Freemium. Plan details are indicative — check the site for current prices.

Solo

Free
  • Install palace-rs
  • Local memory for Cursor, Claude Code, Codex
  • Free forever on your machine

Team

Popular
Custom
  • Deploy Palace Server
  • Shared team memory
  • Flat-priced tiers with seat cap
  • Offline license verification

Editor's verdict

Pros

  • +Fully self-hosted and privacy-focused, data stays on your infra
  • +Free forever for solo developers with seamless agent integration

Cons

  • Requires self-hosting and infrastructure setup
  • Primarily targeted at specific coding agents via MCP

Our take: Palace Memory is a solid coding & dev choice. It's valued for fully self-hosted and privacy-focused, data stays on your infra and free forever for solo developers with seamless agent integration. The main trade-off is requires self-hosting and infrastructure setup. A good pick if you want capable AI without a high upfront cost.

Frequently asked questions

Palace is a self-hosted memory layer that gives persistent, searchable recall to AI coding agents so they remember past decisions, fixes, and conventions instead of starting from zero each session.

Summary

Palace Memory is a solid coding & dev choice. It's valued for fully self-hosted and privacy-focused, data stays on your infra and free forever for solo developers with seamless agent integration. The main trade-off is requires self-hosting and infrastructure setup. A good pick if you want capable AI without a high upfront cost.

Did you find this helpful?

User reviews

Verified reviews from the community shape this tool's rating.

Loading reviews…

Sign in to review

Palace Memory alternatives

Similar coding & dev tools worth comparing.

Explore & compare Palace Memory

Data-driven comparisons, alternatives and rankings — kept current by our agents.

Promote Palace Memory

Add this badge to your website, or share the tool.

DFeatured on DhanasviPalace Memory 1