{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "tencentcloud-octop-gateway--one-agent-across-feishu-dingtalk-qq",
 "repo": "TencentCloud/octop-gateway",
 "repo_url": "https://github.com/TencentCloud/octop-gateway",
 "repo_slug": "tencentcloud-octop-gateway",
 "title": "Serve one agent on Feishu, DingTalk, and QQ at once",
 "page_title": "How to serve one agent on Feishu, DingTalk, and QQ at once with Octop Gateway",
 "summary": "Attach three IM platforms to one processor so the agent logic is written once.",
 "who": "A team lead whose users are split across Feishu, DingTalk, and QQ and who wants one bot behavior everywhere.",
 "problem": "Writing separate handlers for each IM platform duplicates agent logic and multiplies maintenance work.",
 "outcome": "One async processor that answers messages from three platforms, with the source shown in the reply.",
 "steps": [
  "Run `pip install \"octop-gateway[examples]\"` to install the library with the example extras.",
  "Copy `.env.example` to `.env` and fill in FEISHU_APP_ID, FEISHU_APP_SECRET, QQ_APP_ID, QQ_TOKEN, QQ_SECRET, DINGTALK_APP_KEY, and DINGTALK_APP_SECRET.",
  "Write one async processor that yields MessageEvent.text and MessageEvent.completed, using msg.channel_type in the reply.",
  "Create a ChannelManager with that processor, then call add_feishu_channel, add_qq_channel, and add_dingtalk_channel with their config objects.",
  "Send a test message from each platform and confirm the reply includes the channel type."
 ],
 "agent_prompt": "In the TencentCloud/octop-gateway repo, build a ChannelManager that attaches Feishu, QQ, and DingTalk channels to one processor using credentials from my .env file. Expected output: a running process that replies to a test message from each platform with the channel type in brackets. Verify that all three channels start without errors in the logs.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Each platform needs its own app or bot set up in its developer console, which the README does not walk through.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12+",
  "Credentials for each platform you connect, such as a Telegram bot token, Feishu app ID and secret, or a Discord bot token",
  "Access to the developer portal of each platform you use",
  "A processor function that reads InboundMessage and yields MessageEvent objects"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Feishu, QQ, and DingTalk app secrets and tokens grant access to live accounts and must stay in .env, not in code."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tencentcloud-octop-gateway/one-agent-across-feishu-dingtalk-qq/",
 "md": "https://dedupedai.com/use-cases/tencentcloud-octop-gateway/one-agent-across-feishu-dingtalk-qq/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/tencentcloud-octop-gateway--one-agent-across-feishu-dingtalk-qq.json",
 "api_version": "v1"
}
