CHAT SESSION MANAGER

CHASM

BRIDGING THE DIVIDE BETWEEN AI PROVIDERS

Harvest, merge, and search your AI chat sessions across every editor and provider. 30+ providers, full-text search, REST/GraphQL/MCP APIs. Your data never leaves your machine.

$ cargo install chasm
00

HOW IT WORKS

01

DISCOVER

Chasm scans your system for VS Code, Cursor, Windsurf, Claude Code workspaces, and local LLM providers.

02

HARVEST

Sessions are extracted from each provider and normalized into a unified SQLite database with FTS5 search.

03

SEARCH

Full-text search across all messages with snippet extraction, ranking, and 4KB header optimization.

04

INTEGRATE

REST, GraphQL, WebSocket APIs, and MCP server let you build on top of your unified data.

01

CORE ENGINE

WORKSPACE DISCOVERY

Automatically find all VS Code, Cursor, Windsurf, and Claude Code workspaces with chat sessions.

SESSION RECOVERY

Detect and recover orphaned sessions from old workspace hashes, project migrations, and editor crashes.

HARVEST SYSTEM

Unified SQLite database collecting sessions from 30+ AI providers with FTS5 full-text search.

AGENT LAUNCHER

Launch 7 terminal AI agents — Aider, Claude Code, Codex, Gemini, Goose, Amp, Cline — with automatic session capture.

WATCH MODE

Monitor session directories with cross-platform filesystem events, debounced auto-harvest, and provider filters.

SHARE LINK IMPORT

Import shared conversations from ChatGPT, Claude, and Gemini via URL directly into your database.

02

APIs & PROTOCOLS

REST API

Full CRUD endpoints for workspaces, sessions, messages, providers, search, and recording.

GRAPHQL

Flexible query API with nested resolver support, filtering, and pagination.

WEBSOCKET & SSE

Real-time streaming for live session updates and cross-device synchronization.

MCP SERVER

Model Context Protocol integration exposing harvest, search, and session tools to AI agents.

03

USAGE

# Initialize the harvest database
chasm harvest init --git

# Discover all providers on your system
chasm harvest scan
# Found: copilot, cursor, claude-code, ollama, chatgpt, gemini...

# Collect everything into a unified SQLite database
chasm harvest run --incremental

# Full-text search across ALL AI conversations
chasm harvest search "authentication middleware"

# Import shared conversations from cloud AI
chasm harvest share https://chatgpt.com/share/abc123
chasm harvest share https://claude.ai/share/xyz789
04

30+ PROVIDERS

EDITORS

  • >GitHub Copilot (VS Code)
  • >Cursor
  • >Windsurf
  • >Continue.dev
  • >Cline / Roo Code
  • >Copilot Edits

CLOUD AI

  • >ChatGPT / OpenAI
  • >Claude / Anthropic
  • >Gemini / Google
  • >DeepSeek
  • >Mistral
  • >Perplexity

LOCAL & AGENTS

  • >Ollama
  • >LM Studio / GPT4All
  • >Claude Code
  • >Aider / Codex
  • >Gemini CLI
  • >Goose / Amp
05

DEPLOYMENT MATRIX

CLI

High-performance Rust binary — single static executable, no runtime dependencies.

DESKTOP

Tauri native application for Windows, macOS, and Linux with system tray integration.

MOBILE

React Native app for iOS and Android with offline caching and biometric auth.

WEB DASHBOARD

React + Vite web app with session replay, diff view, and real-time sync.

VS CODE

Session recording, workspace browser, and inline chat history within the editor.

BROWSER EXT

Chrome and Firefox extension for capturing web-based AI chat sessions.

JETBRAINS

IntelliJ, PyCharm, WebStorm, and other JetBrains IDE integration.

VIM & NEOVIM

Native plugins for Vim and Neovim with command-mode integration.

06

ENTERPRISE & SECURITY

ENCRYPTION AT REST

AES-256-GCM encryption for all stored session data. 100% local — your data never leaves your machine.

SSO / SAML

Single sign-on with Okta, Azure AD, Google Workspace, Auth0, and OneLogin.

TEAM WORKSPACES

Shared workspaces with RBAC — Owner, Admin, Member, and Viewer roles.

AUDIT LOGGING

Immutable audit trail for compliance. Every access, query, and export is recorded.

COMPLIANCE

SOC2, HIPAA, and GDPR compliance support with data retention policies.

MULTI-TENANCY

Isolated data stores per team with cross-tenant analytics for platform operators.

NEVER LOSE A CONVERSATION AGAIN

Your AI chat history belongs to you — not your editor, not your provider. Self-hosted, fully searchable, always under your control.