LangBot
A production platform for building AI-powered chat bots that connect large language models to Discord, Slack, Telegram, WeChat, Lark, DingTalk and other messaging platforms from one codebase.
LangBot is an open-source platform for building AI-powered instant messaging bots. It connects large language models to a chat platform so a bot can hold multi-turn conversations, call tools, and integrate with existing workflows, from a single codebase that targets many platforms, including Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk and KOOK.
It includes a built-in retrieval-augmented generation knowledge base with integrations for Dify, Coze, n8n and Langflow, access control, rate limiting, sensitive-word filtering and monitoring for production use, a plugin ecosystem with event-driven extensions and Model Context Protocol support, and a browser-based management panel for configuring and monitoring bots without editing YAML.
It can be deployed as a managed cloud service, launched with a single command through uv, run with Docker Compose, or deployed to Kubernetes. It is written in Python and released under the Apache 2.0 license.