AstrBot - Agent Chatbot
AstrBot Configuration Guide — Connect the open-source Agent chatbot platform to MoleAPI to bring AI capabilities to instant messaging platforms such as QQ, Feishu, DingTalk, and WeCom.
AstrBot is an open-source, all-in-one Agent chatbot platform that seamlessly integrates large model capabilities into mainstream instant messaging applications such as QQ, Feishu, DingTalk, and WeCom, providing reliable and scalable conversational AI infrastructure for individuals, developers, and teams. Whether for a personal AI companion, intelligent customer support, automation assistant, or enterprise knowledge base, AstrBot can quickly help you build production-ready AI applications within the workflows of your instant messaging platform.
- Official website: https://astrbot.app
- Official documentation: https://docs.astrbot.app
- Project homepage: https://github.com/astrbotdevs/astrbot
How to Integrate MoleAPI
AstrBot supports MoleAPI as a model provider, allowing users to access and use various AI model services through MoleAPI.
Configuration Steps
Get a MoleAPI API Key
After registering and logging in to MoleAPI, click Console in the top navigation bar, then click Token Management, and then click the Add Token button to create a new API Key. Select the appropriate permissions, then click Create.

After it is created successfully, click the copy key button to copy the generated API Key.

Configure MoleAPI as a Service Provider in AstrBot
Open the AstrBot admin panel, go to the Model Providers page, and click the Add Model Provider button.
MoleAPI fully supports the OpenAI Chat Completion and Responses APIs. Click OpenAI to open the OpenAI provider configuration page.
In the dialog box that appears, set the API Base URL to the MoleAPI endpoint: http://api.moleapi.com/v1
Then paste your API Key into the API Key field and click the Save button (the example shown in the image may vary by version).

Next, configure the model and click save to complete the MoleAPI provider setup.
Apply the Service Provider
Go to the Profile page, locate the model section, change the Default Chat Model to the MoleAPI provider you just created, and click the Save button.

At this point, you have successfully configured MoleAPI as the model provider for AstrBot. You can now access and use the various AI model services provided by MoleAPI through AstrBot.
How is this guide?
Last updated on
LangBot - Instant Messaging Bot Development Platform
LangBot integration guide — an AI chatbot development framework for platforms such as Feishu, DingTalk, Telegram, and Discord. Supports knowledge bases, Agent, and MCP, and is compatible with MoleAPI.
LunaTranslator - Open-Source GalGame Translator
LunaTranslator Guide — An open-source visual novel translator with support for HOOK, OCR, and AI translation engines. Integrates with MoleAPI to improve translation quality.