AstrBot - Agent Chatbot
AstrBot setup guide — integrate this open-source Agent chatbot platform with Weilai.AI to power QQ, Feishu, DingTalk, WeChat Work, and more with AI capabilities.
AstrBot is an open-source, all-in-one Agent chatbot platform that seamlessly integrates large model capabilities into mainstream instant messaging software such as QQ, Feishu, DingTalk, and WeChat Work, building reliable and scalable conversational AI infrastructure for individuals, developers, and teams. Whether it's a personal AI companion, smart customer service, automation assistant, or enterprise knowledge base, AstrBot can quickly build production-ready AI applications within your instant messaging software platform's workflow.
- Official Website: https://astrbot.app
- Official Documentation: https://docs.astrbot.app
- Project Homepage: https://github.com/astrbotdevs/astrbot
Weilai.AI Integration Method
AstrBot supports integrating Weilai.AI as a model provider, allowing users to access and use various AI model services through Weilai.AI.
Configuration Steps
Obtain Weilai.AI API Key
After registering and logging in to Weilai.AI, click 'Console' in the top navigation bar, click 'Token Management', then click the 'Add Token' button to create a new API Key, select appropriate permissions, and then click 'Create'.

After successful creation, click the 'Copy Key' button to copy the generated API Key.

Configure Weilai.AI Service Provider in AstrBot
Open the AstrBot management panel, go to the 'Model Providers' page, then click the 'Add Model Provider' button.
Weilai.AI perfectly supports OpenAI Chat Completion and Responses interfaces. We click 'OpenAI' to enter the OpenAI provider's configuration page.
In the pop-up dialog box, set the API Base URL to Weilai.AI's interface address. If you have deployed Weilai.AI locally, fill in the local address, for example, http://localhost:3000/v1. If you are using Weilai.AI services provided by a third-party service provider, fill in the corresponding URL address, for example, https://api.example.com/v1.
Then, enter the API Key into the 'API Key' field and click the 'Save' button.

Then click Save to complete the Weilai.AI provider configuration.
Apply Service Provider
Go to the 'Configuration File' page, find the 'Models' section, change 'Default Chat Model' to the Weilai.AI provider you just created, and click the 'Save' button.

At this point, you have successfully configured Weilai.AI as AstrBot's model provider. Now, you can access and use various AI model services provided by Weilai.AI through AstrBot.
How is this guide?
Last updated on
LunaTranslator - Open-source GalGame Translator
LunaTranslator setup guide — open-source GalGame and visual novel translator with HOOK, OCR, and AI-powered translation. Integrate with Weilai.AI for enhanced accuracy.
Claude Code
Claude Code configuration guide — use Anthropic's terminal-based coding agent with Weilai.AI. Supports code understanding, multi-file editing, and IDE integration.