Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.hitopen.com/llms.txt

Use this file to discover all available pages before exploring further.

AstrBot is an open-source, all-in-one Agent chatbot platform that integrates large model capabilities into mainstream instant messaging software including QQ, Feishu, DingTalk, and WeChat Work. It is designed for individuals, developers, and teams who need to build conversational AI applications — from personal AI companions to enterprise knowledge bases — within existing messaging workflows.

Connect AstrBot to Newapi

AstrBot supports Newapi as a model provider via the OpenAI Chat Completion and Responses interfaces.
1

Create a Newapi API key

Log in to the Newapi console, click Console in the top navigation bar, then open Token Management. Click Add Token, select appropriate permissions, and click Create.After the token is created, click Copy Key to copy the API key.
2

Add Newapi as a model provider in AstrBot

Open the AstrBot management panel and go to the Model Providers page. Click Add Model Provider and select OpenAI.In the configuration dialog:
FieldValue
API Base URLYour Newapi address with /v1 (e.g., http://localhost:3000/v1 for local deployments, or https://api.example.com/v1 for third-party services)
API KeyYour sk- token from the Newapi console
Click Save to complete the provider configuration.
3

Set Newapi as the default model

Go to the Configuration File page in AstrBot. In the Models section, change the Default Chat Model to the Newapi provider you just created. Click Save.
AstrBot is now configured to route all model requests through your Newapi instance. You can access and use any AI model services exposed by Newapi through AstrBot’s messaging integrations.
For instructions on connecting AstrBot to specific messaging platforms (QQ, Feishu, DingTalk, WeChat Work), refer to the AstrBot official documentation.