writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
cloudbase-agent-tsBuild 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) understandin…
Independent GitHub snapshot · Automated classification · Original documentation governs
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 endpointsBuild 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
| Task | Read |
|---|---|
| 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 |
import { run } from "@cloudbase/agent-server";
import { LanggraphAgent } from "@cloudbase/agent-adapter-langgraph";
run({
createAgent: () => ({ agent: new LanggraphAgent({ workflow }) }),
port: 9000,
});