:4000 · API

Aegis EA — Control plane API

You're looking at the backend. The user interface lives on a different port.

Open the web app → GET /health GET /api/policies

Architecture

:3000 — @aegis/web

Next.js 14 user interface. Cockpit, assistant console, ops admin. Signs users in via Supabase Auth; calls this API for all data.

:4000 — @aegis/api

NestJS control plane (this server). 42 routes across 15 domain modules, Socket.IO realtime on /realtime, webhook receivers, Action Gateway.

@aegis/worker

BullMQ workers for 9 durable workflows (scheduling, meeting-brief, summary, follow-up, voice...). Requires Redis.

:4100 — @aegis/voice-gateway

WebSocket bridge that terminates Twilio Media Streams, pipes audio through Deepgram → Claude → ElevenLabs for live voice workflows.

Public endpoints (no auth)

Authenticated endpoints (bearer JWT)