Skip to main content

Platform Architecture

Architecture Overview

A.R.C. organizes its 29 services into four functional layers. Every request flows through the Edge Layer, is processed by the Intelligence Layer, persists in the Data Layer, and is monitored by the Operations Layer.

┌──────────────────────────────────────────────────────────────┐
│ Edge Layer │
│ Heimdall (Traefik Gateway) │
├──────────────────────────────────────────────────────────────┤
│ Intelligence Layer │
│ Sherlock (Brain) │ Scarlett (Voice) │ RoboCop (Guard) │
│ Gordon Ramsay (Critic) │ Ivan Drago (Gym) │ Uhura (Semantic)│
│ Statham (Mechanic) │ The Wolf (Janitor) │ Alfred (Billing) │
├──────────────────────────────────────────────────────────────┤
│ Data Layer │
│ Oracle (Postgres) │ Sonic (Redis) │ Cerebro (Qdrant) │
│ Tardis (MinIO) │ The Flash (NATS) │ Dr. Strange (Pulsar) │
├──────────────────────────────────────────────────────────────┤
│ Operations Layer │
│ Black Widow (OTEL) │ Friday (Grafana) │ T-800 (Chaos) │
│ Dr. House (Prometheus) │ Watson (Loki) │ Columbo (Jaeger) │
│ Hermes (Promtail) │ Mystique (Unleash) │
├──────────────────────────────────────────────────────────────┤
│ Voice & Sidecars │
│ Daredevil (LiveKit) │ Sentry (Ingress) │ Scribe (Egress) │
│ J.A.R.V.I.S. (Kratos) │ Nick Fury (Infisical) │
│ Pathfinder (Migrate) │ Hedwig (Mailer) │
└──────────────────────────────────────────────────────────────┘

The Codename System

Every A.R.C. service has a codename that reflects its personality and role. This is not just branding -- it makes the system memorable and makes architecture discussions feel natural. When someone says "Heimdall is down," the entire team knows the gateway is unreachable. When "Sherlock needs more memory," everyone understands the reasoning engine is under pressure.

Infrastructure (The Body)

These are the external, battle-tested open-source services that A.R.C. orchestrates into a cohesive platform.

ServiceCodenameTechnologyRole
API GatewayHeimdallTraefik v3.0The Gatekeeper. Opens the Bifrost (ports) only for authorized traffic.
Feature FlagsMystiqueUnleashThe Shapeshifter. Changes app behavior instantly without redeploying.
Identity & AuthJ.A.R.V.I.S.Ory KratosThe Butler. Handles identity and authentication.
Secrets VaultNick FuryInfisicalThe Spymaster. Holds the nuclear codes (secrets). Paranoid for a reason.
Voice ServerDaredevilLiveKitThe Radar. Sees the world through sound waves (WebRTC).
MessagingThe FlashNATSThe Nervous System. Information travels so fast it feels like telepathy.
Event StreamingDr. StrangeApache PulsarTime Stone. Replays history (events) and sees 14 million outcomes.
Relational DBOraclePostgreSQL 16Long-Term Memory. The photographic record of truth.
CacheSonicRedisWorking Memory. Holds context at speed; if he stops, he dies.
Vector DBCerebroQdrantThe Finder. Connects to every thought to find semantic matches.
Object StorageTardisMinIOInfinite Storage. It's bigger on the inside (S3 compatible).
Telemetry CollectorBlack WidowOpenTelemetry CollectorThe Spy. Intercepts all signals and traces without being seen.
MetricsDr. HousePrometheusDiagnostics. Doesn't trust you; trusts the vitals.
Log AggregationWatsonLokiThe Chronicler. Writes down every messy detail for later deduction.
Distributed TracingColumboJaeger (Tempo)The Detective. Follows the request path with "just one more thing."
DashboardsFridayGrafanaThe UI. The visual interface overlay for all metrics.
Log ShipperHermesPromtailThe Messenger. Delivers the logs to Watson.
Chaos TestingT-800Chaos MeshThe Terminator. Absolutely will not stop until your infrastructure is proven resilient.

Data & Memory (The Mind)

ServiceCodenameTechnologyRole
Relational DatabaseOraclePostgreSQL 16Long-Term Memory. The photographic record of truth.
In-Memory CacheSonicRedisWorking Memory. High-speed context, rate limiting, and session storage.
Vector DatabaseCerebroQdrantThe Finder. Semantic search and embedding storage for RAG.
Object StorageTardisMinIOInfinite Storage. S3-compatible blob storage for files and artifacts.
Database MigrationsPathfinderMigration ScriptPioneer. Maps the database schema before anyone else enters.

AI Workforce (Core & Workers)

ServiceCodenameTypeTechnologyRole
BrainSherlockCORELangGraphThe Reasoner. Stateful, persistent agentic reasoning engine.
Voice AgentScarlettCOREPipecatThe Voice. Turns raw data into human connection.
GuardrailsRoboCopCORERuleGoSafety. Prime Directives: stops the agent from going off-script.
JanitorThe WolfCORECustomThe Fixer. Solves problems and cleans up the mess efficiently.
BillingAlfredCORECustomThe Manager. Tracks the budget and manages the estate.
CriticGordon RamsayWORKERCustomQA. "This output is RAW!" Yells until the answer is perfect.
Adversarial TrainerIvan DragoWORKERCustomGym. "I must break you." Attacks the agent's logic to find weaknesses.
Semantic TranslatorUhuraWORKERCustomTranslator. Converts human speech to system commands (SQL/API).
Self-HealingStathamWORKERCustomMechanic. Slides under the car to fix the leak while it's still running.

Observability (The Eyes)

ServiceCodenameTechnologyRole
Telemetry CollectorBlack WidowOpenTelemetry CollectorThe Spy. Single front door for all telemetry signals.
Metrics DatabaseDr. HousePrometheusDiagnostics. Scrapes and stores time-series metrics.
Log AggregationWatsonLokiThe Chronicler. Centralized log aggregation and search.
Distributed TracingColumboJaeger (Tempo)The Detective. End-to-end request tracing across services.
DashboardsFridayGrafanaThe UI. Single pane of glass for all observability data.
Log ShipperHermesPromtailThe Messenger. Ships logs from containers to Watson (Loki).

Sidecars & Utilities

ServiceCodenameTypeTechnologyRole
Database MigrationsPathfinderSIDECARScriptPioneer. Runs schema migrations before services start.
Voice IngressSentrySIDECARLiveKit IngressThe Watchtower. Handles incoming RTMP/SIP streams.
Voice EgressScribeSIDECARLiveKit EgressThe Recorder. Archives voice sessions to storage.
MailerHedwigSIDECARCourierMail Delivery. Delivers transactional email reliably.

Service Types

TypeDescriptionExamples
INFRAExternal open-source services A.R.C. orchestratesTraefik, PostgreSQL, Redis, Grafana
CORECustom-built services central to A.R.C.'s intelligenceSherlock (Brain), Scarlett (Voice), RoboCop (Guard)
WORKERSpecialized agents that perform specific tasksGordon Ramsay (QA), Ivan Drago (Gym), Uhura (Semantic)
SIDECARUtility processes that support other servicesPathfinder (Migrate), Hedwig (Mailer), Sentry (Ingress)

Tier System

A.R.C. offers deployment tiers with pre-selected service groups. Tiers are starting points; you can customize the service list after initialization by editing arc.yaml.

SuperSaiyan (Default)

The default tier ships with 13 base services plus optional feature groups.

Base Infrastructure (13 services, always included): Heimdall, Oracle, Sonic, Cerebro, Tardis, Mystique, Dr. Strange, The Flash, Hedwig, Pathfinder, Sherlock, The Wolf, Alfred

Optional feature groups:

Feature FlagServices AddedDefault
securityJ.A.R.V.I.S., Nick Fury, RoboCopEnabled
voiceDaredevil, Scarlett, Sentry, ScribeEnabled
observabilityBlack Widow, Dr. House, Watson, Columbo, Friday, HermesDisabled
chaosT-800Disabled

Default total: 13 base + 3 security + 4 voice = 20 services

Resource Requirements:

ConfigurationServicesCPU (min)RAM (min)Storage (min)
Base Only132 cores4 GB10 GB
+ Security163 cores6 GB12 GB
+ Voice174 cores8 GB15 GB
+ Observability196 cores12 GB25 GB
All Features278 cores16 GB30 GB

SuperSaiyanBlue (Coming Soon)

Production-grade tier with enhanced observability and performance. Includes all SuperSaiyan services plus the full observability stack enabled by default, enhanced caching (Redis Cluster), and advanced event streaming (Kafka + Pulsar).

Planned requirements: 8 cores minimum, 16 GB RAM, 50 GB storage.

UltraInstinct (Coming Soon)

Enterprise tier for large-scale deployments with chaos engineering and advanced diagnostics. Includes all SuperSaiyanBlue services plus Chaos Mesh (T-800), advanced tracing and profiling, and multi-region support.

Planned requirements: 16 cores minimum, 32 GB RAM, 100 GB storage.

Feature Flags

Feature flags control which optional services run. They are set in your arc.yaml and can be toggled at any time.

FlagServices AddedResource Impact
voiceDaredevil, Scarlett, Sentry, Scribe+2 GB RAM
securityJ.A.R.V.I.S., Nick Fury, RoboCop+1.5 GB RAM
observabilityBlack Widow, Dr. House, Watson, Columbo, Friday, Hermes+4 GB RAM
chaosT-800+1 GB RAM

Service Dependencies

Services declare their dependencies, and A.R.C. resolves them automatically during arc workspace run. If a required dependency is missing from your configuration, you will receive a validation error.

Sherlock (Brain)
├── requires: Oracle (PostgreSQL)
├── requires: Sonic (Redis)
├── requires: Cerebro (Qdrant)
└── requires: The Flash (NATS)

J.A.R.V.I.S. (Identity)
├── requires: Heimdall (Gateway)
└── requires: Oracle (PostgreSQL)

Scarlett (Voice)
├── requires: Sherlock (Brain)
└── requires: Daredevil (LiveKit)

Friday (Grafana)
├── requires: Dr. House (Prometheus)
├── requires: Watson (Loki)
└── requires: Columbo (Jaeger)