Introduction
CloudBase AI provides unified large model access and Agent development capabilities, helping developers quickly integrate AI capabilities in Mini Programs, Web, Official Accounts, Enterprise WeChat Customer Service, and other scenarios.
Core Capabilities
| Capability | Description |
|---|---|
| Call Large Models | Directly call DeepSeek, Hunyuan, and other large models, supporting text generation, streaming output, and tool calling |
| Agent Development | Develop intelligent agents using frameworks like LangChain, LangGraph, CrewAI |
| AI Tools | Use AI coding capabilities directly in IDEs like Cursor and WeChat DevTools |
| Multi-Platform Access | Mini Programs, Web, Official Accounts, Mini Program Customer Service, Enterprise WeChat Customer Service, Service Account Customer Service |
| Agent UI Components | Out-of-the-box chat interface components, supporting Mini Programs, React, WeDa |
Prerequisites
- Have a Tencent Cloud account, activate a CloudBase environment and get your environment ID
- Purchase a Token resource pack and enable the required models in Console → AI → Text Generation Models
Quick Start
Choose the appropriate access method based on your needs:
| Scenario | Recommended Method | SDK / Protocol | Documentation |
|---|---|---|---|
| Quick AI Conversation Experience | Quick Start | Mini Program wx.cloud.extend.AI (Base Library 3.15.1+) / Web @cloudbase/js-sdk | Mini Program / Web |
| Use AI Coding in IDE | AI Tools | OpenAI-compatible protocol | View Documentation |
| Direct Large Model API Call | Call Large Models | Multiple SDKs and HTTP API | View Documentation |
| Develop Custom Agent | Agent Development | LangChain / LangGraph / CrewAI | View Documentation |
| Quick Chat Interface Setup | Agent UI Components | Mini Program component / React component / WeDa component | Mini Program / React / WeDa |
Call Large Models
CloudBase AI supports accessing DeepSeek, Hunyuan, and other large models through Token resource packages, supporting multiple calling methods:
| Calling Method | Use Case | Documentation |
|---|---|---|
| Mini Program SDK | WeChat Mini Program / Mini Game | Mini Program Access |
| Web SDK | Browser-based Web Applications | Web Access |
| Node SDK | Cloud Functions, Cloud Run, Server-side | Node Access |
| cURL / HTTP API | Backend Services, Scripts | cURL Access |
| OpenAI SDK | Projects Compatible with OpenAI SDK | OpenAI SDK Access |
For more information, see Call Large Models.
Agent Development
Develop Agents using open-source frameworks and deploy to CloudBase:
Supported Frameworks
| Framework | Language | Features | Documentation |
|---|---|---|---|
| LangChain | TypeScript / Python | Mature and stable, rich ecosystem | Development Guide |
| LangGraph | TypeScript / Python | Graph-structured workflows, fine-grained control | Development Guide |
| CrewAI | Python | Multi-Agent collaboration | Development Guide |
Deployment Methods
- HTTP Cloud Function Deployment - Quick deployment, pay-as-you-go
- Cloud Run Deployment - Long connection support, high concurrency scenarios
For more information, see Agent Development Overview.
Agent UI Components
Out-of-the-box chat interface components for quickly building AI conversation applications:
| Component | Use Case | Documentation |
|---|---|---|
| Mini Program Source Code Component | WeChat Mini Program Native Development | User Guide |
| React Component | React Web Applications | User Guide |
| WeDa Visual Component | WeDa Low-Code Platform | User Guide |
More Features:
Launch and Release
Publish Agents to various platforms:
App Release
| Release Channel | Description | Documentation |
|---|---|---|
| Mini Program | Publish as WeChat Mini Program | Release Guide |
| PC / H5 | Publish as Web Application | Release Guide |
Customer Service Integration
| Channel | Description | Documentation |
|---|---|---|
| Official Account Customer Service | Integrate with Official Account (Subscription Account) Customer Service | Access Guide |
| Mini Program Customer Service | Integrate with Mini Program Customer Service | Access Guide |
| Enterprise WeChat Customer Service | Integrate with Enterprise WeChat Customer Service | Access Guide |
| Service Account Customer Service | Integrate with Service Account Customer Service | Access Guide |
AI Mini Program Growth Plan
Participate in the AI Mini Program Growth Plan to get for free:
- 100 million Token resource package
- 10,000 image generation resource package
- 6 months CloudBase personal edition environment
For details, see the Participation Guide.
More Resources
If you have any questions, welcome to join the community:
