Aegis Orchestrator
Deployment

Infrastructure Requirements

Dependency matrix, hardware requirements, network topology, and the local development stack.

Infrastructure Requirements

This page defines the infrastructure components required to run AEGIS, their inter-dependencies, and minimum hardware specifications.


Dependency Matrix

ComponentVersionRoleRequired
Docker Engine24.0+Agent container runtime (Phase 1)
Docker Compose2.20+Dev/staging orchestrationDev only
PostgreSQL15+Primary data store (agents, executions, events)
Temporal1.22+Durable workflow execution✓ (if using workflows)
SeaweedFS3.60+Volume storage backend
OpenBao2.0+Secrets managementRecommended
Keycloak24.0+OIDC identity providerRecommended
Linux kernel5.15+KVM support for Firecracker (Phase 2)Phase 2 only

Minimum viable deployment (no Temporal, no workflows, OpenBao, or Keycloak) requires only Docker, PostgreSQL, and SeaweedFS.


Network Architecture

┌───────────────────────────────────────────────────────────────┐
│  AEGIS Node                                                   │
│                                                               │
│  ┌────────────────┐                                           │
│  │ AEGIS Daemon   │  :9090 (gRPC)                             │
│  │                │  :8080 (HTTP/REST)                        │
│  │                │  :2049 (NFS server for agent volumes)     │
│  └───┬────────────┘                                           │
│      │                                                        │
│      ├──► PostgreSQL  :5432  (private network)                │
│      ├──► SeaweedFS   :8333  (private network)                │
│      ├──► Temporal    :7233  (private network)                │
│      ├──► OpenBao     :8200  (private network, TLS)           │
│      └──► Keycloak    :8443  (can be shared service)          │
│                                                               │
│  ┌────────────────────────────────────────────────────────┐   │
│  │  Agent Containers (Docker bridge network)              │   │
│  │  ┌────────────┐  ┌────────────┐  ┌────────────┐       │   │
│  │  │ container1 │  │ container2 │  │ container3 │       │   │
│  │  │  NFS mount │  │  NFS mount │  │  NFS mount │       │   │
│  │  └─────┬──────┘  └─────┬──────┘  └─────┬──────┘       │   │
│  └────────┼───────────────┼───────────────┼───────────────┘   │
│           └───────────────┴───────────────┘                   │
│           All NFS traffic → Daemon host (port 2049)           │
└───────────────────────────────────────────────────────────────┘

Agent containers communicate only with the AEGIS daemon (via /v1/llm/generate over HTTP) and the NFS server (port 2049). They do not have direct access to PostgreSQL, SeaweedFS, OpenBao, Keycloak, or external networks (unless the manifest network_policy.allowlist permits specific domains).


Hardware Requirements

Development / Single-Node

ResourceMinimumRecommended
CPU4 cores8+ cores
RAM8 GiB16 GiB
Disk40 GiB SSD200 GiB SSD
OSLinux, macOS (Docker Desktop)Ubuntu 22.04 LTS

Note: macOS is supported for local development only (Docker Desktop). Production deployments require Linux.

Production Multi-Node

Minimum 3 nodes for high availability:

Node TypeRoleCPURAMDisk
AEGIS OrchestratorAgent execution host16 cores32 GiB100 GiB SSD
DatabasePostgreSQL + Temporal8 cores16 GiB500 GiB NVMe
StorageSeaweedFS master + filer4 cores8 GiB1+ TiB HDD or NVMe

Scale AEGIS Orchestrator nodes horizontally to increase concurrent execution capacity. PostgreSQL and SeaweedFS can be scaled independently.


Local Development Stack

AEGIS provides a Docker Compose stack for local development in the aegis-examples repository:

# Clone the examples repo and start all services
git clone https://github.com/100monkeys-ai/aegis-examples.git
cd aegis-examples
cp deploy/.env.example deploy/.env
docker compose -f deploy/docker-compose.yml up -d

# Check service status
docker compose -f deploy/docker-compose.yml ps

# View logs
docker compose -f deploy/docker-compose.yml logs -f

Dev Stack Services

ServicePortPurpose
PostgreSQL5432AEGIS database
SeaweedFS Master9333SeaweedFS coordination
SeaweedFS Filer8888SeaweedFS POSIX layer
SeaweedFS Volume8080SeaweedFS data server
Temporal Server7233Workflow execution
Temporal Web UI8233Workflow visibility UI

Start the AEGIS daemon against the dev stack:

aegis daemon --config ./aegis-config.yaml

Ports

PortProtocolServiceExposure
8080HTTPAEGIS REST APIInternal / load-balanced
9090gRPCAEGIS gRPC APIInternal / load-balanced
2049TCPNFS Server GatewayAgent container LAN only

Port 2049 (NFS) must be reachable by agent containers but should not be exposed to external networks. It is intended for intra-host or intra-cluster communication only.

On this page