Local-first memory for coding agents.
Your agent remembers decisions, fixes, commands, and preferences between sessions.
One binary, one SQLite file, no API keys, no cloud.
Quick start ·
Install ·
How it works ·
Clients ·
CLI ·
MCP tools ·
FAQ
Palace gives Claude Code, Codex, Cursor, Gemini CLI, VS Code, OpenCode,
Cline, Zed, Goose, Windsurf, Antigravity, and Claude Desktop a memory that
lasts between sessions. It stores what happened verbatim, recalls it
automatically when it's relevant, and cites where each answer came from.
You: why did we switch the queue to SQLite last month?
Agent: [palace_search → wing my_api, room decisions, filed 2026-09-03]
You dropped Redis because the deploy target had no persistent volume.
The benchmark you ran is in the same drawer.
Using Palace? Tell me. One line in
Show and tell
about which agents you use it with and what it remembers for you helps more
than a star. Prefer email? Write to [email protected].
🧭 Why Palace
Every new agent session starts with no memory. You explain the architecture
again. The agent repeats a fix you rejected last week. It greps the whole repo
to rediscover a convention you settled months ago.
Palace fixes that by:
- Storing text verbatim. Code, notes, and conversations are stored as
written, not as an LLM summary that loses detail.
- Running locally. Embeddings come from
all-MiniLM-L6-v2 (or another
supported model) on ONNX Runtime, on your CPU. Nothing leaves your machine unless you turn on
remote mode.
- Recalling without being asked. Hooks inject relevant memory when a
session starts, when you send a prompt, and while the agent investigates.
The agent does not need to remember to search.
- Citing sources. Every result carries its wing, room, source file, drawer
id, and score breakdown, so you can check where an answer came from.
- Shipping as one binary. No Python, no vector database, no Docker. One
palace executable and one palace.db file.
It also works outside software projects. The creative and personal
profiles adapt it for worldbuilding, fiction, coaching, or
household notes.
📦 Install
Pick one. Each method installs the palace binary. Run palace install
afterwards to connect your agents.
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/AncientiCe/palace-rs/main/scripts/install.sh | sh
Windows (PowerShell)
irm https://raw.githubusercontent.com/AncientiCe/palace-rs/main/scripts/install.ps1 | iex
The scripts download the matching GitHub Release binary, verify its SHA-256
checksum, and install it. To upgrade later, run the same command again.
The Linux binary needs glibc 2.39 or newer (Ubuntu 24.04+, Debian 13+);
on an older system, build from source.
Homebrew (macOS Apple Silicon / Linux)