Skip to content

memopal

memopal is a memory layer for autonomous agents.

Core trick

The orchestrator has no write tools and delegates to worker agents writing entities, claims, and events into a 15-table SQLite graph with source links.

Tags

Description

memopal is a memory layer for autonomous agents. drop any data export (spotify, claude conversations, google takeout, photos, text files) and a hierarchical swarm of gemini agents extracts entities, relationships, claims, and events into a 15 table semantic knowledge graph. the core architecture forces genuine multi agent delegation: the orchestrator has zero write tools and must delegate to worker and leaf sub agents, creating n depth agent trees. every extracted fact links back to source evidence. the output is a rest api that any autonomous agent can query for structured personal context. built with ai sdk v6, gemini 3. pro/flash/flash lite across three model tiers, next.js 16, sqlite, and a realtime agent canvas that streams every tool call via sse.
qtzx06/memopal★ 12 forksTypeScriptCreated Mar 21, 2026 · last push Mar 21, 2026

README excerpt

# memopal

your data exports become a semantic knowledge graph. drop spotify history, claude conversations, photos, text files. a hierarchical swarm of gemini agents extracts every entity, relationship, claim, and event into a 15 table evidence backed memory layer.

the backend is the product.

![galaxy view](public/screenshots/hero-galaxy.png)

## why this exists

llms have no memory. every conversation starts from zero. every agent you spin up knows nothing about you. memopal fixes that.

it builds a persistent semantic context layer from your actual data. not summaries, not embeddings of chat logs. structured knowledge with full provenance. entities, relationships, claims, evidence, confidence scores, all queryable via rest api.

the point is not the ui. the point is that any autonomous agent, claude code, cursor, a cron job, a slack bot, a custom tool calling loop, can hit `/api/entities` or `/api/search` and instantly have structured context about who you are, what you work on, who you know, what you care about. agents that can remember you without you repeating yourself.

memopal is the memory layer for agents that don't have one.

![agent canvas](public/screenshots/agent-canvas.png)

## agent architecture

the core idea: the orchestrator cannot write to the database. it has zero write tools. it must delegate to sub agents, which themselves spawn further sub agents. this forces genuine n depth agent trees instead of a single llm with tools pretending to be agentic.

![a

Team