Deployment Overview
Agent Kernel is a multi-cloud AI agent runtime that supports multiple deployment modes across AWS, Azure, and GCP for different use cases.
Deployment Modes
Quick Comparison
| Mode | Best For | Scalability | Cold Start | Cost | Fault Tolerance |
|---|---|---|---|---|---|
| Local/CLI | Development, testing | N/A | Instant | Free | Manual restart |
| REST API | Web apps, APIs | Manual scaling | Instant | Server costs | Manual |
| AWS Lambda | Variable load (AWS) | Auto-scaling | 1-3s | Pay per use | High - Auto-retry, multi-AZ |
| AWS ECS | Consistent load (AWS) | Auto-scaling | Instant | Running containers | Very High - Multi-AZ, auto-recovery |
| Azure Functions | Variable load (Azure) | Auto-scaling | 1-3s | Pay per use | High - Auto-retry, multi-region |
| Azure Container Apps | Consistent load (Azure) | Auto-scaling | Instant | Running containers | Very High - Multi-zone, auto-recovery |
| GCP Cloud Run Serverless | Variable load (GCP) | Auto-scaling (scale-to-zero) | 1-3s | Pay per use | High - Auto-retry, multi-zone |
| GCP Cloud Run Containerized | Consistent load (GCP) | Auto-scaling (min≥1) | Instant | Running containers | Very High - Always-on, auto-recovery |
| MCP Server | AI integrations | Manual | Instant | Server costs | Manual |
| A2A Server | Agent networks | Manual | Instant | Server costs | Manual |
Local Development
Uses agentkernel.CLI module.
python my_agent.py
- Interactive CLI
- Instant feedback
- No deployment needed
REST API Server
Uses agentkernel.RESAPI module.
python my_agent.py
- HTTP endpoints
- Easy integration
- Self-hosted
AWS Serverless
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- Lambda functions
- API Gateway
- Auto-scaling
- Pay per request
AWS Containerized
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- ECS Fargate
- Application Load Balancer
- Consistent performance
- Lower latency
Azure Serverless
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- Azure Functions
- API Management
- Auto-scaling
- Pay per request
Azure Containerized
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- Azure Container Apps
- Azure Front Door / App Gateway
- Consistent performance
- Lower latency
GCP Serverless
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- Cloud Run (scale-to-zero)
- API Gateway
- Auto-scaling
- Pay per request
GCP Containerized
Uses Agent Kernel terraform modules
# Configure the modules and run
terraform init && terraform apply
- Cloud Run (always-on, min_instance_count≥1)
- API Gateway
- Consistent performance
- Lower latency