Metadata-Version: 2.4
Name: langbot
Version: 4.9.2
Summary: Production-grade platform for building agentic IM bots
Project-URL: Homepage, https://langbot.app
Project-URL: Documentation, https://docs.langbot.app
Project-URL: Repository, https://github.com/langbot-app/LangBot
Keywords: bot,agent,telegram,plugins,openai,instant-messaging,wechat,qq,dify,llm,chatgpt,deepseek,onebot
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: AsyncIO
Classifier: Framework :: Robot Framework
Classifier: Framework :: Robot Framework :: Library
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: Chat
Requires-Python: <4.0,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiocqhttp>=1.4.4
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: aiohttp>=3.11.18
Requires-Dist: aioshutil>=1.5
Requires-Dist: aiosqlite>=0.21.0
Requires-Dist: anthropic>=0.51.0
Requires-Dist: argon2-cffi>=23.1.0
Requires-Dist: async-lru>=2.0.5
Requires-Dist: certifi>=2025.4.26
Requires-Dist: colorlog~=6.6.0
Requires-Dist: cryptography>=44.0.3
Requires-Dist: dashscope>=1.25.10
Requires-Dist: dingtalk-stream>=0.24.0
Requires-Dist: discord-py>=2.5.2
Requires-Dist: pynacl>=1.5.0
Requires-Dist: gewechat-client>=0.1.5
Requires-Dist: lark-oapi>=1.4.15
Requires-Dist: mcp>=1.25.0
Requires-Dist: nakuru-project-idk>=0.0.2.1
Requires-Dist: ollama>=0.4.8
Requires-Dist: openai>1.0.0
Requires-Dist: pillow>=11.2.1
Requires-Dist: psutil>=7.0.0
Requires-Dist: pycryptodome>=3.22.0
Requires-Dist: pydantic>2.0
Requires-Dist: pyjwt>=2.10.1
Requires-Dist: python-telegram-bot>=22.0
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: qq-botpy-rc>=1.2.1.6
Requires-Dist: quart>=0.20.0
Requires-Dist: quart-cors>=0.8.0
Requires-Dist: requests>=2.32.3
Requires-Dist: slack-sdk>=3.35.0
Requires-Dist: sqlalchemy[asyncio]>=2.0.40
Requires-Dist: sqlmodel>=0.0.24
Requires-Dist: telegramify-markdown>=0.5.1
Requires-Dist: tiktoken>=0.9.0
Requires-Dist: urllib3>=2.4.0
Requires-Dist: websockets>=15.0.1
Requires-Dist: python-socks>=2.7.1
Requires-Dist: pip>=25.1.1
Requires-Dist: ruff>=0.11.9
Requires-Dist: pre-commit>=4.2.0
Requires-Dist: uv>=0.7.11
Requires-Dist: mypy>=1.16.0
Requires-Dist: PyPDF2>=3.0.1
Requires-Dist: python-docx>=1.1.0
Requires-Dist: pandas>=2.2.2
Requires-Dist: chardet>=5.2.0
Requires-Dist: markdown>=3.6
Requires-Dist: beautifulsoup4>=4.12.3
Requires-Dist: ebooklib>=0.18
Requires-Dist: html2text>=2024.2.26
Requires-Dist: langchain>=0.2.0
Requires-Dist: langchain-text-splitters>=0.0.1
Requires-Dist: chromadb<2.0.0,>=1.0.0
Requires-Dist: qdrant-client<2.0.0,>=1.15.1
Requires-Dist: pyseekdb==1.1.0.post3
Requires-Dist: langbot-plugin==0.3.1
Requires-Dist: asyncpg>=0.30.0
Requires-Dist: line-bot-sdk>=3.19.0
Requires-Dist: tboxsdk>=0.0.10
Requires-Dist: boto3>=1.35.0
Requires-Dist: pymilvus>=2.6.4
Requires-Dist: pgvector>=0.4.1
Requires-Dist: botocore>=1.42.39
Dynamic: license-file

<p align="center">
<a href="https://langbot.app">
<img width="130" src="res/logo-blue.png" alt="LangBot"/>
</a>

