@mnmn94253156337: Enterprise WeChat automation - a practical open-source library: wecom-cli It's not a Chatbot; it wraps daily office actions in WeChat Work into Skills for AI Agents. Currently supports: 1. Contacts lookup & send messages 2. Schedule query & create meetings 3. …
Summary
wecom-cli is an open-source command-line tool that wraps the office features of WeChat Work into Skills callable by AI Agents. It supports contacts, schedule, meetings, to-dos, documents, etc., aiming to turn WeChat Work into an AI-operable backend system.
View Cached Full Text
Cached at: 06/10/26, 01:54 PM
WeCom Automation, a Practical Open Source Library: wecom-cli
It’s not a chatbot; it encapsulates WeCom’s everyday office actions into Skills (tools) for AI Agents.
Currently supported:
- Contact query & sending messages
- Schedule query & creating meetings
- Task management
- Read and write documents and smart tables
- This effectively transforms WeCom from a chat app into a backend system that AI can directly operate.
If you have related development needs, check it out:
https://github.com/WecomTeam/wecom-cli…
WecomTeam/wecom-cli
Source: https://github.com/WecomTeam/wecom-cli
wecom-cli
License: MIT (https://opensource.org/licenses/MIT)
Rust (https://www.rust-lang.org/)
💬 Scan the QR code to join the WeCom communication group:
WeCom command-line tool — lets both humans and AI Agents operate WeCom from the terminal.
Feature Scope
Covers core WeCom business categories:
| Category | Capabilities |
|---|---|
| 📄 Documents | Create, read, edit documents; create and read smart documents |
| 📊 Smart Tables | Create smart tables, manage sub-tables and fields, add/delete/update/query records |
| 💬 Messages | Query conversation list, fetch message history (text/image/file/voice/video), download multimedia, send text, etc. |
| 👤 Contacts | Get visible member list, search by name/alias, etc. |
| ✅ Tasks | Create/read/update/delete tasks, change user processing status, etc. |
| 🎥 Meetings | Create scheduled meetings, cancel meetings, update invited members, query lists and details, etc. |
| 📅 Schedules | Add/delete/update/query schedules, manage participants, check multi‑member busy/free status, etc. |
Enterprise scenario: For organizations with 10+ employees, WeCom provides document CLI capabilities for API‑mode intelligent robots. Robots can create and read documents, smart tables, and smart documents to boost office efficiency.
Individual/small team scenario: For individuals or small teams of 10 or fewer, WeCom offers CLI capabilities for API‑mode intelligent robots including messages, documents, schedules, meetings, tasks, etc., to meet productivity‑enhancement needs.
Quick Start
Prerequisites
- Supported platforms: macOS (x64/arm64), Linux (x64/arm64), Windows (x64)
- Node.js
>= 18 - WeCom account
- (Optional) Intelligent robot Bot ID and Secret. See the guide for how to obtain them.
Installation & Usage
# Install CLI
npm install -g @wecom/cli
# Install CLI Skill (required)
npx skills add WeComTeam/wecom-cli -y -g
# Configure credentials (interactive, only once)
wecom-cli init
# Get the list of members within visible contact scope
wecom-cli contact get_userlist '{}'
📖 For more usage, see the CLI command reference.
Agent Skills 🤖
For usage instructions of supported Skills, see the Skills documentation.
License
This project is open-sourced under the MIT License.
Similar Articles
@jinchenma_ai: Whoa! Just discovered a tool that can read WeChat chat records – a must-have for private traffic operations! wx-cli enables AI to freely read WeChat messages. 1. Browse messages at will: No need to use WeChat’s clunky search bar; simply enter keywords to search through your entire chat history with lightning-fast speed. 2. Moments excavator: You can directly view friends’...
wx-cli is a local tool for extracting and analyzing WeChat chat history and moments, enabling AI integration without transmitting data to the cloud.
@iluciddreaming: AI Agent can now read your WeChat. Two tools, 10 minutes to install: 1. Agent Reach: search official accounts and bypass anti-scraping to read full articles 2. wx-cli: read all WeChat messages locally, no internet required, no account ban. What can you do after installation? Auto-summarize group messages, collect official account materials, AI helps you keep producing content…
Introducing two tools (Agent Reach and wx-cli) that allow AI Agent to read WeChat messages and official account content, enabling automatic group message summarization, material collection, and more. Installation takes only 10 minutes.
@aehyok: WeChat Agent is here, it's finally here. Coincidentally, the arrival of WeChat Agent perfectly complements the Skill of the dumpling restaurant I talked about yesterday. WeChat Agent + real economy is gradually opening the prologue of WeChat's AI landscape. Auto mode: WeChat Agent can directly operate your mini-program…
WeChat Agent has been officially released, capable of directly operating mini-program pages and combining with merchant-customized Skills and MCP services, marking the extension of WeChat's AI landscape into the real economy.
@jakevin7: OpenCLI now supports the official weread (WeRead) CLI. WeRead officially launched an API + official skills for agents https://weread.qq.com/r/weread-skills. WeChat is also beginning to take tentative small steps towards AI integration.
WeRead officially launched an API and AI agent-oriented skills. @jakevin7 used OpenCLI to transform the skill into a CLI tool, and the PR has been merged.
@jakevin7: OpenCLI can now read WeChat, Telegram, and Discord content!!! wx-cli, tg-cli, and discord-cli are all integrated. Group messages, chat logs, Moments, and favorites can all be directly accessed via CLI. Previously, Agen…
OpenCLI has been updated to support reading content from WeChat, Telegram, and Discord via wx-cli, tg-cli, and discord-cli. This tool allows AI agents and developers to automate browser operations through a command-line interface and aggregate personal message feeds.