Universal Chat History Extractor — Extract your conversations from 8+ AI web platforms and import into any agent memory system
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Your AI conversations across Kimi, ChatGPT, DeepSeek, Claude, and other platforms are a goldmine of context. But no agent has access to them — until now.
ChatMemoryBridge extracts your full chat history from any web AI platform using browser automation (Camofox), and formats it for ingestion into any agent memory system (Hermes, OpenClaw, and more).
How it differs from alternatives:
- 🔌 Multi-platform — 8+ platforms, not just one
- 🧠 Agent-aware — Output formatted for Hermes/OpenClaw memory, not just raw JSON
- 🔒 Your data stays local — No cloud, no SaaS. Browser runs on your machine
- 🚀 One-click install —
curl | bashand you're done
┌──────────────────────────────────────┐
│ Camofox Browser (:9377) │
│ (stealth headless Firefox engine) │
└──────┬──────┬──────┬──────┬──────────┘
│ │ │ │
┌────────────┘ │ │ └────────────┐
▼ ▼ ▼ ▼
┌──────────────┐ ┌──────────┐ ┌──────────┐ ┌──────────────┐
│ kimi.com │ │ chatgpt │ │ deepseek │ │ claude.ai │
│ (✅ Ready) │ │ (🚧 WIP) │ │ (🚧 WIP) │ │ (🚧 WIP) │
└──────┬───────┘ └──────────┘ └──────────┘ └──────────────┘
│
▼
┌──────────────────────────────────────────────────┐
│ chat_history.jsonl + markdown │
│ (platform-agnostic intermediate) │
└──────────┬───────────────────────┬───────────────┘
▼ ▼
┌─────────────────┐ ┌──────────────────────┐
│ Hermes Memory │ │ OpenClaw Memory │
│ (via skill) │ │ (via plugin) │
└─────────────────┘ └──────────────────────┘
Flow:
- One-time login per platform (visible browser, you log in manually)
- Session cookies saved locally
- Automated extraction (headless browser, uses saved cookies)
- Conversations saved as JSONL + markdown digest
- Ingest into Hermes/OpenClaw memory
| Platform | Status | Method | Auth |
|---|---|---|---|
| Kimi (月之暗面) | ✅ Ready | Camofox browser | Cookie (manual once) |
| ChatGPT (OpenAI) | 🚧 In Progress | Camofox browser | Cookie / OAuth |
| DeepSeek Chat | 🚧 In Progress | Camofox browser | Cookie |
| Claude (Anthropic) | 🚧 In Progress | Camofox browser | Cookie / OAuth |
| Google Gemini | 🚧 In Progress | Camofox browser | Google OAuth |
| 智谱清言 (Zhipu) | 🚧 Planned | Camofox browser | Cookie / SMS |
| 豆包 (ByteDance) | 🚧 Planned | Camofox browser | Cookie / Douyin |
| 文心一言 (Baidu) | 🚧 Planned | Camofox browser | Cookie / Baidu |
Adding a new platform? See Adding a New Platform. It takes ~50 lines of Python.
- Camofox browser running on
localhost:9377# Check if running curl http://localhost:9377/health - Python 3.8+
Option 1: One-click install (recommended)
curl -fsSL https://raw.githubusercontent.com/pixie-muon/chat-memory-bridge/main/install.sh | bashOption 2: Manual install
git clone https://github.com/pixie-muon/chat-memory-bridge.git
cd chat-memory-bridge
pip install -r requirements.txtcmb listcmb login kimiThis opens a visible browser. You log in manually (QR code / SMS / password). Type done when finished — cookies are saved to ~/.chat-memory-bridge/cookies_kimi.json.
cmb extract kimi --limit 20Uses saved cookies, opens headless browser, extracts all conversations.
Output:
output/kimi_*.jsonl— Raw JSONL for programmatic useoutput/digest/*.md— Markdown files for human reading
# Hermes
hermes chat -q "Read ~/.chat-memory-bridge/output/digest/*.md and save to my memory"
# Or install the Hermes skill
hermes skills install ~/.chat-memory-bridge/integrations/hermes/SKILL.mdAdding a new AI platform takes ~50 lines of Python:
from src.platform import Platform, PlatformRegistry
class MyPlatform(Platform):
name = "My AI Platform"
domains = ["my-ai.com"]
status = "✅ Ready"
auth_method = "Cookie"
def login_url(self): return "https://my-ai.com/login"
def chat_history_url(self): return "https://my-ai.com/chats"
def check_login(self, snap): return "log in" not in snap.lower()
def extract_chat_list(self, browser, tab_id): ...
def extract_conversation(self, browser, tab_id): ...
PlatformRegistry.register(MyPlatform)Save to src/extractors/my_platform.py. It's auto-discovered.
- Core engine + Camofox integration
- Kimi.com extractor
- ChatGPT extractor
- DeepSeek extractor
- Claude extractor
- Google Gemini extractor
- 智谱清言 extractor
- 豆包 extractor
- 文心一言 extractor
- OpenClaw plugin (published)
- Hermes skill (published to skills hub)
- PyPI package (
pip install chat-memory-bridge) - Docker image (browser included)
- GitHub Actions CI for platform tests
Contributions are what make the open source community amazing. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'feat: add AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Priority contributions: New platform extractors! See Adding a New Platform.
Distributed under the MIT License. See LICENSE for more information.
MUON | 默川 — @ToussaintKnight
Project Link: https://github.com/pixie-muon/chat-memory-bridge