58API Help Center58API Help Center
User GuideAI ApplicationsAPI DocumentationHelp & Support

LangBot - IM Bot Development Platform

LangBot configuration tutorial — add 58API as a provider in LangBot to give Lark, DingTalk, QQ, WeCom, Telegram and other bots AI chat capabilities.

LangBot is an open-source IM bot development platform that supports multiple instant messaging platforms such as Lark, DingTalk, WeChat, QQ, Telegram, Discord, Slack, and more. It integrates with globally leading AI models, supports knowledge bases, Agent, MCP, and various other AI application capabilities, and is perfectly compatible with 58API.

Integrating with 58API

LangBot can use 58API to access a wide range of large models and give your bots AI chat capabilities.

Usage Instructions

  1. Get API key from 58API Get API key When using 58API, set the request URL to https://api.58api.net/v1. Note that the address must end with /v1.
  2. In LangBot, click 'Models' at the bottom left, click 'Add Provider' and fill in: After saving, click 'Add Model' on the 58API provider card, enter the model name manually on the 'Chat' tab (for example gpt-6.1-sol), tick 'Vision Ability' / 'Function Call' as needed, and add it. Alternatively, click the scan icon on the card, choose 'Scan Models', tick the models you need, and click 'Add Selected'. Add 58API Provider The screenshot shows an older interface; in the current version, add the provider first and then the model, as described above.
  • Provider Name: 58API
  • Provider Type: choose '58API' under the 'Aggregation Platform' group (you can also choose 'OpenAI')
  • Request URL: https://api.58api.net/v1 (selecting 58API pre-fills http://localhost:3000/v1, which you must replace; the URL must end with /v1)
  • API Key: paste the 58API API key from step 1
  1. Edit your pipeline under 'Pipelines'. On the 'AI Feature' tab, set 'Runner' to 'Local Agent', choose the 58API model you just added (for example gpt-6.1-sol) in 'Model', and save. Select Model The screenshot shows an older interface: the option names differ and the model list is only an example. Choose the 58API model you added above.
  2. Chat in the conversation debug or with the bot bound to the pipeline to use it Chat WeCom Chat For deploying and configuring bots, please refer to Deploy Bots.

Using LangBot Knowledge Base

58API does not currently offer embedding models, so knowledge base vectorization needs another embedding model. The chat part can still use 58API models.

Since LangBot 4.9, knowledge bases are powered by 'Knowledge Engine' plugins: first install a knowledge engine plugin from the plugin market, then click 'Create Knowledge Base' on the 'Knowledge' page, select the knowledge engine, and choose the embedding model in 'Engine Settings'. You can add an embedding model under 'Models', for example LangBot's built-in 'Chroma Embedding' or 'SeekDB Embedding' (runs locally; the model files are downloaded automatically on first use). See the LangBot knowledge base documentation for details.

For more usage methods, please refer to the LangBot official documentation.