Repository navigation
en dev plugin market 2026 11 25
Specification version: 2026-11-25
Market JSON schema version: 1
This document defines the JSON format for AstrBot plugin market sources.
-
PluginRecord: One plugin entry in a market source. -
MarketMetadata: Metadata for the market source itself. -
plugin_id: The global plugin package identifier. -
metadata.yaml: The plugin metadata file inside the installed plugin package.
The terms MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY are normative.
A plugin market source MUST be a UTF-8 JSON object.
The root object MUST contain the reserved $meta key.
All root keys other than $meta MUST be one of:
- a
plugin_idstring - a
namestring under the compatibility exception in Section 5
Each root key other than $meta MUST map to a PluginRecord object:
{
"$meta": {
"schema_version": 1,
"name": "AstrBot Official Plugin Market",
"version": "2026-11-25",
"homepage": "https://astrbot.app",
"repository": "https://github.com/AstrBotDevs/AstrBot_Plugins_Collection"
},
"owner/astrbot_plugin_foo": {
"author": "owner",
"name": "astrbot_plugin_foo",
"version": "1.0.0",
"repo": "https://github.com/owner/astrbot_plugin_foo",
"desc": "Plugin description"
},
"astrbot_plugin_bar": {
"author": "owner",
"version": "1.0.0",
"repo": "https://github.com/owner/astrbot_plugin_bar",
"desc": "Compatibility record using the root key as name"
}
}The root object MUST NOT contain top-level metadata fields outside $meta.
$meta MUST NOT be interpreted as a PluginRecord.
$meta MUST be a MarketMetadata object.
MarketMetadata MUST contain:
| Field | Type | Requirement |
|---|---|---|
schema_version |
integer | Market JSON schema version. MUST be 1 for this specification. |
MarketMetadata MAY contain:
| Field | Type | Requirement |
|---|---|---|
name |
string | Human-readable market source name. |
version |
string | Market source data version. MUST NOT be used as the schema version. |
homepage |
string | HTTPS homepage URL. |
repository |
string | HTTPS repository URL for the market source data. |
description |
string | Market source description. |
updated_at |
string | ISO 8601 timestamp. |
categories |
object[] | The source's category definitions in filter display order. |
$meta MUST NOT be used for:
- plugin identity
- install source resolution
- update source resolution
- plugin security validation
$meta.categories is optional. Each market source can define its own categories. Each category definition in the array has the following fields.
| Field | Type | Requirement |
|---|---|---|
id |
string | Required. MUST match [a-z0-9][a-z0-9_]* and be unique within the source. It SHOULD remain stable. |
display_name |
string | Required. MUST be non-empty after trimming. Used as the default display name. |
i18n |
object | Optional. Keys SHOULD be BCP 47 locale tags. Each locale object provides a non-empty display_name. |
{
"$meta": {
"schema_version": 1,
"categories": [
{
"id": "utility",
"display_name": "Utilities",
"i18n": {
"zh-CN": { "display_name": "实用工具" },
"ja-JP": { "display_name": "ユーティリティ" }
}
}
]
},
"owner/astrbot_plugin_example": {
"author": "owner",
"name": "astrbot_plugin_example",
"version": "1.0.0",
"repo": "https://github.com/owner/astrbot_plugin_example",
"desc": "Example plugin",
"category": "utility"
}
}A plugin record may use category to reference one category ID from the same source using an exact match. The WebUI uses the first non-empty label in this order. It tries the current locale, then its base language, then the default display_name. For example, zh-CN falls back to zh, then to the default name. Locale tags are matched case-insensitively.
The category filter row always shows All and the total plugin count. Additional filters correspond to valid categories referenced by at least one plugin. Plugins without a category or with an unknown category ID remain available in the full list.
When adding or updating an index entry, market source maintainers should read the category declared in the plugin's metadata.yaml. If the ID is defined in the source, they should copy it to the plugin record's category field. Market sources can define their own categories or use the recommended IDs. Recommended categories in the plugin development guide
plugin_id is defined as:
metadata.author + "/" + metadata.name
For every PluginRecord:
- The root key SHOULD equal
${author}/${name}. - The root key MAY equal
nameunder the compatibility exception below. -
authorMUST equalmetadata.yaml.author. -
nameMUST equalmetadata.yaml.name. -
plugin_idMUST be globally unique across the AstrBot plugin ecosystem. - Two
plugin_idvalues that are equal after lowercase normalization MUST NOT both exist. -
repoMUST NOT be used as plugin identity. -
root_dir_name, local directory names, display names, and registry names MUST NOT be used as plugin identity.
author and name:
- MUST be non-empty strings.
- MUST be trimmed.
- MUST NOT contain
/. - MUST NOT contain ASCII control characters.
- SHOULD be stable package identity values, not display names.
A root key MAY equal metadata.yaml.name instead of ${author}/${name}.
When this exception is used:
- The root key MUST NOT contain
/. -
authorMUST be present. -
nameMAY be omitted. - If
nameis present, it MUST equal the root key. - The root key MUST equal
metadata.yaml.name. - Consumers MUST construct
plugin_idas${author}/${root_key}.
Each PluginRecord MUST contain:
| Field | Type | Requirement |
|---|---|---|
author |
string | Plugin author namespace. MUST match metadata.yaml.author. |
name |
string | Plugin package name. MUST match metadata.yaml.name. MAY be omitted only when the root key equals metadata.yaml.name. |
version |
string | Plugin version. MUST match metadata.yaml.version. |
repo |
string | HTTPS GitHub repository URL used for source attribution and installation. |
desc |
string | Default plugin description. |
| Field | Type | Requirement |
|---|---|---|
display_name |
string | Human-readable plugin name. |
short_desc |
string | Short description for compact UI. |
download_url |
string | HTTPS ZIP download URL. Installed package identity MUST still match author/name. |
changelog_url |
string | Changelog URL for the version in this record. See section 7.3. |
logo |
string | HTTPS image URL or relative static asset path. |
tags |
string[] | Tag list. |
category |
string | Reference to one category ID in the same source's $meta.categories. |
support_platforms |
string[] | Supported platform keys. |
astrbot_version |
string | AstrBot version requirement expression. |
social_link |
string | Author or project HTTPS URL. |
contributors |
object[] | Contributors in display order. Each entry needs a non-empty string name and may include a public email string at contact.email and an HTTPS URL at contact.homepage. The detail page falls back to author if there are no valid entries. |
links |
object | Optional HTTPS URLs at homepage, issues, documentation, and community, plus an optional funding object. Its keys github, afdian, open_collective, buy_me_a_coffee, patreon, and ko_fi each take one HTTPS URL. custom takes an ordered list of HTTPS URLs. |
updated_at |
string | ISO 8601 timestamp. |
i18n |
object | Localized display fields. |
pinned |
boolean | Market recommendation flag. |
stars |
integer | Non-negative star count or ranking signal. |
download_count |
integer | Non-negative download count. |
repo MUST be one of:
https://github.com/{owner}/{repository}
https://github.com/{owner}/{repository}.git
https://github.com/{owner}/{repository}/tree/{branch}
owner, repository, and branch MUST match:
[A-Za-z0-9_-]+
repo MUST NOT be:
- an HTTP URL
- an SSH URL
- a non-GitHub URL
- a GitHub Enterprise URL
- a GitHub file, release, pull request, issue, or subdirectory URL
download_url MAY point to any HTTPS ZIP URL.
i18n keys SHOULD be BCP 47 locale tags.
Each locale object MAY contain:
{
"display_name": "Localized name",
"desc": "Localized description",
"short_desc": "Localized short description"
}changelog_url MUST be an absolute HTTPS URL. An anonymous GET MUST return UTF-8 Markdown with a Content-Type of text/markdown or text/plain. The document server MUST allow dashboards hosted on other origins to read the response via CORS.
The document MUST correspond to the version of the same plugin record and MAY include changelog entries up through that version. When publishing a new version, the market source SHOULD update version and changelog_url together. The source SHOULD omit the field when the document is unavailable. Consumers SHOULD let users read the changelog before confirming an update. Users can still confirm an update if the changelog fails to load.
Market sources MUST NOT use these fields inside PluginRecord objects:
| Field | Reason |
|---|---|
plugin_id |
Derived from author/name. |
market_plugin_id |
Runtime/client compatibility field, not market data. |
market_plugin_identifier |
Deprecated runtime/client compatibility field. |
root_dir_name |
Local installation field. |
local_plugin_name |
Local installation field. |
install_method |
Local installation field. |
registry_url |
Local installation field. |
registry_name |
Local installation field. |
installed_at |
Local installation field. |
Consumers MUST NOT use reserved fields for plugin identity.
The root key $meta is reserved for MarketMetadata.
These fields MAY be accepted by clients during migration, but new market sources MUST NOT emit them:
| Deprecated Field | Replacement |
|---|---|
support_platform |
support_platforms |
platform |
support_platforms |
Consumers MAY preserve unknown fields.
Consumers MUST NOT use unknown fields for:
- plugin identity
- install source resolution
- update source resolution
- security validation
A market source is valid only if all rules pass:
- The root JSON value is an object.
-
$metais present. -
$metais an object. -
$meta.schema_versionis the integer1. - Every root key other than
$metais either aplugin_idor anamekey. - Every root value other than
$metais aPluginRecordobject. - Every record contains all required fields except
nameMAY be omitted when the root key is anamekey. - Every required string field is non-empty after trimming.
-
authorand presentnamevalues do not contain/. - The root key equals
${author}/${name}exactly, or the root key equalsnameexactly under the compatibility exception. - No two IDs are equal after lowercase normalization.
-
repois an HTTPS GitHub repository URL. - If present,
download_urlis an HTTPS URL. - If present,
tagsis an array of strings. - If present,
support_platformsis an array of strings. - If present,
starsis a non-negative integer. - If present,
download_countis a non-negative integer. - If present,
updated_atis an ISO 8601 timestamp. - If present,
$meta.homepageis an HTTPS URL. - If present,
$meta.repositoryis an HTTPS URL. - If present,
$meta.updated_atis an ISO 8601 timestamp. - The package resolved from
repoordownload_urlcontainsmetadata.yaml. -
metadata.yaml.authorequalsauthor. -
metadata.yaml.nameequalsname. -
metadata.yaml.versionequalsversion. - If present,
changelog_urlmeets the requirements of section 7.3.
For market installation:
- The client sends the selected
plugin_idand registry source to the backend. - The backend resolves the
PluginRecordfrom that registry source byplugin_id. - The backend installs using
download_urlwhen available; otherwise it installs usingrepo. - After installation, the backend reads the installed
metadata.yaml. - The installed
metadata.yaml.author/nameMUST equal the selectedplugin_id. - If identity validation fails, installation MUST fail.
- A successful market install MAY persist
repo,download_url, registry information, and install time in local state. - When a plugin references a valid category, the
categoryfield in the same installation record stores a snapshot containingid,display_name, and optionali18n. The field is omitted when the reference cannot be resolved.
The WebUI in AstrBot v4.30.0 and later supports opening the market plugin installation flow through URL parameters. Market websites can let users configure their own WebUI address and generate a link such as:
https://bot.example/#/extension/plugins?market_plugin_id=owner%2Fastrbot_plugin_foo®istry_url=https%3A%2F%2Fmarket.example%2Fplugins.json
-
market_plugin_id: Required. Theauthor/nameidentifier defined in Section 5, matching the target market record's plugin identity. -
registry_url: Optional. The full HTTPS URL of the market source JSON. Omitting it uses the default market source.
The parameters belong to the query string after #/extension/plugins, and their values MUST be URL-encoded. They are WebUI navigation parameters, MUST NOT be included in PluginRecord, and MUST NOT be combined with the direct repository installation parameter install_url.
If the target source has not been added, the WebUI first asks the user to confirm adding it, then previews the plugin and waits for installation confirmation. Installation follows the rules in this section, including preferring download_url and validating package identity.
For market-installed plugins:
- Update checks MUST use the registry source recorded at installation time.
- Update checks MUST resolve the market record by
plugin_id. - Version comparison MUST use the installed metadata version and the market record
version. - Update execution MUST use the resolved market record
repo/download_url. - Regular plugin updates preserve the category snapshot in the installation record.
For non-market installs:
- URL installs, Git installs, and upload installs MUST NOT be treated as market installs.
- They MAY persist
plugin_idfrom installedmetadata.yaml. - They MUST NOT enable market update checks unless explicitly bound to a market source.
When binding an installed non-market plugin to a market source:
- The installed plugin identity MUST be read from installed
metadata.yaml. - Candidate market records MUST have the same
plugin_id. - Candidate market records SHOULD have the same repository identity.
- Binding MUST persist the selected registry source and
plugin_id. - Market source binding stores a category snapshot from the selected source using the installation rules.
Consumers MAY read legacy market sources during migration.
For legacy sources:
- Consumers MAY accept sources without
$meta.schema_versionduring migration. - Consumers SHOULD construct
plugin_idfromauthor/name. - Consumers SHOULD reject entries without
authorornamefor market installation. - Consumers MAY use legacy root keys for display only.
- Consumers MUST NOT use legacy root keys as plugin identity unless the key equals
${author}/${name}.
New market sources MUST include $meta.schema_version.
- 首页
- 文档入口
- Top Level
- community events
- config
- 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
- Script Deployment
- Installation via System Package Manager
- Preface
- dev
- AstrBot Configuration File
- API Scope–Endpoint Reference
- AstrBot HTTP API
- AstrBot Plugin Market JSON Specification
- AstrBot Plugin Market JSON Specification
- Developing a Platform Adapter
- plugin
- AI
- Agents
- Sessions and Conversations
- Models
- Other APIs
- Tools
- Documentation moved
- Text to Image
- Handling Message Events
- Plugin Configuration
- Plugin Internationalization
- Documentation moved
- Shared Bridge API
- Interactive message component
- Standalone plugin page
- Backend Web APIs
- Workbench page
- 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
- DeepSeek STT Integration
- DeepSeek TTS Integration
- 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 Execution Mode {#agent-runner}
- Agent Sandbox Environment
- astrbot sandbox
- AstrBot CLI {#cli-commands}
- Docker-based Code Interpreter
- Built-in Commands
- computer
- Context Compression
- Session Configuration Mappings (formerly Custom Rules)
- AstrBot Knowledge Base
- MCP
- AstrBot Plugins {#astrbot-star}
- Proactive Capabilities
- Skills {#anthropic-skills}
- Subagents {#agent-handsoff-and-subagent}
- Unified Webhook Mode
- Web Search
- DeepSeek Search API
- SerpApi
- WebUI