@seclink: Is this the recently released 'Guide for Developers to Access WeChat AI Ecosystem'? https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html…
Summary
WeChat released the developer access guide for Mini Program AI development mode (beta), allowing developers to encapsulate Mini Program functions as SKILLs via MCP protocol for AI invocation. It is currently in internal testing.
View Cached Full Text
Cached at: 06/15/26, 05:04 PM
Mini Program AI Development Mode (beta) Integration Guide | WeChat Open Documentation
Source: https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html
Mini Program AI Development Mode (hereinafter referred to as this mode) provides an intelligent runtime environment and development framework. Based on this framework, developers abstract the functions of a mini program into atomic interfaces and atomic components, and encapsulate them into SKILLs for the Mini Program AI to invoke.
When a user initiates a conversation through the Mini Program AI, the Mini Program AI analyzes and selects appropriate atomic interfaces and atomic components via the Mini Program MCP protocol, completes data processing and task execution, and finally integrates the results for the user.
In this mode, user login identity remains consistent with the original mini program. Developers can share login credentials within the mini program via the storage interface, or use wx.login, wx.getPhoneNumber, and other interfaces to complete the login flow.
This mode is currently in beta testing. Code submission for Mini Program AI Development Mode is not yet open. The submission date will be announced separately. Do not merge any code related to this mode into the official version for review, to avoid affecting normal version releases.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5)Basic Concepts
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#_1%E3%80%81%E5%B0%8F%E7%A8%8B%E5%BA%8F-MCP)1. Mini Program MCP
The Mini Program MCP is a protocol that exposes callable capabilities to the Mini Program AI. Unlike standard MCP, the Mini Program MCP adapts to the characteristics of mini program development. Developers only need to provide a complete SKILL implementation according to the design, and the Mini Program AI can correctly reason and execute the corresponding atomic interfaces to fulfill user requests.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#_2%E3%80%81%E5%8E%9F%E5%AD%90%E6%8E%A5%E5%8F%A3)2. Atomic Interface
The smallest execution unit in this mode, encapsulating a single business function with standardized input parameters and output structure, running in an independent JS environment of the WeChat client.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#_3%E3%80%81%E5%8E%9F%E5%AD%90%E7%BB%84%E4%BB%B6)3. Atomic Component
The visual display unit of an atomic interface. It renders the structured data returned by the atomic interface as a GUI card, displayed in the conversation flow.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#_4%E3%80%81SKILL)4. SKILL
A complete capability encapsulation for completing tasks in specific scenarios. A mini program can encapsulate multiple SKILLs. Each SKILL includes: a business description (SKILL.md), a declaration of model-callable capabilities (mcp.json), and the implementation of atomic interfaces and atomic components.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97)Development Guide
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E7%94%B3%E8%AF%B7%E5%BC%80%E5%90%AF)Apply for Activation
On the web version of “WeChat Official Platform - Basic Functions - AI Capabilities” or in the mini program “WeChat Developer Assistant” under “Management - WeChat AI Management”, select “Development Mode” as the access mode to apply.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E6%8E%A5%E5%85%A5%E6%96%B9%E5%BC%8F)Integration Method
Developers can refer to the Integration Method (https://developers.weixin.qq.com/miniprogram/dev/ai/integration) to abstract mini program functions into atomic interfaces and atomic components, and encapsulate them into SKILLs for the Mini Program AI to invoke.
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E8%BF%90%E8%A1%8C%E6%9C%BA%E5%88%B6)Operating Mechanism
The operating mechanism of this mode involves interactions among the WeChat client runtime, the Mini Program AI backend, and third-party services. The execution environment for atomic interfaces and atomic components in the WeChat client is independent of the mini program runtime environment. For details, see the Operating Mechanism (https://developers.weixin.qq.com/miniprogram/dev/ai/operating-mechanism).
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E8%B0%83%E8%AF%95%E6%8C%87%E5%8D%97)Debugging Guide
For development integration, you need to download and install the WeChat Developer Tool (Nightly Electron Build, latest version) (https://developers.weixin.qq.com/miniprogram/dev/devtools/log#nightly). For specific development and debugging instructions, see the Debugging Guide (https://developers.weixin.qq.com/miniprogram/dev/ai/debugging).
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5)Best Practices
For guidance on how to properly encapsulate SKILLs so that the Mini Program AI can accurately recognize user intents and provide a better user experience, see Best Practices (https://developers.weixin.qq.com/miniprogram/dev/ai/best-practices).
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E7%BB%84%E4%BB%B6%E4%B8%8E-API-%E6%94%AF%E6%8C%81)Component and API Support
The interface capabilities provided in this mode are largely consistent in usage with those in the mini program environment. Compared to the mini program environment, this mode adds several unique APIs and supports most of the original built-in components and APIs. For details, see Component and API Support (https://developers.weixin.qq.com/miniprogram/dev/ai/reference/component).
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E8%AE%BE%E8%AE%A1%E8%A7%84%E8%8C%83)Design Guidelines
Atomic components are rendered as GUI cards in the conversation flow, as part of WeChat’s native interface. To maintain a unified design style, see Design Guidelines (https://developers.weixin.qq.com/miniprogram/dev/ai/design-guild).
# (https://developers.weixin.qq.com/miniprogram/dev/ai/guide.html#%E7%A4%BA%E4%BE%8B-Demo)Example Demo
We provide an example demo (https://github.com/wechat-miniprogram/ai-mode-demo) that demonstrates the complete capabilities. You can open it with the WeChat Developer Tool to preview and experience it.
Note: The appid in the demo code must be replaced with an appid that has applied for “Development Mode” in “WeChat Official Platform - Basic Functions - AI Capabilities”.
Similar Articles
@geekbb: WeChat's official AI development mode auxiliary toolset automatically converts Mini Program source code into the SKILL format required by WeChat AI development mode, with built-in validation and evaluation.
WeChat officially released an AI development mode auxiliary toolset that can automatically convert Mini Program source code into the SKILL format required by WeChat AI development mode, and provides validation and evaluation functions to improve development efficiency.
@MoonInAI: Meow, I said before that AI side-hustle beginners must go for mini programs, and now it really came true!!! Just saw the news: WeChat mini programs major positive new opportunity. WeChat mini program personal entity virtual payment collection opened. Mini program appreciation feature opens at the end of August. Coincidentally, I recently organized the pitfalls I stepped on while making mini programs into an open-source wechat-m…
The author released the open-source project wechat-miniprogram-builder, an AI Skill covering the entire lifecycle of WeChat mini programs, and mentioned platform benefits such as the activation of virtual payment collection for individual WeChat mini program entities and the appreciation feature opening at the end of August.
@Fenng: WeChat officially releases developer tool Skill
WeChat officially released a developer tool called Skill.
@aehyok: WeChat Agent is here, it's finally here. Coincidentally, the arrival of WeChat Agent perfectly complements the Skill of the dumpling restaurant I talked about yesterday. WeChat Agent + real economy is gradually opening the prologue of WeChat's AI landscape. Auto mode: WeChat Agent can directly operate your mini-program…
WeChat Agent has been officially released, capable of directly operating mini-program pages and combining with merchant-customized Skills and MCP services, marking the extension of WeChat's AI landscape into the real economy.
@0xQiYan: WeChat Development Competition – Free Access to Deepseek and GLM https://chatapi.weixin.qq.com
The WeChat Development Competition allows developers to use Deepseek and GLM models for free, promoting AI applications on the WeChat platform.