packages/docs/connectors/wechat.md
Connect your agent to WeChat for personal and group messaging via a third-party proxy service using the @elizaos/plugin-wechat package.
<Warning> This connector is **not included** in the bundled plugin registry (`plugins.json`). It is a Eliza-specific plugin that must be installed separately. Run `bun run setup:upstreams` to make it available from the local checkout. </Warning> <Warning> The `@elizaos/plugin-wechat` package is not included in the bundled plugin registry (`plugins.json`). It may be available as an upstream elizaOS plugin. Install it manually from npm if available. </Warning>Status: The
@elizaos/plugin-wechatpackage is not currently available in the plugin registry. This page documents the planned connector interface. Check the plugin registry for availability updates.
Availability:
@elizaos/plugin-wechatis a Eliza-local plugin that is not included in the bundledplugins.jsonregistry. It ships as a CI stub and requires the full plugin package to be available locally or via npm.
The WeChat connector is a plugin that bridges your agent to WeChat via a user-supplied proxy service. Unlike most connectors which use official platform APIs, the WeChat connector relies on a third-party proxy that bridges WeChat's protocol. Your agent authenticates by scanning a QR code displayed in the terminal on first startup.
Privacy notice: The WeChat connector sends your API key and message payloads through the configured proxy service. Only point
proxyUrlat infrastructure you operate yourself or explicitly trust for that message flow.
| Name | Required | Description |
|---|---|---|
WECHAT_API_KEY | Yes | Proxy service API key |
Additional configuration is done via the connectors.wechat config in ~/.eliza/eliza.json:
| Config Field | Type | Default | Description |
|---|---|---|---|
apiKey | string | -- | Proxy service API key (required) |
proxyUrl | string | -- | Proxy service URL (required) |
webhookPort | number | 18790 | Webhook listener port |
deviceType | "ipad" / "mac" | "ipad" | Device emulation type |
enabled | boolean | -- | Explicitly enable/disable |
features.images | boolean | false | Enable image send/receive |
features.groups | boolean | false | Enable group chat support |
The connector auto-enables when apiKey is truthy at the top level, or an accounts entry has a truthy apiKey.
Configure in ~/.eliza/eliza.json:
{
"connectors": {
"wechat": {
"apiKey": "YOUR_API_KEY",
"proxyUrl": "https://your-proxy-service.example.com"
}
}
}
To explicitly disable the connector even when an API key is present:
{
"connectors": {
"wechat": {
"apiKey": "YOUR_API_KEY",
"proxyUrl": "https://your-proxy-service.example.com",
"enabled": false
}
}
}
connectors.wechat in your config.Run multiple WeChat accounts using the accounts map:
{
"connectors": {
"wechat": {
"accounts": {
"personal": {
"apiKey": "KEY_1",
"proxyUrl": "https://proxy.example.com",
"deviceType": "ipad"
},
"work": {
"apiKey": "KEY_2",
"proxyUrl": "https://proxy.example.com",
"deviceType": "mac",
"enabled": false
}
},
"features": {
"groups": true
}
}
}
}
Each account has its own API key, proxy URL, and session. Per-account fields override top-level settings.
features.groups: true)features.images: true)accounts map