Providers
ElasticClaw supports pluggable VM providers. The primary supported provider is Replicated CMX.
Supported Providers
Replicated CMXSupported
Cloud-hosted VM infrastructure via Replicated's Compatibility Matrix (CMX). Recommended for production.
Local (Docker)Experimental
Run agent containers locally using Docker. Good for development and testing.
CustomPlanned
Bring your own VM provider via the provider interface. AWS, GCP, Hetzner, etc.
Replicated CMX Setup
- Sign up at vendor.replicated.com
- Create an application and navigate to Compatibility Matrix
- Generate a CMX API token from your account settings
- Note your cluster/app slug
bash
export REPLICATED_API_TOKEN=your-token-hereConfigure in hub.yaml:
yaml
provider:
type: replicated-cmx
endpoint: https://api.replicated.com
token: ${REPLICATED_API_TOKEN}
app_slug: my-elasticclaw-app # your Replicated app slug
defaults:
instance_type: r1.small # CMX instance type
region: us-east-1
ttl: 24h # auto-destroy after 24 hoursInstance Types (CMX)
| Type | CPU | RAM | Use case |
|---|---|---|---|
r1.nano | 1 | 2GB | Lightweight agents |
r1.small | 2 | 4GB | General purpose |
r1.medium | 4 | 8GB | Build-heavy workloads |
r1.large | 8 | 16GB | Data-intensive agents |
TTL-based auto-destroy helps control costs. Set a reasonable TTL in your defaults and override per-agent with
elasticclaw create --ttl 4h.