Skip to main content

Deployment Options

Local Deployment

Interactive Mode

Run agents directly in your terminal:

Background Agent

Run agents as long-running processes:

Daemon Mode

Plan Optimization

Before deployment, optimize agent prompts and configuration:

Prompt Optimization

Configuration Optimization

A/B Testing

GitHub Actions

Basic Workflow

Scheduled Agent

Matrix Deployment

Google Cloud (Vertex AI)

Setup

Cloud Run Deployment

Cloud Functions (Event-Driven)

AWS Bedrock

Setup

Lambda Deployment

Step Functions (Orchestration)

On-Premises

Air-Gapped Deployment

For environments without internet access:

Agents

squads CLI

Local LLM

Ollama / vLLM

Local DB

PostgreSQL
All components run within isolated network. No external API calls.

Self-Hosted LLM

Kubernetes Deployment

Best Practices

  • Start local, graduate to cloud as needs grow
  • Use secrets management (never hardcode keys)
  • Set timeouts to prevent runaway costs
  • Enable logging and monitoring
  • Test in staging before production
  • Use infrastructure-as-code
  • Implement health checks
Common deployment mistakes:
  • Hardcoded API keys in code/config
  • Missing timeouts (agents run forever)
  • No error handling or retries
  • Insufficient logging
  • Over-provisioned resources (wasted cost)

Security

Secure your deployments

Agent Performance

Monitor production agents