Skip to main content
Deploy your PraisonAI agents to production environments.

Quick Start

1

Choose deployment option

Start with an agent-centric approach:
from praisonaiagents import Agent

# Create production-ready agent
agent = Agent(
    name="Production Agent",
    instructions="Handle production workloads",
)

# Deploy to production
agent.start("Ready for production deployment")
2

Select deployment method

Choose between different deployment options based on your needs.

Deployment Methods

24/7 Production Setup

Start here for always-on deployment with process supervision

Advanced Production

Comprehensive production guide with monitoring and scaling

Deployment Options

OptionBest ForComplexityGuide
Production MinimalAlways-on 24/7 operationLow📖 Guide
Docker ComposeContainerized deploymentsLow📖 Guide
KubernetesScalable productionMedium📖 Guide
Cloud FunctionsServerlessLow📖 Guide
API ServerREST/WebSocket APIsMedium📖 Guide

Quick Deploy with CLI

# Deploy as API server
praisonai deploy --type api

# Deploy as Docker container
praisonai deploy --type docker

# Deploy to cloud
praisonai deploy --type cloud --provider aws

API Server

from praisonaiagents import Agent
from praisonaiagents.api import serve

agent = Agent(name="API Agent")

# Start API server
serve(agent, host="0.0.0.0", port=8000)

Environment Variables

# Required
export OPENAI_API_KEY="sk-..."

# Optional
export PRAISONAI_LOG_LEVEL="INFO"
export PRAISONAI_DB_URL="postgresql://..."