> ## Documentation Index
> Fetch the complete documentation index at: https://helpcenter.magure.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Infrastructure

> Enterprise deployment architecture — Kubernetes, cloud infrastructure, LLM hosting, and network security

## Platform overview

MagOneAI is an enterprise-grade AI agent platform that enables organizations to deploy intelligent agents, automated workflows, integrated tools, and managed knowledge bases securely on Kubernetes infrastructure.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/01-platform-overview.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=cb6e425a33a0bf86100ac5aa1d5cc105" alt="MagOneAI platform overview" width="985" height="601" data-path="images/01-platform-overview.png" />
</Frame>

<CardGroup cols={3}>
  <Card title="Builders" icon="hammer">
    Design agents, workflows, and tools in **MagOneAI Studio**
  </Card>

  <Card title="Consumers" icon="play">
    Run workflows and view results in **MagOneAI Hub**
  </Card>

  <Card title="Admins" icon="gear">
    Manage orgs, users, and settings in the **Superadmin Portal**
  </Card>
</CardGroup>

All three portals connect to a central **API Server + Workflow Orchestrator** that handles authentication, RBAC, multi-tenancy, and durable execution. The backend connects to:

* **12 Tool Servers** — Calendar, Email, Drive, Database, Web Search, and more via MCP
* **Knowledge Base** — RAG pipeline with hybrid vector search
* **Secrets Vault** — Encrypted credential store (HashiCorp Vault)
* **Self-Hosted LLM** — Private GPU inference on your hardware (optional)
* **3rd-Party LLM** — OpenAI, Anthropic, Azure OpenAI APIs

***

## Deployment model

MagOneAI is deployed directly within your cloud environment, ensuring all data remains securely within your infrastructure. MagureLabs manages the deployment remotely via a dedicated control plane, enabling seamless provisioning and operational oversight.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/02-deployment-architecture.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=86a37059c0fbdd83758da418c3ce11ed" alt="Deployment architecture" width="1043" height="711" data-path="images/02-deployment-architecture.png" />
</Frame>

### How it works

<Steps>
  <Step title="MagureLabs control plane">
    Operated by MagureLabs, the control plane includes:

    * **Management Dashboard** — Configuration and deployment management
    * **Provisioning Engine** — Infrastructure-as-Code deployment into your account
    * **Health Monitoring** — Outbound-only health reports from your cluster
  </Step>

  <Step title="Your cloud account">
    All application workloads run in your account:

    * **Kubernetes Cluster** — Application services, web portals, tool servers
    * **Managed Database** — PostgreSQL with HA and automated backups
    * **Stateful Services** — Cache, Vector DB, Vault, Object Store
    * **GPU Pool** (optional) — LLM inference, auto-scales 0 to N
  </Step>
</Steps>

<Info>
  MagureLabs uses Infrastructure-as-Code to provision resources and receives only outbound health reports. No inbound access to your cluster is required.
</Info>

***

## Cloud infrastructure

The following cloud resources are provisioned in your account — networking, compute, managed database, encryption, and storage.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/03-infrastructure-components.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=acdc38dae77d2b3b859a231d8e2a7d74" alt="Cloud infrastructure components" width="1662" height="852" data-path="images/03-infrastructure-components.png" />
</Frame>

### Networking

| Resource                 | Description                                                |
| ------------------------ | ---------------------------------------------------------- |
| **Private Network**      | VPC + Subnets — all workloads run in private subnets       |
| **Load Balancer**        | TLS termination, L7 routing                                |
| **Firewall Rules**       | Restrictive ingress/egress policies                        |
| **NAT Gateway**          | Outbound-only internet access                              |
| **Auto-provisioned TLS** | Let's Encrypt certificates, automatically managed          |
| **DNS Record**           | Points your-domain.com to a static IP (public or intranet) |

### Compute

| Resource                     | Description                                      |
| ---------------------------- | ------------------------------------------------ |
| **Kubernetes Cluster**       | Managed, auto-healing, CPU node pool — always on |
| **GPU Node Pool** (optional) | Auto-scales 0 to N for LLM inference             |

### Managed services

