MEMPALACE

Memory
System Ready
@cypher_punk

PalacePalacePalace

Chat Memory: Passive diary & structured memory spanning temporal events. Ideal for conversational agents that need to recall past interactions accurately.

Terminal Inject
onde init -t mempalace
View Registry Source
Global Installs 14.2k
Nodes / Edges 3 / 2

Architecture Manifesto

Palace gives your AI agent a structured, spatial memory system based on the ancient Method of Loci. Instead of dumping everything into a flat vector search that mixes up contexts, Palace segments memory into Wings (e.g., "Work", "Personal"), Rooms ("Project X", "Relationships"), and Drawers (specific facts/events). When the agent needs to recall something, it traverses the graph, maintaining perfect logical boundaries and avoiding hallucinated associations.

Vectors fail at hard reasoning. When an agent uses this topology, relations become deterministic traversing rules rather than fuzzy distance metrics. Ensure onde agent --sync is running when modifying nodes manually to keep the CRDT journal perfectly aligned.

Optimal Use Cases

  • Building long-term companion AI
  • Agents needing specific factual recall without crossing contexts
  • Creating memory palaces mapped to user personas
OS Folder Mapping
Concept: Folders = Types, Markdown = Nodes
[agent-os] ~ /mempalace-world
├── schema.md
├── wings/
│ ├── wing-01.md
│ └── wing-02.md
├── rooms/
│ ├── room-01.md
│ └── room-02.md
├── drawers/
│ ├── drawer-01.md
│ └── drawer-02.md
Inference Engine Maps:
/wings/
@type(wing)
/rooms/
@type(room)
/drawers/
@type(drawer)
onde_viewer
schema.md
12345678910111213141516
## Node Types
### wing
id: string @id @default(uuid())
name: string @required
rooms: edge(room) @many
### room
id: string @id @default(uuid())
purpose: string
drawers: edge(drawer) @many
### drawer
id: string @id @default(uuid())
memory: string @required
timestamp: number @default(now())
Entity_Example.md
## Drawer: User Preferences
type:: drawer
timestamp:: 1718294400
User prefers neo-brutalist design patterns with high-contrast neon accents.
Do not use rounded corners or soft drop shadows in UI proposals.
edges:
belongs_to: [[room-design-prefs]]

Typed Graph Topology

N0
wing
N1
room
N2
drawer

Kernel Parameters

Compatibility
onde Core v1.4+
Language Bindings
Bash, TS, Python
Target System Ready

Similar TopologiesMemory

Active Memory OS:A layered symbiosis integrating onde with the Karpathy Wiki pattern. Human-readable markdown meets agent-precise typed graphs and TOON density.
Topology
conceptsourcesummarycomparison
Installs 21.4k
onde init --template karpathy-wiki