- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill ts -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/HEAD/config/.claude/skills/cloudbase-agent/tsTừ nhà phát hành
TypeScript SDK for deploying AI agents as HTTP services using the AG-UI protocol.
Note: This skill is for TypeScript/JavaScript projects only.
Use this skill for AI agent development when you need to:
Do NOT use for:
ai-model-* skills)cloud-functions skill)cloudrun-development skill)Choose the right adapter
Deploy the agent server
@cloudbase/agent-server to expose HTTP endpointsmanageAgent MCP tool (see agent-deployment)Build the UI client
@ag-ui/client for web applications@cloudbase/agent-ui-miniprogram for WeChat Mini Programs/send-message or /agui endpointsFollow the routing table below to find detailed documentation for each task
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,
});
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
---name: cloudbase-agentdescription: Build and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI…---# config/.claude/skills/cloudbase-agent/ts/skill.mdTổng quan
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.
Câu hỏi thường gặp
Tải config/.claude/skills/cloudbase-agent/ts/skill.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.