Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Package Manager

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Manual

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Websockets

Webhook

OneBot v11

WeCom Application

WeCom AI Bot

WeChat Official Account

Lark

DingTalk

Telegram

LINE

Slack

Misskey

Discord

Satori

Connect Satori

Using server-satori

Community-provided

Matrix

KOOK

VoceChat

AI Integration

✨ Model Providers

NewAPI

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

DeerFlow

Usage

WebUI

Plugins

Built-in Commands

Tool Use

Anthropic Skills

SubAgent Orchestration

Proactive Tasks

MCP

Web Search

Knowledge Base

Custom Rules

Agent Runner

Unified Webhook Mode

Auto Context Compression

Agent Sandbox

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

AI

Storage

HTML to Image

Session Control

Publish Plugin

Platform Adapter Integration

AstrBot HTTP API

AstrBot Configuration File

Others

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

Connect OneBot v11 Protocol Implementations ​

OneBot is a standardized bot application interface designed to unify bot development across different chat platforms, so developers can write business logic once and use it on multiple platforms.

AstrBot supports all client implementations that implement OneBot v11 reverse WebSocket (AstrBot acts as the server).

Common OneBot v11 implementation projects are listed below:

  • NapCat
  • OneDisc
  • Tele-KiraLink

Please refer to each implementation project's deployment documentation.

1. Configure OneBot v11 ​

  1. Open AstrBot's WebUI
  2. Click Bots in the left sidebar
  3. In the right panel, click + Create Bot
  4. Select OneBot v11

Fill in the form:

  • ID (id): any value, used only to distinguish instances of different platforms.
  • Enable (enable): check it.
  • Reverse WebSocket host: fill your machine IP, usually 0.0.0.0.
  • Reverse WebSocket port: choose any port, default is 6199.
  • Reverse WebSocket token: fill this only when NapCat network configuration has a token set.

Click Save.

2. Configure the protocol implementation side ​

Please refer to each protocol implementation project's deployment documentation.

Notes:

  1. The implementation must support Reverse WebSocket, with AstrBot acting as the server and the implementation client as the client.
  2. The reverse WebSocket URL is ws(s)://<your-host>:6199/ws.

3. Verify ​

Go to AstrBot WebUI Console. If a blue log appears saying aiocqhttp(OneBot v11) adapter connected., the connection is successful. If after a few seconds you see aiocqhttp adapter has been closed, it means the connection timed out (failed). Please double-check your configuration.

Edit this page on GitHub

Last updated:

Pager
PreviousWebhook
NextWeCom Application

Deployed on Rainyun Logo