-
-
Notifications
You must be signed in to change notification settings - Fork 3k
en use webui
The AstrBot admin panel features plugin management, log viewing, visual configuration, statistics viewing, and more.
These paths use the current default sidebar. If you customized it, open System Settings → Appearance → Customize Sidebar at the bottom of the sidebar to review or reset the layout.
| Previous entry point or name | Current entry point |
|---|---|
| Providers → Add Provider → Agent Runner | Config → Select a profile → AI → … beside the AI heading → Change execution mode |
| Data / Dashboard | Data & Logs → Statistics |
| Conversation Management / Conversations | Data & Logs → Conversations |
| Logs / Console | Data & Logs → Logs |
| Trace | Data & Logs → Trace |
| Config → Normal Config | Config → Select a profile |
| Config → System Config | System Settings → General, Appearance, Network, or Security, depending on the setting |
| Commands / Command Management | Extensions → Handlers → Command |
| Standalone MCP / Skills entries | Extensions → MCP Servers / Skills |
| Custom Rules / Future Tasks / SubAgents | Custom Rules is under the sidebar System group; Future Tasks and SubAgents are under the Extensions group |
Old log, trace, conversation, and statistics URLs still redirect to the corresponding tabs. Agent runners are now saved in each profile; they are no longer created as model providers. See Agent Runners for the setup steps.
After starting AstrBot, you can access the admin panel by visiting http://localhost:6185 in your browser.
Tip
- If you're deploying AstrBot on a cloud server, replace
localhostwith your server's IP address.
For first-time login, AstrBot generates a random initial password and prints it in startup logs. Please read the startup log line containing the WebUI credential and use that password to log in (username is usually astrbot).
AstrBot WebUI supports TOTP (Time-based One-Time Password) based two-factor authentication.
- Open
System Settings → Securityat the bottom of the sidebar and findWebUI Security. - Toggle on "Enable WebUI TOTP"; a setup dialog with a QR code will appear.
- Scan the QR code using any TOTP-compatible authenticator app (e.g., Google Authenticator, etc.).
- Enter the 6-digit verification code generated by the authenticator app to complete the verification.
- The system will generate recovery codes for logging in if the authenticator device is lost. Be sure to save them securely.
To replace the TOTP secret, you can do so in the TOTP management window, where you will need to verify the current TOTP code first.
- Each recovery code can be used only once. After logging in with a recovery code, two-factor authentication will be automatically disabled, and you will need to set it up again.
- Recovery codes can be regenerated in the TOTP management window.
- If you lose the recovery codes, you will not be able to regain account access through normal means. You will need to manually edit
data/cmd_config.json, setdashboard.totp.enabletofalse, and manually cleardashboard.totp.secretanddashboard.totp.recovery_code_hashto disable two-factor authentication.
- Once two-factor authentication is enabled, modifying TOTP-related configurations requires verifying the current TOTP code to prevent unauthorized changes.
- Changing the admin panel password will revoke all trusted devices.
AstrBot includes a built-in ChatUI for talking to configured models directly in your browser.
ChatUI supports these common workflows:
- The sidebar initially loads the 30 most recent conversations. Scroll near the bottom to automatically load older conversations, with a progress bar while loading. Automatic requests pause after a failure; select Retry to continue. If the list does not fill the sidebar, more pages load automatically. Opening an older conversation by URL keeps its title and selected sidebar entry visible before its page loads.
- Create, rename, and delete conversations, and switch previous conversations from the sidebar.
- Select the config profile, model provider, and model on the chat page; if Provider session separation is enabled, you can also choose a model for the current session only.
- Send text, images, files, and voice input; uploaded attachments show previews and use file signature checks to help identify file types.
- View model thinking, tool-call status, knowledge-base or web-search references, and per-message token and latency statistics.
- Copy or regenerate existing replies, including regenerating with another model.
- Edit a user message and continue generation from that point, or start a thread from a specific excerpt.
- Switch between streaming/normal response modes and SSE/WebSocket transport modes.
Note
To keep message delivery ordered, keep only one ChatUI page open for the same browser session. If you open chat in multiple tabs, the system may ask you to reconnect.
Select Config in the sidebar, then choose the profile to edit from the selector at the top. Settings are grouped into sections such as AI, Platform, and Plugin. Use the search control at the top to find a setting.
- In
AI, built-in AI settings haveModel,Persona,Capabilities, andAdvancedtabs. Use… → Change execution modebeside the AI heading to connect a third-party agent. -
Platformcontains administrator and message-trigger settings. -
Pluginselects the plugins enabled for this profile. To edit an individual plugin's parameters, openExtensionsand click that plugin's gear icon (Extension Config). -
Ext.contains segmented reply, group chat context, and text-to-image settings (output toggle, word count threshold, rendering strategy, service endpoint, and custom templates).
After editing, click the disk icon labeled Save Configuration in the lower-right corner and check for a successful save message.
Use the {} icon labeled Edit Configuration File to edit the current profile as JSON. Select Apply This Configuration to stage the changes in the visual editor, close the editor, and then select Save Configuration.
Global settings are under System Settings at the bottom of the sidebar:
-
General: timezone, external callback address, logs, and cache. -
Appearance: sidebar and theme. -
Network: HTTP proxy, Python package sources, and GitHub proxy. For the address to use when AstrBot runs in Docker, see Deploy with Docker. -
Security: WebUI HTTPS, login rate limits, and TOTP. -
Maintenance: backup, restore, and restart. -
OpenAPI: developer access keys.
System configuration changes save automatically. Check for a successful save message and restart AstrBot if the page indicates that a restart is required.
Select Extensions in the sidebar. The top tabs are Plugins, Skills, MCP Servers, and Handlers. Within Plugins, switch between Installed and AstrBot Plugin Market to view local and market plugins.
On either plugin list, you can also click Install Plugin (+) in the bottom right corner to manually install plugins via URL or file upload.
Due to the plugin update mechanism, the AstrBot Team cannot fully guarantee the security of plugins in the plugin market. Please carefully verify them. The AstrBot Team is not responsible for any losses caused by plugins.
If a plugin fails to load, the admin panel will display the error message and provide a "Reload" button in the failed plugins list. This allows you to quickly reload the plugin after fixing the environment (e.g., installing missing dependencies) or modifying the code, without having to restart the entire application.
Select Data & Logs in the left sidebar to switch between Statistics, Conversations, Logs, and Trace from the tabs at the top of one workspace.
The Statistics tab summarizes platform instances, messages, model calls, tokens, and uptime. It also shows message trends, platform message rankings, model-call trends, model usage rankings, and conversation model usage rankings. Use the range selector at the top to view 1 day, 3 days, or 1 week.
Use the Conversations tab to find and manage saved conversation records:
- Filter by keyword, bot ID, private/group conversation type, or UMO, and sort by creation or update time.
- By default, the list loads 30 records per page from the server. When Group by session is enabled, pagination switches to UMO sessions and expanding a session reveals all of its conversations. Full message history is loaded only after you select a conversation and is then shown in the preview on the right.
- Edit titles, export multiple selected conversations, or delete multiple selected conversations.
- Use the
{}button in the preview header to inspect the rawhistoryJSON in a read-only, word-wrapped Monaco editor. - Select
Back to legacyin the upper-right corner if you still need the original table-based view.
The Logs tab shows AstrBot runtime logs in real time. You can filter by log level and install missing Pip packages from this page. To view DEBUG logs, first set Console Log Level to DEBUG under System Settings → General → Logs.
The Trace tab shows AstrBot execution traces in real time and is useful for debugging model-call paths and tool invocations. Use the switch at the top to enable or disable trace recording.
Note
Trace recording currently covers only some model-call paths from the AstrBot main Agent. Coverage will continue to improve.
Use Extensions → Handlers → Command to centrally manage all registered commands; system plugins are hidden by default.
Filter by plugin, type (command / command group / subcommand), permission, and status, and combine with the search box for quick lookup. Command group rows can expand to show subcommands, badges display the subcommand count, and subcommand rows are indented to indicate hierarchy.
You can enable/disable and rename each command.
When AstrBot starts, it automatically checks if the admin panel needs updating. If it does, the first log entry (in yellow) will prompt you.
In the browser WebUI, open ⋮ → Update AstrBot in the upper-right corner, expand Advanced settings, and click Download and Update under Update Dashboard to Latest Version Only. The page refreshes automatically after a successful update. In the desktop app, the update entry opens the desktop application updater.
You can also use the /dashboard_update command to manually update the admin panel (admin command).
Admin panel files are located in the data/dist directory. If you need to manually replace them, download dist.zip from https://github.com/AstrBotDevs/AstrBot/releases/ and extract it to the data directory.
Modify the port in the dashboard configuration in the data/cmd_config.json file.
Modify the password in the dashboard configuration in the data/cmd_config.json file and delete the entire password key-value pair.
Tip
For more details, see FAQ - Forgot Dashboard Password.
- 首页
- 文档入口
- Top Level
- community events
- deploy
- dev
- others
- platform
- 接入 OneBot v11 协议实现
- 接入钉钉 DingTalk
- 接入 Discord
- 接入 Kook
- 接入飞书
- 接入 LINE
- 接入 Matrix
- 接入 Mattermost
- 接入 Misskey 平台
- 接入 QQ 官方机器人平台
- 通过 QQ官方机器人 接入 QQ (Webhook)
- 通过 QQ官方机器人 接入 QQ (Websockets)
- 接入 Satori 协议
- 接入 server-satori (基于 Koishi)
- 接入 Slack
- 接入消息平台
- 接入 Telegram
- 接入 VoceChat
- AstrBot 接入企业微信
- 接入企业微信智能机器人平台
- AstrBot 接入微信公众平台
- 接入个人微信
- providers
- use
- Home
- Docs Entry
- Top Level
- config
- deploy
- Deploy AstrBot on 1Panel
- Deploy AstrBot on BT Panel
- Deploy AstrBot on CasaOS
- Deploy AstrBot from Source Code
- Community-Provided Deployment Methods
- Deploy via Compshare
- Deploy with AstrBot Desktop Client
- Deploy AstrBot with Docker
- Deploy AstrBot with Kubernetes
- Deploy AstrBot with AstrBot Launcher
- Other Deployments
- Package Manager Deployment (uv)
- Installation via System Package Manager
- Preface
- dev
- AstrBot Configuration File
- API Scope–Endpoint Reference
- AstrBot HTTP API
- AstrBot Plugin Market JSON Specification
- Developing a Platform Adapter
- plugin
- AI
- Text to Image
- Handling Message Events
- Plugin Configuration
- Plugin Internationalization
- Plugin Views
- Sending Messages
- Session Control
- Minimal Example
- Plugin Storage
- AstrBot Plugin Development Guide 🌠
- Publishing Plugins to the Plugin Marketplace
- ospp
- others
- platform
- Connect OneBot v11 Protocol Implementations
- Connect to DingTalk
- Connecting to Discord
- Connect to KOOK
- Connecting to Lark
- Connecting to LINE
- Connecting to Matrix
- Connecting to Mattermost
- Connecting to Misskey Platform
- Connect QQ Official Bot
- Connect QQ via QQ Official Bot (Webhook)
- Connect QQ via QQ Official Bot (Websockets)
- Connect to Satori Protocol
- Connect server-satori (Koishi)
- Connecting to Slack
- Messaging Platforms
- Connecting to Telegram
- Connect to VoceChat
- Connect AstrBot to WeCom
- Connect to WeCom AI Bot Platform
- Connect AstrBot to WeChat Official Account Platform
- Connect Personal WeChat
- providers
- Connect 302.AI
- Agent Runners
- Built-in Agent Runner
- Connect to Coze
- Connect to Alibaba Cloud Bailian Application
- Connect to DeerFlow
- Connect to Dify
- Connect AIHubMix
- coze
- dashscope
- dify
- Model input images
- Large Language Model Providers
- Connect MiraRouter
- NewAPI
- Connect PPIO Cloud
- Connect LM Studio to Use DeepSeek-R1 and Other Models
- Integrating Ollama
- Connect ShengSuanYun
- Connecting to SiliconFlow
- Connecting Model Services
- Connecting to TokenPony
- use
- Agent Runner
- Agent Sandbox Environment ⛵️
- astrbot sandbox
- CLI Commands
- Docker-based Code Interpreter
- Built-in Commands
- Computer Use
- Context Compression
- Custom Rules
- Function Calling
- AstrBot Knowledge Base
- MCP
- AstrBot Star
- Proactive Capabilities
- Anthropic Skills
- Agent Handoff and SubAgent
- Unified Webhook Mode
- Web Search
- WebUI