LangBot Docs
GuidesQuick Start

Features

LangBot is an open-source, production-grade, LLM-native instant messaging bot development platform. Build AI agents for Discord, Telegram, Slack, QQ, WeChat, WeCom, Lark, DingTalk and more — with built-in Agent, RAG knowledge base, MCP, Skills and a code sandbox, plus deep integration with Dify, Coze, n8n and Langflow.

LangBot is an open-source, production-grade, LLM-native instant messaging bot development platform. With a single codebase you can bring AI agents to Discord, Telegram, Slack, QQ, WeChat, WeCom, Lark, DingTalk and more — with built-in Agent, RAG knowledge base, MCP, Skills and a code sandbox, deep integration with Agent platforms like Dify, Coze, n8n and Langflow, and everything configured and monitored from a browser-based web panel — no hand-written config files.

Don't want to self-host? Try LangBot Cloud — no server required, sign up and start instantly.

Core Capabilities at a Glance

  • AI Conversation & Agent — multi-turn dialogue, tool calling (function calling), multimodal (image/audio/file) and streaming output, ready out of the box.
  • RAG Knowledge Base — a built-in knowledge-base engine (vector retrieval + Rerank re-scoring) so your bot answers from your private knowledge, extensible via plugins to seamlessly connect external knowledge-base services like RAGFlow, Dify and FastGPT.
  • All-Platform Coverage — one codebase reaches Discord, Telegram, Slack, LINE, KOOK, Matrix, QQ, WeChat, WeCom, Lark, DingTalk and more.
  • Deep Agent Platform Integration — native connectors for Dify, Coze, n8n, Langflow, Deerflow, Aliyun Bailian, Ant TBox and other orchestration & workflow platforms.
  • Skills & Code Sandbox — on-demand instruction packs paired with a securely isolated code-execution sandbox, so the agent actually gets things done.
  • MCP Protocol — acts as a client into the Model Context Protocol tool ecosystem, supporting both Stdio and HTTP transports.
  • Web Management Panel — configure, manage and monitor bots visually in the browser, no manual config editing.
  • Production-grade Plugin System — hundreds of community plugins on a cross-process, event-driven architecture that's safe and hot-pluggable.
  • Multi-pipeline Architecture — run multiple pipelines per instance so different bots serve different scenarios, with access control, rate limiting, sensitive-word filtering and comprehensive monitoring.

Instant Messaging Platform Support

LangBot covers mainstream global IM platforms through a unified adapter layer — develop once, reach everywhere.

PlatformStatusRemarks
Personal QQSupported via third-party apps implementing the OneBot v11 protocol; private and group chats
QQ Official BotChannels, private chats, and group chats
WeChatPersonal WeChat
WeChat Official Account
WeComInternal application messages
WeCom Intelligent BotSupports streaming output
WeCom Customer Service
LarkSupports streaming output
DingTalkSupports streaming output
Discord
TelegramSupports streaming output
Slack
LINE
KOOK
SatoriSatori is a universal chat protocol that theoretically supports QQ, Zulip, Miyoushe and 15+ platforms
MatrixReaches Signal, WhatsApp, Messenger, iMessage, Mattermost, Google Chat, IRC, XMPP, Zulip and more via bridges
EmailUse email as a conversation channel
Web Page BotEmbeddable chat widget for web pages
WhatsApp🚧In development (also usable via Matrix bridge)

🚧: In development

For fine-grained, per-platform feature support (sending/receiving images, audio, files, rich text, streaming responses, etc.), see the platform features document.

Model and Agent Platform Support

LangBot uses LiteLLM as a unified model request backend, so beyond the built-in providers below you can also connect any OpenAI / Anthropic API-format or LiteLLM-supported model.

LLM, Aggregation & GPU Platforms

