Repolode
langbot-app

langbot-app/LangBot

Open-source platform for building AI-powered chat bots that connect LLMs to Slack, Discord, Telegram, WeChat, Lark, DingTalk and more.

Stars
18,303
Forks
1,800
Open issues
140
Last commit
9 hours ago

What is it?

LangBot is a platform for building and running agentic bots on instant messaging services. It connects large language models and workflow tools to chat platforms such as Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk and KOOK, so one bot setup can serve several channels.

The project covers multi-turn conversations, tool calling, streaming output and a built-in knowledge base for retrieval-augmented generation. It integrates with Dify, Coze, n8n, Langflow and Ollama, as well as providers such as OpenAI, Anthropic, DeepSeek and Gemini. A web management panel handles bot, pipeline and model configuration, and a plugin system and MCP support extend its behavior.

It is written in Python and can be started with uvx or Docker Compose. Access control, rate limiting, sensitive word filtering and monitoring are included for running bots in production.

Key features

  • 01Connects LLMs and agent workflows such as Dify, Coze and n8n to chat platforms.
  • 02Supports Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk and KOOK from one codebase.
  • 03Includes a built-in knowledge base for retrieval-augmented generation.
  • 04Provides a web panel for managing bots, pipelines and models.
  • 05Offers a plugin system and MCP protocol support.
  • 06Adds access control, rate limiting and sensitive word filtering.

Use cases

  • Deploying a customer support bot on Slack or Discord that answers from your knowledge base.
  • Connecting n8n or Dify workflows to WeCom or DingTalk for internal business processes.
  • Moderating QQ or Discord community groups with AI-based content filtering.

Quick start

  1. 1

    Install and run with uv (One-Line Launch)

    uvx langbot
  2. 2

    Clone the repository

    git clone https://github.com/langbot-app/LangBot
  3. 3

    Change into the docker directory

    cd LangBot/docker
  4. 4

    Start the stack with Docker Compose, then open http://localhost:5300

    docker compose --profile all up -d

Things to know

  • Requires uv installed for the one-line launch.
  • Cloud deployment and some platform integrations depend on third-party services and API keys.

Topics

FAQ

What is LangBot?
Open-source platform for building AI-powered chat bots that connect LLMs to Slack, Discord, Telegram, WeChat, Lark, DingTalk and more. LangBot is a platform for building and running agentic bots on instant messaging services. It connects large language models and workflow tools to chat platforms such as Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk and KOOK, so one bot setup can serve several channels.
Is LangBot free to use? What license does it have?
LangBot is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is LangBot still maintained?
Actively maintained. The last commit to LangBot was on Oct 20, 2026.
What can I use LangBot for?
Deploying a customer support bot on Slack or Discord that answers from your knowledge base. Connecting n8n or Dify workflows to WeCom or DingTalk for internal business processes. Moderating QQ or Discord community groups with AI-based content filtering.
How do I install LangBot?
Install and run with uv (One-Line Launch): uvx langbot Clone the repository: git clone https://github.com/langbot-app/LangBot Change into the docker directory: cd LangBot/docker Start the stack with Docker Compose, then open http://localhost:5300: docker compose --profile all up -d
Where can I get LangBot?
The source code and installation instructions are on GitHub: https://github.com/langbot-app/LangBot

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects