WeLink

Turn your decrypted WeChat history into a local, askable analytics platform with AI personas, portraits and exportable skills.

Source repo
runzhliu/welink
Stars
★ 329
Last updated
9d ago
FARS reviewed
Nov 26, 2026
License
AGPL-3.0
Primary language
TypeScript

At a glance

How it runs
Self-hosted serviceDesktop appMCP server
Works with
Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Docker Compose (Docker mode) or macOS 12+ / Windows 10 1903+ AppA decrypted WeChat database directory (decrypted/ with contact/contact.db and message/message_N.db)LLM provider API key (e.g. DeepSeek, OpenAI, Claude, Gemini) or local OllamaShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A person asking 'how did this relationship peak and what changed afterwards', using per-contact AI analysis, relationship reports and sentiment curves.
Not a fit if
  • Users who expect a turnkey tool and won't handle WeChat database decryption themselves
  • Privacy-sensitive users who can't allow chat snippets to reach a cloud LLM provider
  • Linux desktop users who don't want to run Docker
Website
welink.click ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-16
Source review
71/100 · Some gaps

What does this agent do, and when should you use it?

WeLink is a local-first analytics platform for WeChat chat history. Its backend is a single Go + Gin binary; the frontend is React 18 + TypeScript + Tailwind; SQLite (modernc, pure Go, no CGO) holds both the decrypted WeChat databases and a separate ai_analysis.db. Before anything works you must sync your phone history to a computer and decrypt it into a decrypted/ directory containing contact/contact.db and message/message_N.db. WeLink ships as a Docker Compose stack (frontend on port 3418) or as macOS / Windows desktop apps, and bundles adapters for 25+ LLM providers, an FTS5 + pure-Go vector hybrid RAG pipeline, memory distillation, AI image generation, an export hub and a SQL workbench. Beyond the web UI it provides a standalone mcp-server binary so MCP clients such as Claude Code can query your chats in natural language, plus a Skill workflow that distils conversations into files for Claude Code, Codex, Cursor and friends. Data stays on your machine unless you explicitly trigger a cloud AI call or a remote training run.

WeLink reads the decrypted WeChat SQLite databases, builds an FTS5 full-text index and a pure-Go cosine-similarity vector index, then runs a statistics service that produces message rankings, sentiment trends, word clouds, 24-hour activity distributions, calendar heatmaps, reply-latency breakdowns, red-packet/transfer totals and group small-community detection (Louvain with a modularity-Q fallback). The AI layer offers three retrieval modes — full-context analysis, hybrid FTS5 + vector retrieval, and a single-day 'time machine' aggregation — and streams conversations through any of 25+ providers (DeepSeek, Doubao, Kimi, OpenAI, Claude, Gemini, Vertex AI, AWS Bedrock, Ollama, OpenRouter and more). The AI Clone feature extracts a contact's own text messages from private chats and shared groups (filtered by sender_id) to learn their phrasing, caches it as a session for multi-turn chat, and is complemented by a cross-contact Q&A loop that parses intent, calls search/calendar APIs, then answers from retrieved snippets. Rounding it out are an SFT workbench (JSONL export, Mac MLX or NVIDIA LLaMA-Factory worker training, blind A/B evaluation), Skill distillation into seven output formats (claude-skill, claude-agent, codex, opencode, cursor, generic, lora-jsonl), relationship trend prediction, 21 'labs' mini-tools, the MCP server, an export hub targeting Markdown / Notion / Feishu / WebDAV / S3 / Dropbox / Google Drive / OneDrive, and a natural-language-to-SQL database console.

  1. A person asking 'how did this relationship peak and what changed afterwards', using per-contact AI analysis, relationship reports and sentiment curves.
  2. A group owner who wants to know who actually drives a chat, using group portraits, Louvain small-community detection and the group influence index.
  3. A developer who wants their own or a contact's writing style packaged as a Claude Code / Codex / Cursor skill, distilled with one Sparkles click into a downloadable zip.
  4. An MCP user asking Claude Code 'what were the action items in yesterday's group chat', via the standalone mcp-server or the WeLink DSH plugin.
  5. A tinkerer who wants a personal-style model and walks the SFT workbench to curate samples and attach a Mac MLX or NVIDIA GPU worker.
  6. Someone archiving annual recaps or chat logs to Notion, Feishu or S3 through the eight export targets.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • docker compose up