| Resource            | Description                                                           |
| ------------------- | --------------------------------------------------------------------- |
| **Key Management**  | Cloud-native encryption keys                                          |
| **Secrets Manager** | HashiCorp Vault with KMS auto-unseal for encrypted credential storage |
| **PostgreSQL**      | Managed, HA, private networking, automated backups                    |
| **Object Storage**  | S3-compatible storage for documents and exports                       |

***

## Kubernetes workloads

Inside the cluster, these are the services that make up the platform.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/04-kubernetes-workloads.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=98716736d629bb70ae3bb7d0bc17d1ba" alt="Kubernetes workloads" width="2051" height="958" data-path="images/04-kubernetes-workloads.png" />
</Frame>

### Web portals

| Service        | Description                                                                    |
| -------------- | ------------------------------------------------------------------------------ |
| **Studio**     | Agent builder — design agents, workflows, and tools                            |
| **Hub**        | Workflow runner — end-user interface for running workflows and viewing results |
| **Superadmin** | Platform admin — manage organizations, users, and settings                     |

### API and orchestration

| Service               | Description                                                                                                    |
| --------------------- | -------------------------------------------------------------------------------------------------------------- |
| **API Server**        | Auth, RBAC, multi-tenant API gateway                                                                           |
| **Workflow Engine**   | Temporal-based durable workflow execution, retries, and scheduling                                             |
| **Workflow Workers**  | Agent execution — runs workflow activities                                                                     |
| **Knowledge Workers** | Document ingestion, chunking, and embedding pipeline                                                           |
| **Embedding Service** | Dedicated Text Embeddings Inference (TEI) service serving the dense embedding model for indexing and retrieval |

### Tool servers (12 integrations)

<CardGroup cols={2}>
  <Card title="Google" icon="google">
    Google Calendar, Google Gmail
  </Card>

  <Card title="Microsoft" icon="microsoft">
    Outlook Calendar, Outlook Email, OneDrive
  </Card>

  <Card title="Data" icon="database">
    Database, Vanna (Text-to-SQL), CSV-to-SQL, Web Search
  </Card>

  <Card title="Utilities" icon="toolbox">
    Filesystem, File Tools, Checkbox Detector
  </Card>
</CardGroup>

### Stateful services

| Service           | Description                             |
| ----------------- | --------------------------------------- |
| **Vector DB**     | Qdrant — RAG semantic search            |
| **Object Store**  | S3-compatible document and file storage |
| **Cache**         | Redis — sessions, pub/sub               |
| **Secrets Vault** | HashiCorp Vault with KMS auto-unseal    |

### GPU pool (optional)

| Service                  | Description                                 |
| ------------------------ | ------------------------------------------- |
| **LLM Inference Server** | Self-hosted model serving, scales from zero |

***

## LLM hosting

MagOneAI offers flexible hosting options tailored to your privacy and cost requirements, with the ability to combine multiple approaches for a hybrid deployment model.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/05-deployment-options.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=2d1e2196fac08271a4b1720d11cda448" alt="LLM hosting options" width="551" height="788" data-path="images/05-deployment-options.png" />
</Frame>

<Tabs>
  <Tab title="Option A: Self-Hosted LLM">
    Run open-source models on your own GPU hardware. Data never leaves your infrastructure.

    |                  |                                                                |
    | ---------------- | -------------------------------------------------------------- |
    | **GPU nodes**    | Required                                                       |
    | **Models**       | Open-source (Llama, Mistral, etc.) run on your hardware        |
    | **Data privacy** | Data never leaves your infrastructure                          |
    | **Scaling**      | GPU auto-scales from zero                                      |
    | **Air-gapped**   | Supports fully air-gapped deployment with zero internet access |
  </Tab>

  <Tab title="Option B: 3rd-Party LLM">
    Use cloud LLM providers via their APIs. Lower infrastructure cost, no GPU needed.

    |               |                                          |
    | ------------- | ---------------------------------------- |
    | **GPU nodes** | Not needed                               |
    | **Providers** | OpenAI, Anthropic, Azure OpenAI APIs     |
    | **Data flow** | LLM calls go outbound over HTTPS         |
    | **Scaling**   | Handled by the provider                  |
    | **Cost**      | Lower infrastructure cost, pay-per-token |
  </Tab>
</Tabs>

<Tip>
  Self-hosted LLM deployments enable fully air-gapped operations with zero internet dependency, supporting both public and internal/intranet entry points to align with your network security requirements.
