System Architecture

Deep dive into Ax's modern, microservices-based architecture designed for scalability, reliability, and maintainability.


Overview

Ax follows a modern, microservices-based architecture designed for scalability, reliability, and maintainability. The platform is built using industry-standard technologies and follows best practices for cloud-native applications.

Frontend Layer

  • React SPA

    Single-page application with TypeScript API client

  • State Management

    Redux for centralized state handling

  • UI Components

    Custom component system for agent interfaces

API Layer

  • FastAPI Backend

    RESTful endpoints with WebSocket support

  • Authentication

    JWT-based secure authentication system

  • Real-time Communication

    Bidirectional client-service communication

Service Layer

Core Services

  • Agent Management

    Creation and configuration of AI agents

  • Routine Management

    Handling agent routines and workflows

  • Swarm Orchestration

    Coordinating multiple agents in swarms

Data Layer

PostgreSQL Database

Optimized data persistence with search indexing capabilities for agent configurations and execution data.

Search Indexing

Advanced indexing for efficient data retrieval and search operations.

Security

Authentication & Authorization

OAuth2/OIDC authentication with RBAC authorization system.

Data Security

Encryption at rest and TLS communication for secure data handling.

Deployment & Development

Deployment

  • Containerization

    Docker-based with Kubernetes orchestration

  • Cloud Agnostic

    Deploy on any cloud platform with high availability

  • Auto-scaling

    Dynamic resource allocation based on demand

Development

  • Local Setup

    Docker Compose for easy local development

  • Testing

    Automated testing pipelines for quality assurance

  • CI/CD

    Continuous integration and deployment practices