Ports
3418
Config files
docker-compose.demo.yml docker-compose.yml preferences.json
Install notes cover
Windows · macOS · Docker

How do you install or deploy this agent?

First sync and decrypt your WeChat databases: WeChat → Settings → General → Chat History Migration, copy the history to a computer, then decrypt with a tool compatible with your OS and WeChat version to produce a decrypted/ directory containing contact/contact.db and message/message_N.db. The README states the original ylytdeng/wechat-decrypt repository is no longer available and points to the community project WeinanHu/wechat-decrypt as a reference, noting its output compatibility with WeLink has not been verified.

Docker mode — place decrypted/ inside the repository root, then:

cd welink
docker compose up

Open http://localhost:3418. To try the synthetic demo data instead:

docker compose -f docker-compose.demo.yml up

Desktop apps — download from GitHub Releases. macOS requires 12 (Monterey) or newer; Windows requires 10 1903 or newer and may need the WebView2 Evergreen Bootstrapper. If macOS refuses to open the app:

xattr -cr /Applications/WeLink.app

How do you use this agent?

After launching, open Settings and fill in the provider, Base URL, API key and model name — for example DeepSeek defaults to deepseek-v4-pro, Claude to claude-opus-5-5, Gemini to gemini-3.8-flash; a local Ollama endpoint keeps everything offline. For the first index run, start with 'last 6 months'. Use ⌘K / Ctrl+K to search contacts and AI conversations, ⌘1..⌘9 to switch main tabs, and the AI home page for contact analysis, cross-contact Q&A or the 'reply in my voice' assistant.

To change the Docker port, edit docker-compose.yml:

ports:
  - "5000:80"

In App mode, edit the port in Settings or in preferences.json:

{ "port": "9090" }

For MCP clients such as Claude Code, run the standalone mcp-server binary; configuration is documented in mcp-server/README.md. DeepSeek Harness users can install the WeLink DSH plugin described in plugins/dsh-welink/README.md — it authorises no sessions and exposes no raw chat text by default. Swagger API docs are served at http://localhost:3418/swagger/ once the app is running.

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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • Local-first by design: databases are decrypted, indexed and queried on your machine; snippets leave only when you explicitly fire an AI request.
  • Broad deployment coverage from a single Go binary with embedded frontend — Docker Compose, macOS App and Windows App — with a Docker image under 50MB and zero CGO.
  • Very wide model choice: native adapters for 25+ providers including Vertex AI, AWS Bedrock, Ollama and any OpenAI-compatible endpoint, with separate model selection for chat vs. memory distillation.
  • Analysis depth far beyond dashboards: AI Clone, cross-contact Q&A, relationship trend prediction, Louvain group detection and 21 lab mini-tools span statistics to narrative.
  • Reusable by other AI tools: a standalone mcp-server, a DSH plugin, and seven Skill output formats wire your chat data into Claude Code, Codex and Cursor.
  • Concrete privacy controls: pre-send disclosure of data range and row counts, automatic masking of phone/email/ID/card/wxid before distillation, lock-screen PIN and contact blocking.
