> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment Overview

> Options for deploying agents to production

Deploy your PraisonAI agents to production environments.

## Quick Start

<Steps>
  <Step title="Choose deployment option">
    Start with an agent-centric approach:

    ```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
    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")
    ```
  </Step>

  <Step title="Select deployment method">
    Choose between different deployment options based on your needs.
  </Step>
</Steps>

## Deployment Methods

<CardGroup cols={2}>
  <Card title="24/7 Production Setup" icon="rocket-launch" href="/docs/guides/deployment/production-minimal">
    **Start here** for always-on deployment with process supervision
  </Card>

  <Card title="Advanced Production" icon="gear" href="/docs/tutorials/production-deployment">
    Comprehensive production guide with monitoring and scaling
  </Card>
</CardGroup>

## Deployment Options

| Option                 | Best For                  | Complexity | Guide                                                  |
| ---------------------- | ------------------------- | ---------- | ------------------------------------------------------ |
| **Production Minimal** | Always-on 24/7 operation  | **Low**    | [📖 Guide](/docs/guides/deployment/production-minimal) |
| Docker Compose         | Containerized deployments | Low        | [📖 Guide](/docs/guides/deployment/docker)             |
| Kubernetes             | Scalable production       | Medium     | [📖 Guide](/docs/tutorials/production-deployment)      |
| Cloud Functions        | Serverless                | Low        | [📖 Guide](/docs/sdk/praisonai/deploy)                 |
| API Server             | REST/WebSocket APIs       | Medium     | [📖 Guide](/docs/sdk/praisonai/deploy)                 |

## Quick Deploy with CLI

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# 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

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Required
export OPENAI_API_KEY="sk-..."

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

## Related

* [24/7 Production Minimal](/docs/guides/deployment/production-minimal) - Always-on deployment guide
* [Docker Deployment](/docs/guides/deployment/docker) - Docker guide
* [Advanced Production](/docs/tutorials/production-deployment) - Comprehensive production setup
* [Deploy Module](/docs/sdk/praisonai/deploy) - Deploy API
