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

# Quickstart

> Get up and running with Praxos in minutes

## Prerequisites

Before you begin, ensure you have:

* Python 3.11 or higher
* Docker and Docker Compose (for containerized deployment)
* Access to required API keys (see Configuration section)

## Local Development Setup

### 1. Clone the Repository

```bash theme={null}
git clone https://github.com/praxos/hetairos.git
cd hetairos
```

### 2. Install Dependencies

```bash theme={null}
pip install -r requirements.txt
```

### 3. Configure Environment Variables

Create a `.env` file in the root directory:

```bash theme={null}
# Core Configuration
ENVIRONMENT=development

# LLM Configuration (via Portkey)
PORTKEY_API_KEY=your_portkey_api_key
OPENAI_API_KEY=your_openai_api_key
GOOGLE_API_KEY=your_google_api_key

# Database
MONGODB_URI=mongodb://localhost:27017
DATABASE_NAME=hetairos

# Azure Services (if using)
AZURE_KEY_VAULT_URL=your_keyvault_url
AZURE_COSMOS_ENDPOINT=your_cosmos_endpoint
AZURE_SERVICE_BUS_NAMESPACE=your_service_bus

# Messaging Platform Tokens (configure as needed)
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
DISCORD_BOT_TOKEN=your_discord_bot_token
SLACK_BOT_TOKEN=your_slack_bot_token
```

<Note>
  You don't need to configure all integrations at once. Start with the platforms you plan to use.
</Note>

### 4. Install Playwright Browsers

For the AI-powered web browsing feature:

```bash theme={null}
playwright install
```

### 5. Start the Server

```bash theme={null}
python src/main.py
```

The API will be available at `http://localhost:8000`.

### 6. Start Background Workers

In a separate terminal:

```bash theme={null}
python run_workers_local.py
```

## Using Praxos

### Connect via Telegram

1. Create a bot using [@BotFather](https://t.me/botfather) on Telegram
2. Add your bot token to the `.env` file as `TELEGRAM_BOT_TOKEN`
3. Start a conversation with your bot
4. Send `/start` to initialize

### Connect via Discord

1. Create a Discord application at the [Discord Developer Portal](https://discord.com/developers/applications)
2. Create a bot and copy the token
3. Add the token to your `.env` file as `DISCORD_BOT_TOKEN`
4. Invite the bot to your server using OAuth2 URL generator
5. Send messages to interact with Praxos

### Connect via Slack

1. Create a Slack app at [api.slack.com](https://api.slack.com/apps)
2. Configure OAuth & Permissions with required scopes
3. Install the app to your workspace
4. Add the bot token to `.env` as `SLACK_BOT_TOKEN`
5. Invite the bot to channels using `/invite @YourBot`

## Next Steps

<CardGroup cols={2}>
  <Card title="Architecture" icon="diagram-project" href="/guides/architecture">
    Learn about Praxos's architecture and design principles
  </Card>

  <Card title="Integrations" icon="plug" href="/integrations/overview">
    Explore available integrations and how to configure them
  </Card>

  <Card title="Tools & Capabilities" icon="wrench" href="/guides/tools-overview">
    Discover what Praxos can do for you
  </Card>

  <Card title="Deployment" icon="rocket" href="/deployment/kubernetes">
    Deploy Praxos to production with Kubernetes
  </Card>
</CardGroup>

## Troubleshooting

### Server Won't Start

* Check that all required environment variables are set
* Verify MongoDB is running and accessible
* Check logs in the console for specific error messages

### Integration Not Working

* Verify API tokens are correctly configured
* Check that webhooks are properly set up (for platforms that require them)
* Review integration-specific documentation

### Browser Tool Failing

* Ensure Playwright browsers are installed: `playwright install`
* Check available memory (browser automation requires \~200-500MB)
* Verify the target website isn't blocking automation

<Note>
  For additional help, check the troubleshooting guide or open an issue on GitHub.
</Note>
