ChatLab — Chat History Analyzer
Local-first AI chat history analysis tool that puts your conversations back in your hands.
- Source repo
- ChatLab/ChatLab
- Stars
- ★ 7.7k
- Last updated
- 3d ago v0.37.9
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- AGPL-3.0
- Primary language
- TypeScript
- FA score
- 70/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A social media researcher analyzing millions of WhatsApp or Telegram messages to identify interaction patterns and trends.
- Not a fit if
- Users who need Messenger or KakaoTalk analysis, which are not yet supported
- Teams planning closed-source commercial use or unable to accept AGPL-3.0 copyleft terms
- Website
- chatlab.fun ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30latest release v0.37.9 (2026-11-30)+4.1 ★/day over 7 days
- Source review
- 70/100 · Some gaps
What does this agent do, and when should you use it?
ChatLab is an open-source desktop app for understanding your social conversations. It combines a flexible SQL engine with AI agents to explore patterns, ask better questions, and extract insights from chat data, all on your own machine. It supports WhatsApp, LINE, QQ, Discord, Instagram, Telegram, iMessage, and Google Chat, with Messenger and KakaoTalk on the roadmap. Data stays local by default, and no raw conversations are uploaded to the cloud. Its AI features use an Agent + Function Calling workflow with 24+ tools for search, summarization, and analysis. The app provides insight-rich visual views for trends, time patterns, interaction frequency, rankings, and more. It normalizes different export formats into a unified model for consistent analysis. Both a desktop app and a CLI are available.
ChatLab provides both a desktop app (Electron-based) and a CLI. The CLI command chatlab start launches the API and Web UI, with options like --no-open and --headless for scripting. It reads chat export files from supported platforms, performs format detection, stream parsing, local persistence, then SQL and AI query stages, and finally visualizes results using the Web UI. The core operation involves a flexible SQL engine for custom queries and an AI agent system with 24+ tools that can search, summarize, and analyze chat records with context. It supports cross-platform normalization by mapping different export formats into a unified model. The CLI can run as a persistent background service using chatlab start --daemon, with chatlab status and chatlab stop for management. The data flow is: format detection → stream parsing → local persistence → SQL + AI query → visualization.
- A social media researcher analyzing millions of WhatsApp or Telegram messages to identify interaction patterns and trends.
- An individual seeking to understand their own chat history, such as frequency of interactions and active hours with friends.
- A customer support team extracting common issues and feedback from Discord or Instagram chat logs.
- A data analyst who wants to run custom SQL queries on their chat data and combine them with AI-powered summaries.
- A privacy-conscious user analyzing chat records locally without uploading data to the cloud.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm i chatlab-cli -g
- Runtime
- Node.js 20+
- Install notes cover
- macOS · Linux
How do you install or deploy this agent?
Desktop app: download the installer for your OS from the official website (https://chatlab.fun/) or GitHub Releases, then double-click to install. CLI: ensure Node.js >= 20, then run npm i chatlab-cli -g. For development, use Node.js >= 24 < 25 and pnpm >= 9 < 10, then pnpm install and pnpm dev.
How do you use this agent?
CLI usage: run chatlab start to start the API + Web UI and auto-open in the browser; use chatlab start --no-open to skip auto-open; use chatlab start --headless for API only. Common options: --port <port> (default 3110), --host <address>, --token <token>. To run as a persistent background service (auto-start on login + auto-restart on crash), use chatlab start --daemon (macOS/Linux), then chatlab status and chatlab stop. The desktop app allows importing chat export files directly and following the guided setup.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
FARS trust-control audit
- sensitive-data handling
What are this agent's strengths and limitations?
- Local-first design keeps chat data on-device by default, enhancing privacy.
- Supports a wide range of chat platforms with unified data normalization.
- Combines a flexible SQL engine with AI tools for powerful, flexible analysis.
- Stream parsing and multi-worker processing handle million-message scales smoothly.
- AGPL-3.0 license may not suit certain commercial use cases.
- CLI requires Node.js 20+, and development requires Node.js 24 and pnpm 9, which can be a high setup bar.
- AI features depend on external model providers, potentially incurring API costs.
- Messenger and KakaoTalk are not yet supported, limiting coverage.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| ChatLab — Chat History Analyzer This agent | 70 · Some gaps | Desktop appFree + model costs | ★ 7.7k | 3d ago | TypeScript | — |
| Bough Work and Cost Explorer | 78 · Good | CLIFree | ★ 133 | 14d ago | Go | Codex · Claude Code |
| WeLink | 71 · Some gaps | Self-hosted serviceFree + model costs | ★ 336 | 17d ago | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
| Business Analytics Agent | 61 · Some gaps | Desktop appFree + model costs | ★ 2.6k | 5d ago | JavaScript | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The analysis skill limits work to read-only queries over imported data, and the import workflow requires a dry run. The skills also prohibit exposing message bodies; the conversion workflow keeps source files read-only, processes data locally, and masks diagnostic samples, supporting a strong sensitive-data score. CLI service startup and import can have effects, and a clear user request permits automatic continuation after preview. Preview and some recovery safeguards exist, but the packet does not establish a complete permission model, general data-flow details, or comprehensive rollback. Dependency-security evidence is thin. Repository and package author details are present, but publisher identity is unverified and maintenance responsibility is unclear.
The skills provide ordered procedures, pagination guidance, and handling for several errors; import and conversion workflows say to stop or report when results are unsafe or ambiguous. The README states large-scale processing support and gives runtime requirements, but the packet does not provide enough static evidence to substantiate performance or availability claims. The supplied skill workflows are broadly consistent; the conversion skill excerpt is truncated, so its full contents cannot be assessed.
The skills distinguish analysis of imported records, supported-format imports, and conversion of unsupported exports, and cover practical scenarios including language, time ranges, and evidence references. They set boundaries around read-only querying, user-requested imports, and not guessing consequential mappings. Descriptions are specific, though choosing among skills still depends on the caller. CLI and Node requirements are documented; platform-specific fit is only partly shown in this packet.
The README organizes product, installation, usage, architecture, and license information. Skills use names, descriptions, steps, and guardrails, with stable CLI terminology. Installation examples are concrete and some errors and conversion limits are covered. AGPL-3.0 appears in metadata, the README, and the license text. A package version is present, but the packet does not show changelog contents or a clear maintenance commitment; links to documentation cannot establish details not included here.
The analysis skill starts with dedicated commands, adds context or statistics only when needed, and asks for message-ID citations and separation of observation from interpretation. Import and conversion workflows produce reviewable previews or validation outcomes. The product claims practical value from local analysis of multi-platform chats using SQL and AI tools, but costs, model charges, and benefits at different scales are not quantified, so those scores remain conservative.
README claims receive limited corroboration from package metadata, skill commands, and some test source. Skills ask the agent to state query scope, cite message IDs, disclose incomplete pagination, and separate observed facts from interpretation, supporting a strong fact-versus-inference score. Several performance, privacy-default, and product-effect claims remain asserted mainly by the README or skills and cannot be independently established from the supplied static material.
- Chat histories are highly sensitive. Confirm that the data location and AI provider configuration meet your privacy needs; the packet describes local-first and redaction practices but does not establish every runtime data flow.
- Imports write data. Review the target session and change summary after the required preview, and do not assume every environment has a recoverable backup merely because the import was explicitly requested.
- Publisher identity is not verified by the curated enterprise registry. This review treats it as unknown, not suspicious, and does not infer safety or maintenance quality from it.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.37.9 ChatLab v0.37.9
Release notes excerpt
What's New Fix WhatsApp imports and sender attribution, and improve the security of AI content rendering and CLI Web access. 更新内容 修复 WhatsApp 导入与消息归属问题,加强 AI 内容展示和 CLI Web 访问安全。 --- Full Changelog: [English](https://github.com/ChatLab/ChatLab/blob/main/changelogs/en.md) | [中文](https://github.com/ChatLab/ChatLab/blob/main/changelogs/cn.md) | [日本語](https://github.com/ChatLab/ChatLab/blob/main/changelogs/ja.md) --- Download | Platform | File | |-----------------|-------------| …View on GitHub ↗ -
v0.37.8 ChatLab v0.37.8
Release notes excerpt
What's New Fix WhatsApp date parsing and improve sync progress protection and error reporting when remote data pulls fail. 更新内容 修复 WhatsApp 日期解析问题,完善远程数据源拉取失败后的进度保护与错误提示。 --- Full Changelog: [English](https://github.com/ChatLab/ChatLab/blob/main/changelogs/en.md) | [中文](https://github.com/ChatLab/ChatLab/blob/main/changelogs/cn.md) | [日本語](https://github.com/ChatLab/ChatLab/blob/main/changelogs/ja.md) --- Download | Platform | File | |-----------------|-------------| …View on GitHub ↗ -
v0.37.6 ChatLab v0.37.6
Release notes excerpt
What's New Improve guidance for unrecognized import formats, allow Memory as the default session page, and fix MCP array parameter types. 更新内容 完善导入格式失败引导,支持将记忆设为会话默认页面,并修复 MCP 数组参数类型问题。 --- Full Changelog: [English](https://github.com/ChatLab/ChatLab/blob/main/changelogs/en.md) | [中文](https://github.com/ChatLab/ChatLab/blob/main/changelogs/cn.md) | [日本語](https://github.com/ChatLab/ChatLab/blob/main/changelogs/ja.md) --- Download | Platform | File | |-----------------|-------------| …View on GitHub ↗
FAQ
Is ChatLab free to use?
Is my chat data secure?
Which chat platforms are supported?
Can ChatLab run on Linux?
How does it handle very large chat histories?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.