@QingQ77: Let AI coding tools share a persistent memory between browser chats and IDEs, saving the need to re-explain context each time. https://github.com/Eshaan-Nair/ArcRift… ArcRift is a local-first AI memory layer. Chrome extension captures C…

X AI KOLs Timeline Tools

Summary

ArcRift is a local-first AI memory layer that shares persistent memory between browser chats and IDE tools via a Chrome extension and MCP Server, avoiding repeated context explanations.

Let AI coding tools share a persistent memory between browser chats and IDEs, saving the need to re-explain context each time. https://github.com/Eshaan-Nair/ArcRift… ArcRift is a local-first AI memory layer. The Chrome extension captures web chat content from Claude/ChatGPT/DeepSeek, and the MCP Server allows IDE tools like Cursor/Claude Code to read the same data. Under the hood, it's local SQLite + Ollama embeddings.
Original Article
View Cached Full Text

Cached at: 06/02/26, 05:36 PM

Let AI coding tools share a persistent memory between browser chats and IDEs, so you don’t have to re-explain context every time. https://github.com/Eshaan-Nair/ArcRift… ArcRift is a local-first AI memory layer. The Chrome extension captures web chat content from Claude/ChatGPT/DeepSeek, and the MCP Server allows IDE tools like Cursor/Claude Code to read the same data. Under the hood, it uses local SQLite + Ollama embeddings.

Eshaan-Nair/ArcRift

Source: https://github.com/Eshaan-Nair/ArcRift

ArcRift — Persistent Memory for AI Coding Tools

Your AI forgets everything between sessions. ArcRift fixes that.

Memory saved in a browser chat is instantly available in your coding tool, and vice versa.

A local-first memory layer that captures your conversations, builds a searchable knowledge graph, and automatically injects the right context into every new prompt — no cloud, no subscriptions, no re-explaining yourself.

Stars (https://github.com/Eshaan-Nair/ARCRIFT/stargazers) Forks (https://github.com/Eshaan-Nair/ARCRIFT/forks) Issues (https://github.com/Eshaan-Nair/ARCRIFT/issues)

Version License: MIT

Browser Extension: Claude · ChatGPT · Gemini · DeepSeek · Grok · Copilot · Mistral

MCP (AI Coding Tools): Claude Code · Cursor · Windsurf · Claude Desktop

https://github.com/user-attachments/assets/f77a865a-cee9-4f7c-b0fa-4fb4d1cee7be

Youtube Link (https://www.youtube.com/watch?v=58zbSxzQ94U)

The Demo only showcases the main function of ArcRift, there are a lot of features for you to Explore!

One Command Setup

npx arcrift-setup

Historical NPM Downloads (Legacy Brands)

Due to rebranding, the total historical download count is split across our three NPM packages:

Package NameDownloads
arcrift-setup (Current)Downloads (https://www.npmjs.com/package/arcrift-setup)
glia-ai-setup (Legacy)Downloads (https://www.npmjs.com/package/glia-ai-setup)
synq-setup (Legacy)Downloads (https://www.npmjs.com/package/synq-setup)

The Problem

You are deep in a complex project. You have had 30 conversations with Claude about your auth flow, database schema, and deployment strategy. You open a new chat — and it is all gone. You spend 10 minutes re-explaining context you have already covered, and the AI gives you advice that contradicts decisions you made two weeks ago.

ArcRift stops the cycle. It captures your AI conversations, extracts structured facts into a knowledge graph, embeds them as searchable vectors, and automatically prepends the most relevant context to every new prompt — before you even finish typing.


Table of Contents


Installation

For Users (The Easy Way)

ArcRift is a powerful AI developer tool. Before installing the .exe, you must have Node.js (https://nodejs.org/) and Ollama (https://ollama.com/) installed on your computer to run the backend and local AI models. If you don’t have these, use the Developer (One-Command Setup) below to automatically install them!

  1. Head over to the Releases (https://github.com/Eshaan-Nair/ArcRift/releases) page.
  2. Download the latest ArcRift_Installer.exe (or your OS equivalent).
  3. Double-click the installer to install ArcRift on your machine.
  4. Launch ArcRift from your Start menu! The app will live entirely in your system tray and run seamlessly in the background.

For Developers (Building from Source)

If you want to modify the code, build the project yourself, or use the MCP Tools:

1. One-Command Setup (All Platforms)

npx arcrift-setup

This clones the repo, checks dependencies, pulls Ollama models, installs packages, and builds the backend.

2. Launching the Development Server

To launch the native desktop application in dev mode:

npm run dev:desktop

This will start the backend seamlessly in the background and open the native ArcRift dashboard. When you close the window, it will minimize to your system tray. You can fully quit ArcRift from the tray menu.

Web Extension Setup

The extension requires the ArcRift backend to be running. It does not work standalone.

Step 1 — Install and start the backend

# One-command (recommended)
npx arcrift-setup

# Or manual
git clone https://github.com/Eshaan-Nair/ARCRIFT.git
cd ARCRIFT/backend
cp .env.example .env
# Edit .env — add GROQ_API_KEY if using Groq
npm install

Set storage mode in backend/.env:

ARCRIFT_STORAGE_MODE=sqlite
# Recommended — no Docker needed
OLLAMA_URL=http://localhost:11434
GROQ_API_KEY=gsk_your_key_here

Start the backend:

The easiest way is to simply launch your ArcRift Desktop App (which runs the backend natively). Alternatively, if you are running in Headless/Developer mode:

# Windows
start.bat
# macOS / Linux
./start.sh

The backend starts on http://localhost:3001. The extension will automatically connect to it.

Step 2 — Build the extension

cd extension
npm install
npm run build

This produces the extension/dist/ folder.

Step 3 — Load into Chrome

  1. Open chrome://extensions
  2. Enable Developer mode (top-right toggle)
  3. Click Load unpacked
  4. Select the ARCRIFT/extension/dist folder
  5. The ArcRift icon appears in your toolbar

Step 4 — Use it

Navigate to Claude, ChatGPT, Gemini, DeepSeek, Grok, Copilot, or Mistral. Click the ArcRift popup, enter a project name, and click Save Chat. Auto-connect activates immediately.

Daily use: Simply keep the ArcRift Desktop App running in your system tray! If you are in developer mode, double-click start.bat or ./start.sh.


MCP Server Setup

The MCP server runs as a separate process and communicates with AI coding tools over stdio. The backend does not need to be running as an HTTP server — the MCP server initializes its own storage connection.

Step 1 — Build the backend

cd backend
npm install
npm run build

This produces backend/dist/mcp/server.js.

Step 2 — Generate your config (easiest)

cd backend
npm run mcp:config

This prints a pre-formatted JSON block with absolute paths resolved for your machine. Copy it directly into your tool’s config file.

Step 3 — Add to your AI tool

Claude Desktop%APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/.claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "arcrift": {
      "command": "node",
      "args": ["C:/path/to/ARCRIFT/backend/dist/mcp/server.js"]
    }
  }
}

Claude Code — run in your project directory:

claude mcp add ArcRift node /path/to/ARCRIFT/backend/dist/mcp/server.js

Cursor — create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "arcrift": {
      "command": "node",
      "args": ["/path/to/ARCRIFT/backend/dist/mcp/server.js"]
    }
  }
}

Windsurf — create .windsurf/mcp.json in your project root:

{
  "mcpServers": {
    "arcrift": {
      "command": "node",
      "args": ["/path/to/ARCRIFT/backend/dist/mcp/server.js"]
    }
  }
}

Use forward slashes in all paths, even on Windows. Restart your AI tool after editing the config.

Step 4 — Set the storage mode

The MCP server reads backend/.env. Make sure it contains:

ARCRIFT_STORAGE_MODE=sqlite
OLLAMA_URL=http://localhost:11434

Ollama must be running for the MCP server to generate embeddings and extract knowledge graph triples.


Running Both Together

When running the browser extension and MCP server together, they share the same ArcRift.db database. No extra configuration is needed.

  1. Start the HTTP backend: start.bat or ./start.sh
  2. Load the extension in Chrome (it talks to http://localhost:3001)
  3. Your AI coding tool starts the MCP server automatically when you open a project

Memory saved via the extension is immediately available in recall_context, and memory stored via store_memory appears in the dashboard history. They are the same database.

The HTTP backend and MCP server both use WAL mode on SQLite, which allows them to read and write concurrently without locking each other out.


Usage Guide

Using the Browser Extension

Saving a conversation:

  1. Have a conversation on any supported platform
  2. Click the ArcRift icon in the Chrome toolbar
  3. Enter a project name (e.g. AuthService, MyApp-Backend)
  4. Click Save Chat

ArcRift scrubs PII, chunks the text, embeds it locally with Ollama, and sends it to the backend. The UI confirms success in under 5 seconds. Background indexing (sentence-level embeddings, knowledge graph extraction) continues asynchronously.

Auto-connect:

Once a session is saved and activated, ArcRift intercepts every prompt you type on that platform. Before the request is sent, it queries the backend for relevant context and prepends the top results. You do not need to do anything — just type normally.

To pause: click the ArcRift popup and hit Pause. The badge dims. Click again to resume.

New chat detection:

When you click “New Chat” on ChatGPT, Claude.ai, or Gemini, ArcRift detects the URL or DOM change and resets the active session. The next Save will start a fresh project, and context from the previous session will not bleed in.

Classic inject:

For a one-time context push without enabling auto-connect, click Inject Context in the popup. ArcRift pastes the knowledge graph summary directly into the chat input field. You review it and send manually.


Using the MCP Tools

Once connected, your coding agent has access to seven ArcRift tools. A typical session looks like this:

At session start — recall project memory:

Use recall_context with prompt: "implementing JWT refresh token rotation" and project: "AuthService"

After completing work — save decisions:

Use store_memory with content: "We implemented refresh token rotation using Redis for token invalidation. The key insight was using a sliding expiry window of 15 minutes for access tokens and 7 days for refresh tokens." and project: "AuthService"

Finding something from a different project:

Use search_memory with query: "rate limiting strategy"

Getting an overview before starting:

Use get_project_summary for project: "AuthService"

Auto-detecting the current project:

Use identify_active_project with path: "/Users/me/code/auth-service"

Correcting outdated information:

Use prune_memory with prompt: "Redis rate limiting" and project: "AuthService"

Dashboard

Open http://localhost:3001 while the backend is running.

TabWhat you see
GraphD3.js force-directed knowledge graph. Nodes are entities, edges are relations. Degree-scaled sizing — high-connectivity nodes appear larger. Hover for details, scroll to zoom, drag to reposition.
HistoryAll extracted triples (subject / relation / object) with timestamps. Filterable by project and relation type.
ChatThe full saved conversation rendered as color-coded chat bubbles, with platform attribution.
Job QueueLive view of background indexing jobs — pending, processing, completed, dead-lettered.

System Requirements

ModeMin RAMDiskDockerWhat runs
SQLite (Recommended)2 GB3 GBNot requiredAll features — single .db file + Ollama
Full Docker8 GB15 GBRequiredNeo4j + MongoDB + ChromaDB + Ollama
Lite Docker4 GB10 GBRequiredMongoDB + ChromaDB (no knowledge graph)

SQLite mode is the recommended default. The installer detects Docker automatically and sets SQLite mode if Docker is not available.

Prerequisites

RequirementVersionNotes
Node.js20 LTS+nodejs.org (https://nodejs.org)
OllamaLatestollama.com (https://ollama.com) — required for local embeddings and extraction
Docker Desktop24.0+docker.com (https://docker.com) — only needed for Docker mode
Groq API Keyconsole.groq.com (https://console.groq.com) — free, used as fallback if Ollama is slow

Key Features

Core Retrieval Engine

FeatureDetail
Three-Layer Hybrid SearchSentence vectors, chunk vectors, and FTS5 keyword search run in parallel. Results are fused and ranked by a combined score.
Surgical Sentence TrimmingChunks are split into individual sentences at index time. On retrieval, only the sentences that directly match the query are returned — not the entire surrounding paragraph. Reduces prompt noise by up to 95%.
HyDE (Hypothetical Document Embedding)Before querying the vector store, ArcRift generates a hypothetical answer to your query and uses that embedding alongside the raw query. This dramatically improves recall for rephrased or indirect questions.
Small-to-Big RetrievalHigh-precision sentence match triggers fetching the parent chunk for broader context. Precision of a sentence search, context of a full paragraph.
Knowledge Graph LayerEvery saved conversation is processed to extract subject-relation-object triples (22 entity types, 20+ relation types). Graph facts are fused with vector results on every recall.
Background IndexingSentence-level embedding is offloaded to a background job queue so Save is instant. The deep index is built asynchronously without blocking the UI.

Extension Quality-of-Life

FeatureDetail
Auto-ConnectOnce a session is active, ArcRift re-attaches automatically on every page load. No clicking required — just type.
SPA Navigation AwarenessDetects “New Chat” clicks in single-page apps (ChatGPT, Claude, Gemini) without a full page reload. Automatically resets the active session so context does not bleed between conversations.
Pause / ResumeOne click in the popup pauses auto-injection. Click again to resume. State persists across tabs.
Classic InjectOne-time manual inject button for priming a cold start without enabling auto-connect.
FNV-1a DeduplicationIdentical conversation segments are fingerprinted and skipped — re-saving a chat never creates duplicate embeddings.
Multi-Strategy DOM ResolverEach platform has five ordered selector strategies. If one breaks after a UI update, the next activates automatically.
Restricted URL GuardInjection is blocked on chrome://, about:, and extension pages. Prevents crashes on non-chat pages.

MCP Tool Quality-of-Life

ToolWhat it does
recall_contextRetrieves the top-N most relevant memory chunks for a prompt, scoped to a project. Includes knowledge graph facts.
store_memorySaves text or a transcript to ArcRift Memory. Auto-creates the project if it does not exist. Triggers full background indexing.
search_memoryCross-project global search. Useful for finding decisions made in a different project that apply to the current one.
list_projectsLists all saved projects with metadata — chunk count, triple count, last updated.
get_project_summaryReturns a structured knowledge graph summary for a project as readable markdown.
identify_active_projectMatches a folder path against saved project names. Lets the AI agent auto-detect which project is active.

Similar Articles

@WY_mask: Build persistent memory engine for all kinds of AI coding assistants http://github.com/rohitg00/agentmemory… Silently records code changes and context in the background, automatically extracts and compresses into structured memory, saves Token consumption from long context, associates past information, as…

X AI KOLs Timeline

agentmemory is an open-source tool that provides persistent memory for AI coding assistants. It silently records code changes and context, automatically extracts and compresses them into structured memory, reduces Token consumption, and supports multiple mainstream platforms such as Claude Code and Codex.

@Xudong07452910: Open-source Tool Recommendation: Hivemind — Give All AI Coding Agents a Shared Brain, Automatically Extract Skills from Real Trajectories Anyone using several AI Coding Agents has likely experienced this: each tool's learning is locked in its own context, switching tools means…

X AI KOLs Timeline

Hivemind is an open-source tool that allows multiple AI Coding Agents (e.g., Claude Code, Codex, Cursor) to share a memory layer, automatically mining high-quality patterns from usage trajectories and converting them into reusable skill files, enabling cross-tool and cross-team skill propagation, significantly reducing token consumption and interaction rounds.

@teach_fireworks: Don't let an AI Agent make the same mistake twice. Recently I came across an interesting open-source project: RoBrain https://github.com/adelinamart/robrain… RoBrain is the "decision memory layer" for AI coding teams, recording each and every...

X AI KOLs Timeline

RoBrain is an open-source shared memory layer for AI coding teams that captures technical decisions, rationale, and rejected alternatives across sessions and tools like Claude Code, Cursor, and Copilot, preventing agents from repeating past mistakes.

@QingQ77: Provides persistent long-term memory across sessions for AI agents, enabling them to remember, associate, and retrieve knowledge. https://github.com/topoteretes/cognee… An open-source AI memory platform designed for AI agents, offering a self-hostable persistent long-term memory system. It…

X AI KOLs Timeline

Cognee is an open-source AI memory platform that provides persistent long-term memory for AI agents, supporting knowledge graphs and vector embeddings for cross-session memory and retrieval.