</Tip>

***

## Network security

All infrastructure is designed with defense-in-depth security principles.

<Frame>
  <img src="https://mintcdn.com/maguretechmiddleeast/cRxXywhckxbta1Ka/images/06-network-security.png?fit=max&auto=format&n=cRxXywhckxbta1Ka&q=85&s=1c1eafd5817b972cf125715d952b3f5a" alt="Network security architecture" width="888" height="871" data-path="images/06-network-security.png" />
</Frame>

### Security guarantees

<CardGroup cols={2}>
  <Card title="Private network architecture" icon="shield">
    All infrastructure nodes operate within private subnets without public IP addresses, ensuring network isolation
  </Card>

  <Card title="Unidirectional connectivity" icon="arrow-right-from-bracket">
    System maintains outbound-only communication protocols, preventing any inbound access or data push to your cluster environment
  </Card>

  <Card title="Comprehensive encryption" icon="lock">
    Data protection includes encryption at rest through cloud-native key management services and automatic TLS encryption for all data in transit
  </Card>

  <Card title="Flexible access control" icon="globe">
    Entry point configuration supports both public IP and internal/intranet IP options, allowing you to define access based on your specific security requirements
  </Card>

  <Card title="Air-gapped capability" icon="plane-slash">
    Self-hosted LLM configurations enable completely isolated deployments with zero internet connectivity for maximum security compliance
  </Card>

  <Card title="Zero-trust architecture" icon="lock-keyhole">
    The platform implements outbound-only connectivity patterns, ensuring no external systems can initiate connections to your infrastructure
  </Card>
</CardGroup>

### Network architecture

Traffic flow through the infrastructure:

<Steps>
  <Step title="Users connect via HTTPS">
    Users access the platform through the load balancer. HTTPS only (port 443) with TLS termination.
  </Step>

  <Step title="Load balancer routes to cluster">
    The load balancer sits inside your cloud firewall boundary and routes to the Kubernetes cluster.
  </Step>

  <Step title="Private subnet isolation">
    Application pods run in a private subnet with no public IPs. Network policies enforce pod-to-pod restrictions.
  </Step>

  <Step title="Outbound via NAT Gateway">
    Outbound HTTPS traffic (e.g., 3rd-party LLM API calls) routes through the NAT Gateway. No inbound connections from the internet reach the pods directly.
  </Step>

  <Step title="MagureLabs — pull-based updates">
    MagureLabs delivers updates via pull-based mechanisms. No inbound access to your cluster is needed.
  </Step>
</Steps>

### Internal service security

| Component              | Security measures                                     |
| ---------------------- | ----------------------------------------------------- |
| **Application Pods**   | Network policies enforced, pod-to-pod restrictions    |
| **Secrets Vault**      | Cloud KMS auto-unseal, encrypted at rest              |
| **Database**           | Private IP only, encrypted at rest, automated backups |
| **Container Registry** | Private registry with certificate authority           |

***

## Deployment prerequisites

To deploy MagOneAI Enterprise Edition, we need the following from your team:

| Requirement                                | Details                                                                      |
| ------------------------------------------ | ---------------------------------------------------------------------------- |
| **Cloud account access**                   | Credentials to provision: K8s cluster, database, networking, encryption keys |
| **Domain + DNS**                           | A subdomain and ability to create an A record                                |
| **GPU quota** *(only if self-hosting LLM)* | We provide exact quota details based on your model selection                 |

<Info>
  MagureLabs handles the entire provisioning and deployment process. Your team provides cloud account access and a domain — we take care of the rest.
</Info>

***

## Next steps

<CardGroup cols={2}>
  <Card title="Security overview" icon="shield-check" href="/security/overview">
    Deep dive into MagOneAI's security architecture
  </Card>

  <Card title="Secrets management" icon="key" href="/security/secrets-management">
    How Vault manages API keys, OAuth tokens, and credentials
  </Card>

  <Card title="Private models" icon="microchip" href="/models/private-models">
    Configure self-hosted LLM inference
  </Card>

  <Card title="Organizations and projects" icon="building" href="/platform/organizations-and-projects">
    Multi-tenant organizational structure
  </Card>
</CardGroup>