<div align="center">

<a href="https://www.producthunt.com/products/langbot?utm_source=badge-follow&utm_medium=badge&utm_source=badge-langbot" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=1077185&theme=light" alt="LangBot - Production&#0045;grade&#0032;IM&#0032;bot&#0032;made&#0032;easy&#0046; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

<h3>Production-grade platform for building agentic IM bots.</h3>
<h4>Quickly build, debug, and ship AI bots to Slack, Discord, Telegram, WeChat, and more.</h4>

English / [简体中文](README_CN.md) / [繁體中文](README_TW.md) / [日本語](README_JP.md) / [Español](README_ES.md) / [Français](README_FR.md) / [한국어](README_KO.md) / [Русский](README_RU.md) / [Tiếng Việt](README_VI.md)

[![Discord](https://img.shields.io/discord/1335141740050649118?logo=discord&labelColor=%20%235462eb&logoColor=%20%23f5f5f5&color=%20%235462eb)](https://discord.gg/wdNEHETs87)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/langbot-app/LangBot)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/langbot-app/LangBot)](https://github.com/langbot-app/LangBot/releases/latest)
<img src="https://img.shields.io/badge/python-3.10 ~ 3.13 -blue.svg" alt="python">
[![GitHub stars](https://img.shields.io/github/stars/langbot-app/LangBot?style=social)](https://github.com/langbot-app/LangBot/stargazers)

<a href="https://langbot.app">Website</a> ｜
<a href="https://docs.langbot.app/en/insight/features">Features</a> ｜
<a href="https://docs.langbot.app/en/insight/guide">Docs</a> ｜
<a href="https://docs.langbot.app/en/tags/readme">API</a> ｜
<a href="https://space.langbot.app/cloud">Cloud</a> ｜
<a href="https://space.langbot.app">Plugin Market</a> ｜
<a href="https://langbot.featurebase.app/roadmap">Roadmap</a>

</div>

</p>

---

## What is LangBot?

LangBot is an **open-source, production-grade platform** for building AI-powered instant messaging bots. It connects Large Language Models (LLMs) to any chat platform, enabling you to create intelligent agents that can converse, execute tasks, and integrate with your existing workflows.

### Key Capabilities

- **AI Conversations & Agents** — Multi-turn dialogues, tool calling, multi-modal support, streaming output. Built-in RAG (knowledge base) with deep integration to [Dify](https://dify.ai), [Coze](https://coze.com), [n8n](https://n8n.io), [Langflow](https://langflow.org).
- **Universal IM Platform Support** — One codebase for Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk, KOOK.
- **Production-Ready** — Access control, rate limiting, sensitive word filtering, comprehensive monitoring, and exception handling. Trusted by enterprises.
- **Plugin Ecosystem** — Hundreds of plugins, event-driven architecture, component extensions, and [MCP protocol](https://modelcontextprotocol.io/) support.
- **Web Management Panel** — Configure, manage, and monitor your bots through an intuitive browser interface. No YAML editing required.
- **Multi-Pipeline Architecture** — Different bots for different scenarios, with comprehensive monitoring and exception handling.

[→ Learn more about all features](https://docs.langbot.app/en/insight/features)

---

## Quick Start

### ☁️ LangBot Cloud (Recommended)

**[LangBot Cloud](https://space.langbot.app/cloud)** — Zero deployment, ready to use.

### One-Line Launch

```bash
uvx langbot
```

> Requires [uv](https://docs.astral.sh/uv/getting-started/installation/). Visit http://localhost:5300 — done.

### Docker Compose

```bash
git clone https://github.com/langbot-app/LangBot
cd LangBot/docker
docker compose up -d
```

### One-Click Cloud Deploy

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/en-US/templates/ZKTBDH)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.app/template/yRrAyL?referralCode=vogKPF)

**More options:** [Docker](https://docs.langbot.app/en/deploy/langbot/docker) · [Manual](https://docs.langbot.app/en/deploy/langbot/manual) · [BTPanel](https://docs.langbot.app/en/deploy/langbot/one-click/bt) · [Kubernetes](./docker/README_K8S.md)

---

## Supported Platforms

| Platform | Status | Notes |
|----------|--------|-------|
| Discord | ✅ |  |
| Telegram | ✅ |  |
| Slack | ✅ |  |
| LINE | ✅ |  |
| QQ | ✅ | Personal & Official API |
| WeCom | ✅ | Enterprise WeChat, External CS, AI Bot |
| WeChat | ✅ | Personal & Official Account |
| Lark | ✅ |  |
| DingTalk | ✅ |  |
| KOOK | ✅ |  |
| Satori | ✅ |  |

---

## Supported LLMs & Integrations

| Provider | Type | Status |
|----------|------|--------|
| [OpenAI](https://platform.openai.com/) | LLM | ✅ |
| [Anthropic](https://www.anthropic.com/) | LLM | ✅ |
| [DeepSeek](https://www.deepseek.com/) | LLM | ✅ |
| [Google Gemini](https://aistudio.google.com/prompts/new_chat) | LLM | ✅ |
| [xAI](https://x.ai/) | LLM | ✅ |
| [Moonshot](https://www.moonshot.cn/) | LLM | ✅ |
| [Zhipu AI](https://open.bigmodel.cn/) | LLM | ✅ |
| [Ollama](https://ollama.com/) | Local LLM | ✅ |
| [LM Studio](https://lmstudio.ai/) | Local LLM | ✅ |
| [Dify](https://dify.ai) | LLMOps | ✅ |
| [MCP](https://modelcontextprotocol.io/) | Protocol | ✅ |
| [SiliconFlow](https://siliconflow.cn/) | Gateway | ✅ |
| [Aliyun Bailian](https://bailian.console.aliyun.com/) | Gateway | ✅ |
| [Volc Engine Ark](https://console.volcengine.com/ark/region:ark+cn-beijing/model?vendor=Bytedance&view=LIST_VIEW) | Gateway | ✅ |
| [ModelScope](https://modelscope.cn/docs/model-service/API-Inference/intro) | Gateway | ✅ |
| [GiteeAI](https://ai.gitee.com/) | Gateway | ✅ |
| [CompShare](https://www.compshare.cn/?ytag=GPU_YY-gh_langbot) | GPU Platform | ✅ |
| [PPIO](https://ppinfra.com/user/register?invited_by=QJKFYD&utm_source=github_langbot) | GPU Platform | ✅ |
| [ShengSuanYun](https://www.shengsuanyun.com/?from=CH_KYIPP758) | GPU Platform | ✅ |
| [接口 AI](https://jiekou.ai/) | Gateway | ✅ |
| [302.AI](https://share.302.ai/SuTG99) | Gateway | ✅ |

[→ View all integrations](https://docs.langbot.app/en/insight/features)

---

## Why LangBot?

| Use Case | How LangBot Helps |
|----------|-------------------|
| **Customer Support** | Deploy AI agents to Slack/Discord/Telegram that answer questions using your knowledge base |
| **Internal Tools** | Connect n8n/Dify workflows to WeCom/DingTalk for automated business processes |
| **Community Management** | Moderate QQ/Discord groups with AI-powered content filtering and interaction |
| **Multi-Platform Presence** | One bot, all platforms. Manage from a single dashboard |

---

## Live Demo

**Try it now:** https://demo.langbot.dev/
- Email: `demo@langbot.app`
- Password: `langbot123456`

*Note: Public demo environment. Do not enter sensitive information.*

---

## Community

[![Discord](https://img.shields.io/discord/1335141740050649118?logo=discord&label=Discord)](https://discord.gg/wdNEHETs87)

- [Discord Community](https://discord.gg/wdNEHETs87)

---

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=langbot-app/LangBot&type=Date)](https://star-history.com/#langbot-app/LangBot&Date)

---

## Contributors

Thanks to all [contributors](https://github.com/langbot-app/LangBot/graphs/contributors) who have helped make LangBot better:

<a href="https://github.com/langbot-app/LangBot/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=langbot-app/LangBot" />
</a>
