Deploy
This chapter covers deployment options from development to production.
What you’ll learn
- Local Development - Running agents during development
- Production - Deploying to production servers
- Serverless - AWS Lambda, Google Cloud Functions, Azure Functions
- Docker & Kubernetes - Container-based deployment
- CGI Mode - Traditional web server deployment
Deployment options overview
Environment detection
The SDK automatically detects your deployment environment:
Chapter contents
Quick start
Python
TypeScript
The run() method automatically:
- Detects serverless environments (Lambda, Cloud Functions, Azure)
- Starts a development server on localhost for local development
- Handles CGI mode when deployed to traditional web servers
Starting the development server
The simplest way to run your agent locally:
All languages default to http://localhost:3000.