selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Retain logo

Self-host Retain

v0.1.10-beta

macOS app unifying AI chats into a searchable knowledge base

BetaOpen SourceMIT
Updated8 months ago
LanguageSwift
Setup difficultyEasy
Stars
168
Install with Linux
Conversation Browser showing list of synced AI conversationsAnalytics Dashboard with conversation insights

What is Retain?

Retain is a native macOS desktop application that solves the problem of scattered AI conversation context across multiple tools. It automatically syncs conversations from CLI tools via file watching and from web interfaces via browser cookie import, storing everything in a local SQLite database with full-text search. The app extracts learnings — corrections and preferences — from conversations and exports them so Claude remembers user preferences across sessions. It runs entirely locally with no telemetry, offers a menu bar interface, and delivers automatic updates via Sparkle. Optional AI features can connect to Google's Gemini API for enhanced learning extraction, and the app requires Full Disk Access to read browser cookies for web sync. Currently in beta with stable core sync and search features, while learning extraction and automations are still under active development.

Retain alternatives

Should you self-host Retain?

Retain scores 41/100 on selfhost.directory (how scoring works) and ranks #88 of 120 in AI Assistant. It has 168 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. It is MIT-licensed and written mostly in Swift.

Its closest alternative on selfhost.directory is hermes-agent (89/100, 258 610 stars). It scores higher overall, so compare the two before you pick. See Retain vs hermes-agent side by side.

Features

  • Auto-Updates
  • CLAUDE.md exportWorks but formatting improvements planned per beta status.
  • Conversation browser
  • Full-Text Search
  • Learning extractionFunctional but under active development per beta status.
  • Local-First Storage
  • Menu bar integration
  • Multi-source conversation sync

Retain README

Retain

Beta macOS License: MIT

A unified knowledge base for your AI conversations. Search, learn, and reflect across Claude Code, Cursor, Codex, claude.ai, ChatGPT, and more.

Conversation Browser

How to install Retain

Install Retain with Linux

  1. Unzip and move Retain.app to Applications.
  2. Launch Retain from Applications.

Advanced installation method.

More in Personal Productivity

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…