Cohub
中文Start a Space

Run an AI agent in Discord or WeChat, backed by a Space

To run an AI agent in Discord, WeChat, Feishu or QQ, add the messenger as a Channel in Cohub's settings and bind it to a Space; messages go to the Space's agent and replies come back in the same chat.

Who
A team or community whose conversations already happen in Discord, WeChat, Feishu or QQ, and who won't move to another app to talk to an agent.
When
Someone in the chat asks for a summary, a file or a quick build, and opening a separate AI tool feels like a detour.
Why
A Cohub Channel binds the messenger to a Space, so the agent that answers there has the Space's files, skills and sandbox behind it.
Cohub home page: the same Space from the web, a phone, Discord, WeChat and the terminal
Source: cohub.live

What a Channel is

A Channel connects an external messenger to a Space. People talk from the messenger; the agent answers through the bound Space. Cohub's channel setup offers four platforms: Discord, Feishu / Lark, WeChat and QQ. Conversations from a Channel show up as Chats in the Space, labelled by source, so the team can read and continue them on the web.

Cohub settings, New Channel: the platform picker offers Discord, Feishu / Lark, WeChat and QQ Bot

Set one up

  1. In Cohub's settings, open Channels and choose Add Channel.
  2. Pick the platform and give it what it asks for:
    • Discord: a bot token from the Discord Developer Portal;
    • Feishu / Lark: the App ID and App Secret of an app on the Feishu Open Platform;
    • WeChat: scan a QR code with WeChat and confirm, plus a verification code if WeChat shows one;
    • QQ Bot: the App ID and Client Secret of a bot on the QQ Open Platform. Turn on message events for one-to-one (C2C) and group chats first, and use a bot that has gateway access.
  3. Open the Space's settings, go to Channels, pick the channel under Channel to bind and choose Bind. This needs permission to manage the Space's channels.
  4. For Discord servers and Feishu groups, decide whether the agent answers every message or only when someone @mentions it. The mention switch for each is on by default.
  5. Send a test message and check the new Chat in the Space.
Cohub QQ Bot binding form: create a QQ bot, copy its App ID and Client Secret, enable C2C and group message events, then save the channel

What the agent can do from a chat app

The agent behind a Channel is the Space's agent. It can:

  • read and write the Space's files, so "add this to the FAQ doc" edits the real file;
  • take images and files people send. Inbound media from Discord, WeChat, Feishu and QQ is saved as Cohub assets;
  • send files and images back. Feishu, WeChat and QQ get native attachments;
  • use the Space's skills and sandbox, then reply with a link to a published App.

Mix with schedules

A scheduled prompt can run in the same Space every morning and write a summary to a file; anyone in the bound chat can then ask the agent about it.

Self-hosted deployments

In a self-hosted Cohub, Channels run through the Gateway service, which holds the connections to Discord, Feishu, WeChat and QQ. See self-hosted AI workspace.

Limits

  • Current limitation: no Telegram channel. Cohub's concept docs name Telegram as a Channel example, but the channel setup and the gateway support Discord, Feishu / Lark, WeChat and QQ only (checked 2026-11-17).
  • WeChat is for direct chats. Its setup screen says it supports direct text conversations, and the gateway keys each WeChat conversation to the person who sent the message.
  • QQ groups need an @mention. In QQ groups the bot answers when someone @mentions it, and the Space settings have no switch to change that.
  • The setup steps come from Cohub's channel screens and gateway code; no live bot was connected for this page.

Reference in the docs

This page: Whether to bring a Space's agent into a Discord, WeChat, Feishu or QQ chat, and how to keep it from answering every message.

FAQ

Does every message in a busy Discord server trigger the agent?

Not while the mention switch for Discord server channels is on, which is the default; the agent then responds only when someone @mentions it.

Can I connect Telegram?

Not yet. The channel setup offers Discord, Feishu / Lark, WeChat and QQ, and the gateway has no Telegram connection.

Can people who only use WeChat see what the agent changed?

They see the agent's replies and any files it sends. The full Chat, files and Saves are in the Space on the web for members.

Sources

Published · Updated