MAX APIMAX API
User GuideInstallationAPI ReferenceAI ApplicationsHelp & SupportBusiness Cooperation

LangBot - Instant Messaging Bot Development Platform

LangBot integration guide — build AI-powered chatbots for Feishu, DingTalk, Telegram, Discord, and more. Supports Knowledge Base, Agent, and MCP with MAX API.

LangBot is an open-source instant messaging bot development platform that supports various instant messaging platforms such as Feishu, DingTalk, WeChat, QQ, Telegram, Discord, Slack, etc. It integrates with mainstream global AI models, supports various AI application capabilities like Knowledge Base, Agent, MCP, and is perfectly compatible with MAX API.

Integrating MAX API

LangBot supports integrating with locally deployed MAX API and third-party MAX API services built using MAX API.

Usage

  1. Obtain an API key from MAX API 获取 API key

    If MAX API is deployed locally, please configure the API address yourself (refer to Container Network Connection). If using a third-party MAX API service, you can copy the address from the page. Note that /v1 needs to be appended to the address.

  2. Add a model in LangBot, select MAX API as the provider, and fill in the corresponding API key and API address 添加 MAX API 模型

  3. Select the model to use in the pipeline

    选择模型

  4. Use it by chatting in conversation debugging or by chatting with a bot bound to the pipeline

    对话

    微信对话

    For deploying and configuring bots, please refer to Deploying Bots.

Using LangBot Knowledge Base

LangBot supports using MAX API's embedding models and utilizing them as vector models for the knowledge base.

  1. Add an embedding model in LangBot, select MAX API as the provider 添加嵌入模型

  2. Select the embedding model when creating a new knowledge base 使用嵌入模型

For more usage instructions, please refer to the LangBot official documentation: https://docs.langbot.app

How is this guide?