Provider/ServiceStatusRemarks
OpenAIWorks with any OpenAI-format model
Anthropic
DeepSeek
Google Gemini
xAI
Moonshot
Zhipu AI
Mistral
Groq
OpenRouterGlobal LLM gateway
OllamaLocal LLM running platform
LMStudioLocal LLM running platform
SiliconFlowLLM gateway (MaaS)
Aliyun BailianLLM gateway (MaaS) / Agent platform
Volc Engine ArkLLM gateway (MaaS) / Agent platform
ModelScopeLLM gateway (MaaS)
GiteeAILLM interface gateway (MaaS)
ShengSuanYunGlobal LLM aggregation (recommended)
CompShareLLM and GPU resource platform
PPIOLLM and GPU resource platform
302.AILLM gateway (MaaS)
Jiekou AILLM gateway (MaaS)
TokenPonyLLM gateway (MaaS)
QiniuLLM gateway (MaaS)

Agent Platforms

Plug your existing workflows or agents straight into IM platforms — no need to rewrite your business logic.

PlatformStatusRemarks
DifyAgent platform
CozeAgent orchestration platform
n8nWorkflow automation platform
LangflowVisual orchestration platform
DeerflowDeep research framework
WeknoraWeChat knowledge-base Q&A
Ant TBoxAgent platform

Rerank Models

ProviderStatusRemarks
CohereRerank models
JinaRerank models
Voyage AIRerank models

LLM Application Paradigm Implementation

LangBot turns mainstream LLM application paradigms into out-of-the-box capabilities, covering the full path from "can chat" to "can get work done."

ParadigmStatusNotes
AgentBuilt-in agent with tool calling, multi-turn reasoning, multimodal and streaming output
RAG (Knowledge Base)Built-in knowledge-base engine (default Chroma vector store + Rerank re-scoring), pluggable into external knowledge bases like RAGFlow, Dify and FastGPT
MCPActs as an MCP client into the tool ecosystem; supports Stdio and HTTP
SkillsOn-demand instruction packs, pulled into context only when matched — zero extra overhead
Code SandboxSecurely isolated code-execution environment with Docker / nsjail / E2B backends
  • Skills: package a professional workflow, template or script into an on-demand instruction pack — the agent pulls it into context only when the user's request matches, keeping the System Prompt clean. See the Skills doc.
  • Code Sandbox: gives the agent securely isolated code-execution capability, automatically picking the best of the Docker / nsjail / E2B backends — the runtime foundation for Skills and native tools. See the Sandbox doc.

System Extensibility

LangBot offers a complete extension surface for secondary development and enterprise integration.

  • HTTP Service API: access LangBot's entities through HTTP interfaces with API-key authentication, for easy integration with existing systems.
  • Outgoing Webhook: push LangBot's internal events to external systems in real time, enabling event-driven automation.
  • Production-grade Plugin System: built on cross-process communication and async technology, supporting various component extensions — safe, stable and hot-pluggable; hundreds of community plugins install in one click from the extension marketplace.
  • Web Management Panel: do all your bot, model, pipeline, knowledge-base and plugin configuration and monitoring visually.

Deployment Options

LangBot supports everything from a one-line command to a Kubernetes cluster:

  • LangBot Cloud (recommended): a hosted, deploy-free, out-of-the-box version.
  • One-line start: uvx langbot, then open http://localhost:5300.
  • Docker Compose, aaPanel, Kubernetes, one-click cloud deploy on Zeabur / Railway, and more.

See the deployment docs and quick start.

Case Screenshots

LangBot bot configuration page: bind a web page bot to a pipeline in the web dashboard

LangBot model configuration: connect any OpenAI / Anthropic API-compatible LLM such as OpenAI or Anthropic

LangBot pipeline AI configuration: choose the built-in Agent runner and primary model

LangBot extension marketplace: one-click install for hundreds of community plugins and MCP tools

LangBot built-in Agent calling the code sandbox: executing Python in real time for exact computation

LangBot Skill-driven Agent: producing structured output following a predefined skill

On this page