Skip to main content
Deploy AG-Kit server to cloud platforms using standard deployment methods. AG-Kit will provide native integration with Tencent Cloud for the best deployment experience:
  • One-Click Deployment: Deploy with a single CLI command
  • Fast Runtime: Optimized for quick startup and execution
  • Isolation: Secure runtime environment with proper isolation
  • Native Integration: Built-in support for Tencent Cloud services
Coming soon - CLI tool and Tencent Cloud integration are in development.

Serverless Deployment

Vercel (TypeScript)

// api/agent.ts
import { agui } from '@ag-kit/server';

const handler = agui.sendMessage.createServerAdapter(() => ({ agent: myAgent }));

export default handler;
vercel.json
{
  "functions": {
    "api/agent.ts": {
      "maxDuration": 30
    }
  }
}

Container Deployment

Google Cloud Run

gcloud run deploy agkit-server \
  --source . \
  --platform managed \
  --region us-central1 \
  --allow-unauthenticated \
  --port 3000

Next Steps