Integrate AI Agent in Applications
Build and deploy AI agent services with the CloudBase Agent SDK (TypeScript / Python), connecting agents to web / mini program frontends over the AG-UI protocol
How to Use
See How to Use Skill for detailed usage.
Test Skill
You can use the following prompts to test:
- "Help me build an AI agent service with streaming output using the CloudBase Agent SDK"
- "Deploy a LangGraph agent to CloudRun through the CloudBase Agent SDK"
- "Build a web frontend that consumes AG-UI protocol events and renders streaming agent replies"
Use AI to build and deploy agent services
Installation and Viewing
To install all CloudBase Skills, run:
npx skills add tencentcloudbase/cloudbase-skills
To install only the current Skill, run:
npx skills add https://github.com/tencentcloudbase/skills --skill cloudbase-agent
View current Skill online: cloudbase-agent
Skill Rules Original Text
View SKILL.md Original
## Sibling skills (local only)
Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context.
# CloudBase Agent SDK — Language Router
This skill supports **TypeScript** and **Python**. Determine the language first, then read the corresponding skill file. If the user does not explicitly specify which programming language to use, TypeScript must be enforced.
## Step 1: Determine Language
| Signal | Language |
|--------|----------|
| User says "TypeScript", "Node.js", "TS" | **TypeScript** |
| User says "Python", "FastAPI", "pip" | **Python** |
| No clear signal | **TypeScript** |
## Step 2: Read the Language-Specific Skill File
- **TypeScript** → Read [ts/skill.md](https://cnb.cool/tencent/cloud/cloudbase/CloudBase-AI-Toolkit/-/git/raw/main/config/source/skills/cloudbase-agent/ts/skill.md) — then follow ALL instructions in that file
- **Python** → Read [py/skill.md](https://cnb.cool/tencent/cloud/cloudbase/CloudBase-AI-Toolkit/-/git/raw/main/config/source/skills/cloudbase-agent/py/skill.md) — then follow ALL instructions in that file
**⚠️ IMPORTANT:** After determining the language, you MUST read the corresponding skill file above. Do NOT proceed with any code generation until you have read it. Each language skill file is self-contained with its own quick start, routing table, deployment instructions, and adapter guides.
Reference Files
Detailed rule files for this Skill (source-repo CNB mirror, directly reachable from mainland China):
py/adapter-coze.mdpy/adapter-development.mdpy/adapter-langgraph.mdpy/agent-deployment.mdpy/authentication.mdpy/references/observability.mdpy/references/recipes.mdpy/references/server.mdpy/references/storage.mdpy/references/tools.mdpy/server-quickstart.mdpy/skill.mdts/adapter-development.mdts/adapter-langchain.mdts/adapter-langgraph.mdts/agent-deployment.mdts/agui-protocol.mdts/server-quickstart.mdts/skill.mdts/ui-clients.mdts/ui-miniprogram.md