Limitations
  • The hardest step lives outside WeLink: you must find a decryption tool matching your OS and WeChat version, and the README says the original repo is gone while the replacement's output compatibility is unverified.
  • Cloud models still cost money per call: the software is free but you supply DeepSeek/Claude/Gemini keys, and AI image generation runs roughly ¥0.05–0.2 per image.
  • Desktop apps cover only macOS 12+ and Windows 10 1903+; Linux users are limited to Docker or building from source.
  • Heavy histories need real hardware: 2M+ messages are recommended 8GB+ RAM and 3–10 minutes for the first index.
  • The SFT workbench assumes Apple Silicon or a Linux/NVIDIA GPU worker plus extra setup, and the README itself notes SFT learns phrasing, not memorised facts.
  • Rapidly evolving (v0.4.0) with migration friction: legacy lora-jsonl jobs and the new SFT workbench are stored separately and do not auto-migrate.

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
WeLink This agent 71 · Some gaps Self-hosted serviceFree + model costs ★ 329 9d ago TypeScript Codex · Claude Code · OpenAI API · Claude API
Nocturne Memory: Long-Term Memory Server for MCP Agents 63 · Some gaps MCP serverFree ★ 1.4k 22d ago Python —
WhoDB 54 · Major gaps Self-hosted serviceFreemium ★ 5.1k today Go —
Tabularis: Open-Source Desktop SQL Workspace 73 · Some gaps Desktop appFree + model costs ★ 5.5k 1d ago TypeScript ChatGPT · Codex · Claude Code · Claude.ai

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
71/ 100 5-point scale 3.6 / 5
Trust 18/29
Reliability 8/14
Adaptability 16/18
Convention 15/18
Effectiveness 10/13
Verifiability 4/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

least_privilege: backend binds 127.0.0.1 by default, LAN requires explicit WELINK_LISTEN_LAN=1, worker root is created 0700 and artifact downloads are SHA-256 verified — reasonable least privilege; but FAQ/SECURITY openly state there is no built-in auth, so enabling LAN exposes chat data and API-key management to the whole network, hence the deduction. user_confirmation: AI analysis shows data scope, message count and target model before sending, dual-model comparison requires confirmation, exports/shares are explicit actions; however scheduled tasks, memory extraction and Skill distillation call LLMs automatically per configuration without per-run confirmation, so 2. data_flow_transparency: README and FAQ describe per-feature what is sent (sampled snippets, ≤10k tokens, ≤50k chars, redacted fields), the cloud/remote-trainer/export destinations, and the fully offline Ollama option — the strongest area, 3. sensitive_data_handling: phone/email/ID/card/wxid redaction, __HAS_KEY__ placeholders and [REDACTED] logging, bcrypt PIN, lock screen and screen-record mode; but docs admit redaction covers only some common fields, the lock is visual only and the local DB is unencrypted, so 2. dependency_security: only commitlint/DCO workflows and a docker-publish badge are visible; no lockfiles, SCA/audit or vulnerability-handling record, while SECURITY.md lists supply chain as an attack surface without mitigation — thin evidence, 1. external_effects: exports to Notion/Feishu/S3/Dropbox/GDrive/OneDrive, OAuth grants and MCP/DSH queries are real external side effects; documented with OAuth callback registration requirements, but no uniform confirmation or impact preview, 2. rollback: VACUUM INTO AI-data snapshots, SFT rollback to default model, per-chapter rollback in the visual novel, 30-day soft-delete GC for images, and downloads refuse to overwrite existing files; no undo for exports/external writes, 2. source_attribution: README cites the third-party decrypt tool, notes the original repo is unavailable and the replacement's compatibility is unverified — honest; but SECURITY.md still contains the placeholder '[fill maintainer email]' and publisher identity is unverified, so 1.

Reliability8 / 14 · 2.9/5

self_consistency: README features broadly match docs/install, faq and frontend types (ForecastEntry, TaskRun, ReplyRhythm, etc.), and port/data-dir/env-var descriptions agree; but README default model names (deepseek-v4-pro, gpt-6-astra, claude-opus-5-5) are plainly unverifiable, weakening consistency, 2. dependency_availability: install docs state Go 1.22+/Node 22.12+/TDM-GCC and WebView2 requirements, but no go.mod/package-lock evidence is in the packet, and Docker/DSH test images depend on external ghcr artifacts, so availability cannot be statically confirmed, 1. failure_messages: the worker CLI gives explicit Chinese errors with exit 1 for existing pairing, malformed artifact ID/SHA, existing output file and unpaired directory; FAQ provides a diagnostics panel, log paths and troubleshooting; but there is no systematic backend error-code or frontend error-surfacing description, 2.

Adaptability16 / 18 · 4.4/5

audience_and_scenarios: clearly layered for ordinary WeChat users (one-click macOS/Windows install, demo data) and advanced users (Docker, MCP, DSH plugin, SQL workbench, SFT training), covering analysis, cloning, export and labs, 3. capability_boundaries: explicitly states AI clones do not represent the real person, SFT does not guarantee factual recall, cross-contact Q&A 'not found does not mean absent', the lock screen is not encryption, and the demo forbids uploading training data — boundaries are well stated, 3. trigger_precision: scheduled tasks define type/scope/period, and MCP/DSH default to no authorized conversations with explicit allowlists (WELINK_ALLOWED_CONVERSATIONS); but natural-language SQL and cross-contact Q&A rely on prompt-level constraints for trigger and recall boundaries, 2. environment_fit: macOS 12+/Windows 10 1903+/Docker paths, automatic fallback across 20 ports, universal binary, WebView2-missing guidance, CJK/space path support — environment fit is well documented, 3.

Convention15 / 18 · 4.2/5

information_architecture: README is organized by feature domain and docs/ splits install/install-macos/install-windows/faq/sft/api/labs/ux with complete cross-links, 3. install_notes: three deployment paths each have dedicated docs covering system requirements, Gatekeeper/SmartScreen bypass, data locations, port customization, upgrade and source builds, 3. naming_stability: version numbers v0.2.x/v0.3.x/v0.4.0 map to feature increments, but README default model names and some feature naming (Lab counts, tab names) drift across versions and no stable API versioning policy is stated, 2. examples_and_faq: README has many example questions and screenshot GIFs; faq.md covers privacy, install, features and troubleshooting, 3. known_limitations: explicitly lists no notarization/code signing, no built-in auth, lock screen not encryption, incomplete redaction, SFT not guaranteeing facts, unverified replacement decrypt tool, and demo restrictions, 3. license: full AGPL-3.0 LICENSE text is present and matches the README badge, 3. versioning_changelog: README describes increments per version and SECURITY.md supports only the latest release tag, but there is no standalone CHANGELOG or semver commitment, 2. maintenance_responsibility: SECURITY.md promises 48h/7d/30d response and a private disclosure channel, but the contact email is a placeholder, the publisher is unverified and there is no maintainer list or governance statement, so the responsible party is unclear, 1.

Effectiveness10 / 13 · 3.8/5

output_usability: outputs are rich and directly usable — shareable long images, CSV/TXT export, Markdown inbox, Skill zips, LoRA JSONL, MCP tool results, editable drafts, 3. marginal_value: provides an integrated statistics+LLM+export+training stack for the niche of WeChat chat analysis, which is genuine added value; but many Labs are entertainment cards and comparable WeChat-analysis tools exist, so marginal value is moderate, 2. cost_benefit: token costs are stated (cross-contact Q&A ~4000 tokens, distillation 5-15k, 1.5-3k per chapter, 0.05-0.2 CNY per image) and zero-LLM statistical paths plus local Ollama exist; but the feature surface is very broad and deployment/decryption is high-friction, so the trade-off is left to the user, 2.

Verifiability4 / 8 · 2.5/5

claim_traceability: most README features trace to specific docs sections and source files (types, cli.py, workflows) and a test-record doc is linked; but key parameters such as default model names cannot be verified, 2. cross_source_corroboration: README, faq and install docs corroborate each other well, but the code sample covers only the worker CLI, frontend types and one DSH probe test, so most functional claims lack cross-source support, 1. fact_inference_separation: docs repeatedly separate fact from inference — 'simulated results do not represent the real person', 'numbers are for cross-checking, inferences may be wrong', 'not found does not mean absent', 'compatibility not yet verified'; but some marketing-style claims (e.g. forecast accuracy) lack quantitative backing, 2.

Risks and how to mitigate them
  • The backend has no built-in auth; once WELINK_LISTEN_LAN=1 is set or the Docker port mapping is opened, anyone on the same network can reach chat data and the API-key management surface — pair it with a reverse proxy, HTTPS/Basic Auth and network restrictions.
  • Decrypted WeChat databases and preferences.json are plaintext and the lock-screen PIN is only a visual overlay; rely on FileVault/BitLocker full-disk encryption and protect the decrypted/ directory.
  • Automatic redaction covers only common fields (phone/email/ID/card/wxid); manually review content before sending to cloud LLMs, remote trainers or third-party export targets.
  • Default model names in the README (e.g. deepseek-v4-pro, gpt-6-astra, claude-opus-5-5) cannot be verified; check each vendor's current API for actually available models.
  • SECURITY.md still contains the placeholder '[fill maintainer email]' and the publisher is unverified, so the responsible party and response commitments for security incidents should be treated with caution.
  • The third-party WeChat decrypt tool (WeinanHu/wechat-decrypt) has unverified compatibility and safety; review its source and permissions before use.
  • Scheduled tasks, memory extraction and Skill distillation call LLMs automatically per configuration and may send chat snippets without per-run confirmation.
Evidence confidence: Low Reviewed Nov 26, 2026 Reviewed revision 477f83aaaa62
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/welink.svg)](https://followagents.com/en/agents/welink)
<a href="https://followagents.com/en/agents/welink"><img src="https://followagents.com/badge/welink.svg" alt="FARS review"></a>

FAQ

Does WeLink decrypt my WeChat database itself?
No. The README states WeLink does not provide automatic decryption; you must first produce a decrypted/ directory with an external tool compatible with your system and WeChat version, and WeLink only reads it.
Where does my chat data go?
Statistics and indexing run on the device hosting WeLink. Cloud AI, remote training machines or cloud exports send the relevant snippets or samples to the service you choose; a local Ollama model keeps everything on the machine. Before an AI send, the UI shows the data range and actual row count, and automatic masking only covers common sensitive fields, so manual review is still expected.
What extra pieces do Claude Code or Codex need?
MCP access requires the standalone mcp-server binary, which reverse-proxies the local backend HTTP API. Skill distillation needs nothing extra — it writes files such as ~/.claude/skills/<name>/SKILL.md, AGENTS.md or .cursor/rules/<name>.mdc. The DSH plugin additionally requires a WeLink backend that exposes the agent query endpoints.
What does it actually cost to run?
The code is AGPL-3.0 with no licence fee. Real cost comes from whichever model service you pick: AI analysis, cross-contact Q&A, Skill distillation (~5–15k tokens per run) and SFT training are billed by the provider, while local Ollama or your own fine-tuned adapter brings marginal cost close to zero.
Can AI Clone or the visual-novel output be mistaken for the real person?
The README attaches explicit notes to both: outputs are AI-generated, do not represent the real person's thoughts, and should not be used to impersonate or mislead others; visual-novel saves are processed locally and the author disclaims responsibility for use.
Is WeLink open source?
Yes. The source code is on GitHub (runzhliu/welink) under the AGPL-3.0 licence. AGPL-3.0 is a copyleft licence that also covers network use: if you run a modified version as a service, you must offer its source to users.
Is WeLink safe to use?
FollowAgents' FARS review (Nov 26, 2026) scored WeLink 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is WeLink still maintained?
Yes. The latest commit on GitHub is from 2026-11-16, within the last 30 days.
Who makes WeLink?
WeLink is published on GitHub by the account runzhliu. FollowAgents has not verified which person or company is behind that account.
What is WeLink's official website?
The project's GitHub repository lists https://welink.click as its website. That link is set by the repository owner; the source code itself is on GitHub (runzhliu/welink).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts