Giving AI coding agents memory that survives a restart
说明与用途
AI 代理在重启后保留上下文,自动识别项目工作区,并通过轻量级 Rust 服务器共享内存。
问题
AI coding agents lose context after a restart, forcing repeated explanations of decisions, conventions, and project history.
结果
Agents retain context across restarts, automatically detect project workspace, and share knowledge via a lightweight Rust binary that runs on small VMs or Raspberry Pi, enabling air‑gapped deployments.
工作流
- 1. Install palace-rs core on local machine.
- 2. Agent automatically gains local persistent memory via palace_* MCP tools.
- 3. For team use, run palace remote set to point to shared Palace Server.
- 4. Run palace remote on to enable shared memory access.
- 5. Agents now read/write to shared memory, preserving decisions, diaries, and permissions.
- 6. Team members benefit from shared knowledge graph and session context without workflow changes.
证据
palace-rs is the open source core (MIT licensed). Install it, and your agent gets a local, persistent memory.
For a team, Palace Server adds the shared layer on top: shared knowledge graph, team diaries, workspace permissions.
- 记录日期: 2026-09-17T21:00:12.388Z