← Back to blog

Set Up WeChat

Connect a WeChat bot to your CrabTalk agent — real-time messaging through WeChat.

tutorial·CrabTalk Team·

Connect a WeChat bot to CrabTalk so your agent can respond to messages in WeChat. Works the same way as the Telegram gateway — a standalone binary that connects to the daemon as a client.

1. Install

crabtalk hub install crabtalk/wechat

This installs the crabtalk-wechat command.

2. Start the gateway

crabtalk wechat start

On first run, it prompts for your WeChat bot credentials. After that, it installs a system service and starts automatically.

3. Verify

Send a message to your WeChat bot. You should get a response from your default agent within a few seconds.

Managing the service

crabtalk wechat start     # install and start
crabtalk wechat stop      # stop the service
crabtalk ls               # list all running services

What's next

  • Commands — how cargo-style dispatch works
  • Auth — manage tokens and providers
  • Agents — configure which agent responds to messages