A self-hosted personal memory layer for AI agents — built on Postgres, pgvector and MCP.
Runs 100% local by default. No API keys. No cloud dependency. Your data never leaves your machine.
You are a software developer?
✦ Try Aperio-dev
— basic terminal comfort is required.
You are a normal human?
✦ Try Aperio-lite
— double-click and go, no tech skills needed.
Built for developers who want AI that actually knows them. Without giving up their data or their infrastructure.
Memories survive every conversation, every tool, every session. 7 structured types keep things organized — facts, decisions, solutions and more.
Powered by pgvector + local embeddings (mxbai-embed-large). Ask about your projects and get results matched by meaning, not keywords. Voyage AI optional.
One brain shared across every agent. Claude, Cursor, Windsurf — all connect to the same Postgres database through the MCP protocol.
Responses stream token by token via WebSocket. Live code rendering, markdown on completion, smart auto-scroll. No waiting.
Runs fully on your machine with Ollama — free, private, offline-capable. Switch to Claude with one env variable when you need more power.
Background job finds near-duplicate memories every 10 minutes using cosine similarity. Dry-run by default — you stay in control.
Native support for thinking models — qwen3, deepseek-r1. A collapsible reasoning bubble shows the model's thought process live. Toggle it on or off anytime.
Since you own the database, Aperio scales from personal to shared team brain with two changes — update the system prompt and seed team memories. One brain for the whole team.
One database. One MCP server. Two AI providers. Your brain is just a Postgres table with vectors.
Every tool is available to any MCP-compatible agent (Claude, Cursor, Windsurf).
Memory ops, file ops, web fetching.
Aperio is personal by default.
But since you own the database, it can become a shared team brain with minimal changes.
Every agent, every teammate, every tool — all drawing from the same memory pool.
"We chose Fly.io over Railway in Q3 2024 because of better pricing for always-on workloads."
"Project Atlas uses Next.js, PlanetScale, and Stripe. PM is Sara. Lead dev is John."
"New devs should read X, set up Y, ask Z about access. Deploy on merge to main."
"When the DB goes down: check pgvector index first, then connection pool, then restart."
"John handles DevOps, prefers async comms, UTC+2. Sara owns the product roadmap."
"Which projects use Stripe?" · "Who owns the analytics pipeline?" · "What's our infra stack?"
Aperio is a foundation, not a finished product. The source is fully open — fork it, extend it, repurpose it.
Here's what you can build on top.
The schema is yours to extend. Add new memory types, extra metadata columns, TTL logic, or per-project namespacing. Postgres gives you full flexibility.
Adding a tool is just a new entry in mcp/index.js. Expose calendar access, email drafting, browser control — any action you want your agents to take.
mxbai-embed-large via Ollama is the default — zero external calls. Swap in Voyage AI for higher quality, or drop in OpenAI, Cohere, or any provider with a vectors API.
The web interface is a standalone HTML file with WebSocket. Rip it out and build a VS Code extension, a mobile app, a CLI, a Chrome sidebar — the server API stays the same.
Query your own memory graph. Build dashboards showing what topics you think about most, decision patterns over time, knowledge gaps, or memory growth by week.
Since you own the database, Aperio scales from personal to team brain with two changes: update the system prompt to team context, seed team memories in 001_init.sql.
Run multiple specialized agents that all share one brain. A research agent stores findings, a coding agent reads context, a writing agent pulls preferences — all from the same database.
Commercial memory services are great products.
Aperio is a different choice — self-hosted, open source, fully customizable.
| Feature | ✦ Aperio | Cloud Services |
|---|---|---|
| Data ownership | ✅ 100% yours — own Postgres | ✗ Vendor's servers |
| Monthly cost | ✅ Free (self-hosted) | ✗ $20–100 / month |
| Local AI support | ✅ Ollama built-in | ✗ Cloud only |
| File system tools | ✅ read · write · append | ✗ Not available |
| Full source access | ✅ Open source — fork it | ✗ Closed API |
| MCP integration | ✅ Native protocol | ⚠ Varies |
| Works offline | ✅ With Ollama | ✗ Requires internet |
| Non-developer friendly | ✅ Aperio-lite — double-click & go | ✗ Requires dev setup |
| Team memory | ✅ Shared DB — one brain for the team | ⚠ Varies by plan |
Local AI · persistent memory · streaming responses · 4 themes.
Node 18+, Docker, and Ollama. No API keys. No cloud. 100% local.
Or add Claude + Voyage AI when you need more power.
The fastest path to your own private AI.
Runs 100% on your machine. No Money. No Cloud. No register your email here and there.
Download → unzip → double-click. That's it.
Double-click Launch
macOS
Linux
Windows
Delete to uninstall
the whole flow — once is enough
📥 Download
→
📂 Unzip
→
🔗 Make Alias / Shortcut
→
🖥️ Drop on Desktop
→
Double-click → (one-time) setup
→
Browser opens automatically
macOS
1. Download, unzip, open in Finder
2. Look for folder called how-to-install → double-click it
3. Find START.sh → right-click → Make Alias
4. Rename the alias to Aperio
5.A Drag alias to Desktop folder in Finder's sidebar
❗ Sidebar item — not the Desktop surface itself
5.B Hold ⌥ Option + ⌘ Cmd and drag START.sh directly onto the desktop → rename it there
6. Double-click → one-time setup → done
✅ Default browser opens automatically at
http://localhost:31337
Windows
1. Download, unzip, open in File Explorer
2. Look for folder called how-to-install → double-click it
3. Find START.bat → right-click → Rename
4. Rename the file to Aperio.bat
5.A Move shortcut to Desktop
5.B Hold Alt and drag START.bat directly onto the desktop → rename it there
6. Double-click → one-time setup → done
✅ Default browser opens automatically at
http://localhost:31337
Linux
1. Download, unzip, open in your file manager
2. Look for folder called how-to-install → open it
3. Find START.sh → right-click → Properties → Permissions
4. Enable Allow executing file as program → close
5. Right-click START.sh → Copy to Desktop → rename to Aperio
❗ Menu labels vary by distro (Nautilus, Dolphin, etc.)
6. Double-click → one-time setup → done
✅ Default browser opens automatically at
http://localhost:31337
No tech skills required
Nothing to configure.
✅ No databases to set up.
✅ No config files to edit.
✅ No environment variables.
✅ No package managers.
Just download and double-click.
First run installs everything automatically in the background.
You'll see a terminal window — that's normal.
The terminal is yours GOD EYE on what is happening.
Feature updates
Download the latest release.
✅ Windows
- Right-click on the zip and select "Extract All..."
- In the dialog, specify your aperio-lite folder.
✅ macOS/Linux (Terminal - fastest)
- unzip aperio-lite.zip -d ~/aperio-lite
Your data stays untouched.
❗ Might want to export your memories first.
- You'll have your data even if the update fails
subsequent runs & Uninstall
Every run after the first run?
Double-click the desktop shortcut. That's it.
Terminal: ./start.sh
✅ If you can open a browser, you can run Aperio.
How to remove it if I do not like it?
1. Delete the Desktop alias / shortcut
2. Delete the unzipped folder
✅ That's it. Completely gone.
- No registry entries. No hidden files.
- No traces. Nothing.
Self-hosted. Takes 5 minutes.