Official plugins are billed separately. For per-plugin pricing details, see Hosted Agents Pricing.
Plugins and MCP: When an MCP server bundled inside a plugin requires access credentials, inject them through a Vault; tool enablement and permission rules work the same way as for MCP servers declared directly on an agent. See MCP for details.
Official plugins vs. custom plugins
Official plugin catalog
The official plugin catalog displays published plugins only. Each plugin can contain:
You can list published official plugins via the API. By default, the endpoint returns both official plugins and custom plugins in the current project; pass
scope=official to return official plugins only. The examples below read your API key from the KIMI_API_KEY environment variable:
List responses are paginated: plugins are returned in
items, and next_page_token is used to fetch the next page.Create and manage custom plugins
You can create custom plugins via thekha CLI, console, or API. The examples below show both cURL and kha CLI commands for validating, creating, publishing versions, downloading, and archiving plugins; see kha CLI for CLI workflows and Console for console instructions.
Prepare the plugin package
The root directory of a plugin ZIP archive must contain a manifest file namedkimi.plugin.json with the following top-level fields:
interface must contain the following fields:
When
skills is used, you must also provide displayName and description for each skill keyed by skill directory name under interface.skillOverrides. When mcpServers is used, provide both fields keyed by MCP server key under interface.mcpOverrides.
Text inside interface is written in defaultLocale, and you must also include a translation file for the other locale under locales/: zh-CN.json when defaultLocale is en-US, or en-US.json when defaultLocale is zh-CN. The localization file must translate both the main interface copy and all corresponding entries in skillOverrides and mcpOverrides.
Plugin archives and projects are subject to the following limits:
- ZIP archive size up to 64 MiB, uncompressed size up to 128 MiB, and up to 500 entries.
- Up to 50 active custom plugins per project.
- Retains the 20 most recent versions per plugin.
Validate and create a plugin
Call the validation endpoint first to check your plugin archive, then create the plugin and publish its initial version:200, while report.ok in the response body is false—resolve each item in issues before creating the plugin.
plugin, version, and report. Save .plugin.id as PLUGIN_ID for subsequent commands. To list custom plugins in your current project, run:
Publish a new version
The version number is read directly from theversion field in kimi.plugin.json rather than passed as a separate request parameter. After updating version and your archive contents, publish a new immutable version:
version must not have been published before; duplicate versions return 409 (conflict_error). The name in the new archive must match the existing plugin—renaming requires creating a new plugin. Each release produces an immutable version, and version lists are ordered by semantic version from newest to oldest.
latest resolves to the highest published semantic version. Pre-release versions are excluded unless no stable release exists, in which case latest resolves to the highest pre-release version.
Download and archive
Download the archive for a specific plugin version:404. Archived plugins cannot be used in new agent versions, and the plugin name becomes available for reuse.
Use plugins in an agent
Official agents: ready out of the box
Official agents provided by the platform (such as PPT Assistant) come preconfigured with the plugins they need—no setup is required. When you create a session directly with an official agent, the MCP servers and skills bundled in its plugins take effect automatically at runtime. Select an official agent and start a session in the Console to begin right away. For the PPT Assistant configuration, see Design a PPT Generation Agent.Custom agents: reference by ID
Custom agents reference plugins byplugin_id in their plugins array. Official plugins must be currently published, and custom plugins must be created with at least one published version first.
Referencing an official plugin requires only plugin_id; you cannot explicitly specify version. For custom plugins, version resolution works as follows:
- Omit
version: Pins the latest published version available when creating or updating the agent. - Specify an exact published version: Pins that version.
- Pass
latest: Leaves the version unpinned and re-resolves to the currentlatestversion on each wakeup.
version or specify an exact version, the pinned version appears in the version field of the agent response; when you pass latest, "latest" is retained and re-resolved on every wakeup. You can select official plugins on the Agents form in the console, or include their plugin_id entries in plugins when creating or updating an agent via the API.
Version pinning for official plugins
Official plugin versions are maintained by the platform. Whenever a new agent version is created, the platform pins the official plugin version active at that time, so existing agents do not upgrade automatically; to adopt a newer official plugin version, update the agent and resubmit the plugin reference.Use plugins in the console
In the console, you can browse official plugins, create custom plugins, and select plugins while creating or configuring an agent. For navigation paths and step-by-step instructions, see Console.Next steps
Attach plugins to an agent
Create and update agents that reference plugins.
Manage plugin versions and archival
Publish, download, and archive custom plugins.
Manage plugin credentials
Store access credentials required by plugins and MCP servers.