Managed model access
Call Hunyuan, DeepSeek, and other models through one SDK, or use OpenAI / Anthropic-compatible endpoints with existing toolchains.
Connect Hunyuan, DeepSeek, and other models; orchestrate tools and state with agent-server; stream interactions to Web, Mini Programs, and business apps via AG-UI.
Text, tool calls, and state changes during Agent execution reach the client step by step via AG-UI — not only the final message.
Hunyuan · DeepSeek · compatible APIs
agent-server · Framework adapter
AG-UI · React · Mini Program
Models are only the start — runtime protocol, business tools, knowledge data, and UI shape the final experience.
Call Hunyuan, DeepSeek, and other models through one SDK, or use OpenAI / Anthropic-compatible endpoints with existing toolchains.
generateText for one-shot generation, streamText for incremental text, and Function Tools connect models to business actions.
Adapt LangChain, LangGraph, CrewAI, and other frameworks into AG-UI services with unified messages, state, and tool events.
React and Mini Program components render messages, reasoning, and tool calls — or customize UI on the Core layer.
Use pgvector, vectorscale, and Chinese tokenization extensions in PG mode to organize retrieval and RAG pipelines.
Generate apps from natural language, or let MCP / Skill-enabled dev tools manage CloudBase resources and workflows.
AI products feel real not because of another chat box, but because models call real business capabilities and the process is understandable in the UI.Product design principle
Swap Agent frameworks on the backend while the frontend consumes the same events; client tools can bring business UI back into the execution loop.
View AG-UI protocolExamples use current in-repo SDK, agent-server, and React UI docs — no incorrect competitor model references.
Node SDK generates text via the cloudbase model group; available models and provisioning follow the dev platform.
const tcb = require('@cloudbase/node-sdk')
const app = tcb.init({
env: '<envId>',
timeout: 60000
})
const model = app.ai().createModel('cloudbase')
const result = await model.streamText({
model: 'hy3-preview',
messages: [
{ role: 'user', content: 'Summarize this weekly report' }
]
})
for await (const text of result.textStream) {
process.stdout.write(text)
}agent-server exposes Express routes; adapters convert framework Agent messages and tool events to the unified protocol.
import express from 'express'
import { createExpressRoutes }
from '@cloudbase/agent-server'
import { LangchainAgent }
from '@cloudbase/agent-adapter-langchain'
import { createAgent as createGraph }
from './agent.js'
const app = express()
createExpressRoutes({
express: app,
createAgent: () => ({
agent: new LangchainAgent({
agent: createGraph()
})
})
})
app.listen(9000)React Core manages protocol and state; UI components provide ready-made messages, tool calls, and input areas.
import { AgKit, CloudBaseTransport }
from '@ag-kit/react-core'
import { AgKitUI }
from '@cloudbase/agent-react-ui'
const transport = new CloudBaseTransport({
app,
agentId: '<agent-id>'
})
export function Assistant() {
return (
<AgKit transport={transport}>
<AgKitUI
locale="en-US"
inputPlaceholder="Ask me anything"
/>
</AgKit>
)
}Keep familiar Agent frameworks while connecting deployment, protocol, and CloudBase resources.
Managed models and OpenAI / Anthropic-compatible APIs.
LangChain, LangGraph, CrewAI, and custom adapters.
React, Mini Program, AI Builder, and MCP tools.
Pick a model, connect a real tool, then deliver the execution process to the user interface.