Skip to main content
Version: Next

Deployment Overview

Agent Kernel supports multiple deployment modes for different use cases.

Deployment Modes

Quick Comparison

ModeBest ForScalabilityCold StartCost
Local/CLIDevelopment, testingN/AInstantFree
REST APIWeb apps, APIsManual scalingInstantServer costs
AWS LambdaVariable loadAuto-scaling1-3sPay per use
AWS ECSConsistent loadAuto-scalingInstantRunning containers
MCP ServerAI integrationsManualInstantServer costs
A2A ServerAgent networksManualInstantServer costs

Local Development

Uses agentkernel.CLI module.

python my_agent.py
  • Interactive CLI
  • Instant feedback
  • No deployment needed

Learn more →

REST API Server

Uses agentkernel.RESAPI module.

python my_agent.py
  • HTTP endpoints
  • Easy integration
  • Self-hosted

Learn more →

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

Learn more →

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

Learn more →

Choosing a Deployment Mode

Development

Local/CLI: Fast iteration, no setup

Small Web App

REST API: Simple, self-hosted

Variable Traffic

AWS Lambda: Auto-scales, pay per use

High Traffic

AWS ECS: Consistent performance

AI Integration

MCP/A2A: Protocol-based integration

Next Steps