abraxas914/VESTI
Local-first AI conversation memory hub to capture, search, summarize, and export chats across major AI platforms. 本地优先的 AI 对话记忆与知识中台。
VESTI – Local‑First AI Conversation Memory & Knowledge Hub
What it is – VESTI (心迹) is a Chrome‑extension‑plus‑web‑dashboard that automatically captures your chats with large language models (ChatGPT, Claude, Gemini, DeepSeek, Qwen, Doubao, …), stores them locally in the browser, enriches them with AI‑generated summaries and semantic tags, and lets you browse, search, visualise and query this personal knowledge base with a RAG‑style engine. All data stays on your device (IndexedDB) unless you export it.
Core Features
| Feature | What it does |
|---|---|
| Real‑time capture | While you chat on supported AI sites, a background content script silently extracts the full conversation (messages, timestamps, platform) and writes it to a local IndexedDB store. |
| Thread summary | After a conversation ends, VESTI calls ModelScope’s summarisation API (prompt‑as‑code) to produce a structured recap (key questions, insights, next steps). Summaries are cached locally. |
| Local vector store & RAG | Conversation titles and contents are embedded via ModelScope’s text‑embedding‑v1 model (768‑dim). Vectors are kept in IndexedDB and queried with pure‑JS cosine similarity. The Explore view lets you ask natural‑language questions over your own history; the system retrieves the most relevant chunks and generates a citation‑rich answer. |
| Gardener Agent | An asynchronous lightweight agent that classifies each captured chat (tech discussion, creative brainstorming, etc.), extracts tags, and assigns it to a topic folder. The classification can be corrected by drag‑and‑drop, which the agent uses as feedback. |
| Knowledge graph visualisation | Using ECharts, VESTI draws a force‑directed graph where nodes are conversations and edges encode semantic similarity (≥ 0.4). Node size reflects dialogue depth; clicking a node jumps to the original chat. |
| Notes & Curation | A markdown editor lets you condense high‑value conversations into permanent notes. Notes are also vectorised and get higher retrieval weight in the RAG engine. |
| Full‑screen dashboard | A separate web UI (the Library, Explore, Network, Notes panels) runs in a new tab, communicating with the extension via Chrome‑extension messaging. All UI components interact only through a StorageApi abstraction, making the front‑end agnostic to the storage backend. |
| Export / Import | Conversations, summaries and notes can be exported as JSON, TXT or Markdown, and imported back, giving you full data portability. |
| Local‑first privacy | No cloud sync by default; everything lives in the browser. Even the developers cannot read your chats. |
Technology Stack
- Frontend: React 18 + TypeScript, Tailwind CSS, shadcn/ui (Radix‑based), i18n for Chinese/English/Japanese/Korean.
- Extension framework: Plasmo (MV3 Chrome extension) – provides content scripts, background service worker and off‑screen workers.
- Local storage: Dexie.js wrapper around IndexedDB; tables for conversations, messages, summaries, vectors, topics, notes.
- Embedding & LLM: ModelScope API –
DeepSeek‑R1‑Distill‑Qwen‑14Bfor generation,Qwen3‑14Bas fallback;text‑embedding‑v1for vectorisation. - Visualization: ECharts force‑directed graph.
- Agent logic: Prompt‑as‑code templates with versioned prompts; simple rule‑engine + lightweight model calls for classification.
- Build tools: pnpm, Vite for the UI, Plasmo dev server for hot‑reloading the extension.
Getting Started
- Install – Download the latest release ZIP (or the Vercel mirror), unzip, then in
chrome://extensionsenable Developer mode and click Load unpacked pointing at the folder containingmanifest.json. - Configure ModelScope – Open VESTI’s settings (gear icon), paste your ModelScope API key and optionally a custom model ID. Test the connection.
- Capture – Visit any supported AI chat page. A small floating capsule appears; it shows capture status and can be expanded to archive the current thread.
- Explore – Click the VESTI sidebar icon to open the side‑panel, browse captured chats, run full‑text search, or open the Explore link to launch the full dashboard.
- Export – In the Data page you can export all data as JSON/Markdown for backup.
Who Might Benefit?
- Researchers / writers who want a personal, searchable archive of their AI‑assisted brainstorming.
- Knowledge workers who use multiple LLM services and need a unified view of their conversation history.
- Privacy‑conscious users who want AI‑enhanced recall without sending personal data to a cloud.
- Developers interested in building local‑first RAG pipelines or experimenting with lightweight agents.
Current Limitations
- All data lives only on the current device; there is no built‑in cross‑device sync (you must export/import manually).
- Vector search is performed in‑browser JavaScript; performance may degrade with very large conversation histories.
- Agent classification relies on a modest model and rule set; confidence can be low for ambiguous chats.
- The system requires a ModelScope API key; without it, summarisation and embedding are unavailable.
Quick Summary
VESTI is a genuine open‑source project that combines a Chrome extension, local vector store, and a small AI agent to turn scattered LLM conversations into a searchable, visual, and exportable personal knowledge base, all while keeping the data on the user’s machine.
Related
- Project
- Project
- Project
- Project
- Project