Skip to main content

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

CapabilityDescription
Call Large ModelsDirectly call DeepSeek, Hunyuan, and other large models, supporting text generation, streaming output, and tool calling
Agent DevelopmentDevelop intelligent agents using frameworks like LangChain, LangGraph, CrewAI
AI ToolsUse AI coding capabilities directly in IDEs like Cursor and WeChat DevTools
Multi-Platform AccessMini Programs, Web, Official Accounts, Mini Program Customer Service, Enterprise WeChat Customer Service, Service Account Customer Service
Agent UI ComponentsOut-of-the-box chat interface components, supporting Mini Programs, React, WeDa

Prerequisites

  1. Have a Tencent Cloud account, activate a CloudBase environment and get your environment ID
  2. 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:

ScenarioRecommended MethodSDK / ProtocolDocumentation
Quick AI Conversation ExperienceQuick StartMini Program wx.cloud.extend.AI (Base Library 3.15.1+) / Web @cloudbase/js-sdkMini Program / Web
Use AI Coding in IDEAI ToolsOpenAI-compatible protocolView Documentation
Direct Large Model API CallCall Large ModelsMultiple SDKs and HTTP APIView Documentation
Develop Custom AgentAgent DevelopmentLangChain / LangGraph / CrewAIView Documentation
Quick Chat Interface SetupAgent UI ComponentsMini Program component / React component / WeDa componentMini 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 MethodUse CaseDocumentation
Mini Program SDKWeChat Mini Program / Mini GameMini Program Access
Web SDKBrowser-based Web ApplicationsWeb Access
Node SDKCloud Functions, Cloud Run, Server-sideNode Access
cURL / HTTP APIBackend Services, ScriptscURL Access
OpenAI SDKProjects Compatible with OpenAI SDKOpenAI SDK Access

For more information, see Call Large Models.

Agent Development

Develop Agents using open-source frameworks and deploy to CloudBase:

Supported Frameworks

FrameworkLanguageFeaturesDocumentation
LangChainTypeScript / PythonMature and stable, rich ecosystemDevelopment Guide
LangGraphTypeScript / PythonGraph-structured workflows, fine-grained controlDevelopment Guide
CrewAIPythonMulti-Agent collaborationDevelopment Guide

Deployment Methods

For more information, see Agent Development Overview.

Agent UI Components

Out-of-the-box chat interface components for quickly building AI conversation applications:

ComponentUse CaseDocumentation
Mini Program Source Code ComponentWeChat Mini Program Native DevelopmentUser Guide
React ComponentReact Web ApplicationsUser Guide
WeDa Visual ComponentWeDa Low-Code PlatformUser Guide

More Features:

Launch and Release

Publish Agents to various platforms:

App Release

Release ChannelDescriptionDocumentation
Mini ProgramPublish as WeChat Mini ProgramRelease Guide
PC / H5Publish as Web ApplicationRelease Guide

Customer Service Integration

ChannelDescriptionDocumentation
Official Account Customer ServiceIntegrate with Official Account (Subscription Account) Customer ServiceAccess Guide
Mini Program Customer ServiceIntegrate with Mini Program Customer ServiceAccess Guide
Enterprise WeChat Customer ServiceIntegrate with Enterprise WeChat Customer ServiceAccess Guide
Service Account Customer ServiceIntegrate with Service Account Customer ServiceAccess 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: