Architecture

Understand the Celeris platform architecture.

This page provides an overview of the Celeris platform architecture, helping you understand how the different components work together.

System Overview

Celeris is built on a modern, cloud-native architecture designed for reliability, scalability, and security.

┌─────────────────────────────────────────────────────────────┐
│ API Gateway │
│ (Load Balancing, Auth) │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────┼─────────────────────┐
│ │ │
▼ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Agent API │ │ Workflow API │ │ Events API │
└───────────────┘ └───────────────┘ └───────────────┘
│ │ │
└─────────────────────┼─────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Execution Engine │
│ (Orchestration, Scheduling) │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────┼─────────────────────┐
▼ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ AI Models │ │ Database │ │ Object Store │
└───────────────┘ └───────────────┘ └───────────────┘

Core Components

API Gateway

The API Gateway handles all incoming requests:

  • Authentication: Validates API keys and OAuth tokens
  • Rate Limiting: Enforces per-account rate limits
  • Load Balancing: Distributes traffic across service instances
  • TLS Termination: Handles HTTPS encryption

Service Layer

Individual microservices handle specific domains:

ServiceResponsibility
Agent ServiceAgent CRUD, configuration
Workflow ServiceWorkflow definitions, versioning
Execution ServiceRunning agents and workflows
Events ServiceWebhooks, real-time notifications

Execution Engine

The execution engine orchestrates agent and workflow execution:

  • Job Scheduling: Manages execution queues
  • Resource Allocation: Assigns compute resources
  • State Management: Tracks execution progress
  • Error Recovery: Handles failures and retries

Data Layer

  • PostgreSQL: Primary database for structured data
  • Redis: Caching and session storage
  • S3-compatible: Object storage for large files

Scalability

Celeris automatically scales based on demand:

Note

Enterprise customers can configure dedicated resources for predictable performance.

Horizontal Scaling

Services scale horizontally based on:

  • Request volume
  • Execution queue depth
  • Memory utilization
  • CPU utilization

Regional Deployment

Celeris is deployed across multiple regions:

  • us-east-1 (Virginia)
  • us-west-2 (Oregon)
  • eu-west-1 (Ireland)
  • ap-southeast-1 (Singapore)

High Availability

Redundancy

  • Multiple availability zones per region
  • Automatic failover for databases
  • Cross-region replication (Enterprise)

Uptime SLA

PlanMonthly Uptime SLA
Pro99.9%
Enterprise99.99%

Data Flow

Agent Execution

  1. Client sends execution request
  2. API Gateway authenticates and routes
  3. Execution Service queues the job
  4. Worker picks up and executes
  5. Results stored and returned
  6. Webhook notifications sent

Workflow Execution

  1. Trigger received (API, webhook, schedule)
  2. Workflow Service loads definition
  3. Execution Engine runs each step
  4. Agents execute within steps
  5. Results aggregated
  6. Completion notification sent

Integration Points

External APIs

Celeris can connect to external services:

  • REST APIs
  • GraphQL endpoints
  • gRPC services
  • WebSocket streams

Data Sources

Supported data integrations:

  • Databases (PostgreSQL, MySQL, MongoDB)
  • Data warehouses (Snowflake, BigQuery)
  • File storage (S3, GCS, Azure Blob)
  • SaaS applications (Salesforce, HubSpot, etc.)