Agents Machine

Self-Hosting

Deploy Agents Machine on your own server with Docker.

Agents Machine is designed to be self-hosted — your data stays on your servers. The platform runs as Docker containers with minimal infrastructure requirements.

Architecture

┌──────────────────────────────────────────┐
│              Your Server (VPS)           │
│                                          │
│  ┌──────────────┐  ┌──────────────────┐  │
│  │ MCP Server   │  │  Desktop App     │  │
│  │ (Bun)        │  │  (connects via   │  │
│  │              │  │   API)           │  │
│  └──────┬───────┘  └──────────────────┘  │
│         │                                │
│  ┌──────┴───────┐  ┌──────────────────┐  │
│  │  Qdrant      │  │  MinIO (S3)      │  │
│  │  (Vectors)   │  │  (File storage)  │  │
│  └──────────────┘  └──────────────────┘  │
│                                          │
│  ┌──────────────┐  ┌──────────────────┐  │
│  │  PostgreSQL   │  │  Redis           │  │
│  │  (Metadata)   │  │  (Sessions)      │  │
│  └──────────────┘  └──────────────────┘  │
└──────────────────────────────────────────┘

Requirements

ComponentMinimumRecommended
CPU2 cores4 cores
RAM4 GB8 GB
Disk20 GB SSD50 GB SSD
OSUbuntu 20.04+Ubuntu 22.04
Docker20.10+Latest
Docker Composev2.0+Latest

Quick Deploy

Clone the Repository

git clone https://github.com/agents-machine/agents-machine.git
cd agents-machine

Configure Environment

cp .env.example .env

Edit .env with your settings:

# LLM Provider
ANTHROPIC_API_KEY=sk-ant-...

# Qdrant
QDRANT_URL=http://qdrant:6333

# Database
DATABASE_URL=postgresql://agents:agents@postgres:5432/agents_machine

Start Services

docker compose up -d

This starts PostgreSQL, Qdrant, and MinIO.

Verify

docker compose ps
curl http://localhost:6333/health

Production Deployment

Updating

Push to main branch triggers automatic deployment via the CI pipeline.

Manual Update

git pull origin main
docker compose down
docker compose up -d --build

Monitoring

🩺 Health Checks

docker compose ps — shows health status of all services.

📜 Logs

docker compose logs -f — stream all logs, or add a service name for specific logs.

📊 Resources

docker stats — real-time CPU, memory, and network usage per container.

On this page