Skip to main content
AdOpenFree logoPromote your productReach more potential users and drive product growth and revenue.Advertise
Favicon of Octop Gateway

Octop Gateway

Free Listing

Octop Gateway is a multi-platform IM channel bridge with unified message abstraction for AI agents and bots. It normalizes inbound messages from Feishu, DingTalk, QQ, WeCom, Telegram, Discord, and more into one processor, so agent logic is

Visit TencentCloud/octop-gateway

Overview

Octop Gateway is a multi-platform IM channel bridge that provides a unified message abstraction for AI agents and bots. It connects to mainstream IM platforms and normalizes every inbound message into one processing pipeline, so agent logic is written once and runs across Feishu, DingTalk, QQ, WeCom, WeChat iLink, Yuanbao, Xiaoyi, MQTT, Telegram, and Discord. The gateway handles transport, parsing, media, and delivery behind a common interface.

Key Features

  • 10 platforms, one processor: Feishu, DingTalk, QQ, WeCom, WeChat iLink, Yuanbao, Xiaoyi, MQTT, Telegram, and Discord all behind one interface.
  • Unified abstraction turns each platform's quirks into a common InboundMessage and MessageEvent model.
  • Streaming events let the processor act as an async generator yielding MessageEvent for token streaming.
  • Pluggable media uses MediaBackend to store attachments, with FileSystemMediaBackend shipped by default.
  • Per-channel constraints include rate limit, timeout, and typing indicator.
  • Push routing provides push_text, push_content, and push_to_all for proactive messages.

Use Cases

  • Build one bot that reaches users across multiple IM platforms without writing platform-specific code.
  • Run isolated channels for different teams or tenants from a single gateway.
  • Send proactive notifications to individual users or broadcast messages to many.
  • Connect agent logic to platforms such as Feishu, DingTalk, QQ, WeCom, Telegram, and Discord.

Getting Started

  • Install the core library with pip install octop-gateway.
  • For example and agent integration extras, use pip install "octop-gateway[examples]".
  • Prerequisites are Python 3.12+ and credentials for the platforms you connect to.
  • Copy .env.example to .env for environment-based configuration.
  • Define an async processor yielding MessageEvent, create a ChannelManager, and add platform channels.

Deployment & Requirements

  • Python 3.12+.
  • Credentials for each platform you connect to.
  • Environment-based configuration can be used by copying .env.example to .env.

Before You Adopt

  • License: MIT. Review its terms before using, modifying, or distributing the project.
  • Discord integration requires enabling Message Content Intent in the developer portal.
  • QQ QR login keeps a one-time decryption key in memory and leaves persistence of the returned channel config to the caller.

Comments

Sign in to leave a comment.

More like Octop Gateway

Favicon of HarnessRouter

HarnessRouter

Free ListingStars: 2.7K

The unified interface for agent harnesses.

Agent SDKs & Runtimes

Open-source infrastructure that runs harnesses like Codex, Claude Code, and Hermes as pluggable agent backends, letting products run tasks, retrieve results, and switch harnesses through one API.

Favicon of Browser Use

Browser Use

Free ListingStars: 116.3K

Agents that use the browser.

Agent SDKs & Runtimes

Browser Use is a simple remote browser for AI agents. It offers hosted agents and managed browser infrastructure for AI startups and automation teams, with support for protected sites via SDK, REST, or CDP. It reports 82% on Internal Bench