Documentation Index
Fetch the complete documentation index at: https://docs.ag-kit.dev/llms.txt
Use this file to discover all available pages before exploring further.
使用标准部署方法将AG-Kit服务器部署至云平台。
腾讯云(推荐)
AG-Kit将提供与腾讯云的原生集成,带来最佳部署体验:
- 一键部署:通过单条命令行界面命令完成部署
- 快速运行时:针对快速启动和执行进行优化
- 隔离性:具备适当隔离的安全运行时环境
- 原生集成:内置对腾讯云服务的支持
即将推出 - 命令行界面工具与腾讯云集成正在开发中
无服务器部署
Vercel (TypeScript)
// api/agent.ts
import { agui } from '@ag-kit/server';
const handler = agui.sendMessage.createServerAdapter(() => ({ agent: myAgent }));
export default handler;
{
"functions": {
"api/agent.ts": {
"maxDuration": 30
}
}
}
容器化部署
Google Cloud Run
gcloud run deploy agkit-server \
--source . \
--platform managed \
--region us-central1 \
--allow-unauthenticated \
--port 3000
后续步骤