cloudbase-agent
Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol
Install / Use
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill tsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of cloudbase-agent
cloudbase-agent scores 82/100 on our quality scale, 606th of 746 Operations skills we index.
Its SKILL.md is 3.7 KB long, split into 5 sections with 2 code examples: a solid amount of guidance for an agent.
With 1,124 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 12 days ago, so cloudbase-agent is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-07. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
cloudbase-agent compared with similar skills
All 4 of these similar skills score higher than cloudbase-agent; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cloudbase-agent (this skill)by TencentCloudBase | 82 | 1.1k | 12d ago | SKILL.md |
| headroomby headroomlabs-ai | 100 | 74.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 74.0k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 14d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 14d ago | SKILL.md |
Frequently asked questions
- How do I install cloudbase-agent?
- Run
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-agent. The install tabs above show the steps for each supported agent. - Which AI agents does cloudbase-agent work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is cloudbase-agent safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cloudbase-agent still maintained?
- The repository was last updated 12 days ago, so cloudbase-agent is actively maintained.
Skill content
View source on GitHubname: cloudbase-agent description: "Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol. Use when: (1) deploying agent servers with @cloudbase/agent-server, (2) using LangGraph adapter with ClientStateAnnotation, (3) using LangChain adapter with clientTools(), (4) building custom adapters that implement AbstractAgent, (5) understanding AG-UI protocol events, (6) building web UI clients with @ag-ui/client, (7) building WeChat Mini Program UIs with @cloudbase/agent-ui-miniprogram." version: 2.34.8 alwaysApply: true
Cloudbase Agent (TypeScript)
TypeScript SDK for deploying AI agents as HTTP services using the AG-UI protocol.
Note: This skill is for TypeScript/JavaScript projects only.
When to use this skill
Use this skill for AI agent development when you need to:
- Deploy AI agents as HTTP services with AG-UI protocol support
- Build agent backends using LangGraph or LangChain frameworks
- Create custom agent adapters implementing the AbstractAgent interface
- Understand AG-UI protocol events and message streaming
- Build web UI clients that connect to AG-UI compatible agents
- Build WeChat Mini Program UIs for AI agent interactions
Do NOT use for:
- Simple AI model calling without agent capabilities (use
ai-model-*skills) - CloudBase cloud functions (use
cloud-functionsskill) - CloudRun backend services without agent features (use
cloudrun-developmentskill)
How to use this skill (for a coding agent)
-
Choose the right adapter
- Use LangGraph adapter for stateful, graph-based workflows
- Use LangChain adapter for chain-based agent patterns
- Build custom adapter for specialized agent logic
-
Deploy the agent server
- Use
@cloudbase/agent-serverto expose HTTP endpoints - Configure CORS, logging, and observability as needed
- Prefer deploying to CloudBase using
manageAgentMCP tool (see agent-deployment) - Before deploy, read Dependency Alignment Policy in agent-deployment to avoid cloud build dependency errors
- Use
-
Build the UI client
- Use
@ag-ui/clientfor web applications - Use
@cloudbase/agent-ui-miniprogramfor WeChat Mini Programs - Connect to the agent server's
/send-messageor/aguiendpoints
- Use
-
Follow the routing table below to find detailed documentation for each task
Routing
| Task | Read | |------|------| | Deploy agent to CloudBase (read this first) | agent-deployment | | Deploy agent server (@cloudbase/agent-server) | server-quickstart | | Use LangGraph adapter | adapter-langgraph | | Use LangChain adapter | adapter-langchain | | Build custom adapter | adapter-development | | Understand AG-UI protocol | agui-protocol | | Build UI client (Web or Mini Program) | ui-clients | | Deep-dive @cloudbase/agent-ui-miniprogram | ui-miniprogram |
Quick Start
Prerequisites: Node.js >= 20 is required.
1. Install dependencies:
npm install @cloudbase/agent-server@latest @cloudbase/agent-adapter-langgraph@latest
Critical: Always use @latest for all @cloudbase/agent-* packages. For dependency version rules, see Dependency Alignment Policy in agent-deployment.md.
2. Create and run your agent:
import { run } from "@cloudbase/agent-server";
import { LanggraphAgent } from "@cloudbase/agent-adapter-langgraph";
run({
createAgent: () => ({ agent: new LanggraphAgent({ workflow }) }),
port: 9000,
});
Related Skills
headroom
74.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
74.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
