> For the complete documentation index, see [llms.txt](https://platformdocs.lattica.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platformdocs.lattica.ai/architecture-overview.md).

# Architecture Overview

The LatticaAI platform enables **secure processing of encrypted computations**, including AI inference workloads, encrypted vector search, and programs. It uses homomorphic encryption and purpose-built acceleration hardware to perform computation without exposing raw data.

The system consists of **client applications** for management and execution, a **backend control plane**, and **hardware accelerators** to perform secure computation.

<img src="https://1094188974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVQmLdqLyUJqGzvb6ZjlN%2Fuploads%2FSdXfgAcZtbn0ghFG8bYf%2Ffile.excalidraw.svg?alt=media&amp;token=36bdc7c5-cd64-48de-81a1-73aa69c44a9a" alt="Diagram of the main components in the LatticaAI system." class="gitbook-drawing">

## Components

### 1. LatticaAI Clients

<mark style="color:blue;">⫸</mark> The Management Client enables the **Computation Provider** to onboard and manage computations:

&#x20;  <mark style="color:blue;">►</mark> Submit encrypted computations for execution.

&#x20;  <mark style="color:blue;">►</mark> Configure access controls and resource assignments.

&#x20;  <mark style="color:blue;">►</mark> Allocate and monitor compute resources.

After submission, the computation is prepared and registered in the backend, becoming available for secure execution at an assigned execution endpoint.

<mark style="color:blue;">⫸</mark> The **Query Client** facilitates secure interactions with deployed computations.

&#x20;  <mark style="color:blue;">►</mark> It encrypts input data before sending it to the backend for computation.

&#x20;  <mark style="color:blue;">►</mark> The backend processes queries using the homomorphic-ready logic and returns encrypted results.

&#x20;  <mark style="color:blue;">►</mark> The client decrypts the results locally, ensuring data privacy throughout the process.

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Management Client</strong></td><td>Enables Computation <strong>Providers</strong> to control deployment, manage user permissions, and oversee system resources</td><td></td><td><a href="https://1094188974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVQmLdqLyUJqGzvb6ZjlN%2Fuploads%2FzmydM9aDDzMkeHAS7DzE%2FDeploymentColor.png?alt=media&amp;token=209f7f43-25be-43b4-a637-706fd95d2025">DeploymentColor.png</a></td><td><a href="/architecture-overview/management-client.md">Management Client</a></td></tr><tr><td><strong>Query Client</strong>  </td><td><strong>End users</strong> use this client to access the deployed secured computation.</td><td></td><td><a href="https://1094188974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVQmLdqLyUJqGzvb6ZjlN%2Fuploads%2FZcOoM4CQL4iJMxdsukDT%2FQueryColor.png?alt=media&amp;token=4636204c-fc3a-49df-a61a-65e6db08bf0d">QueryColor.png</a></td><td><a href="/architecture-overview/query-client.md">Query Client</a></td></tr></tbody></table>

***

### 2. LatticaAI **Backend**

<mark style="color:blue;">⫸</mark> **Interaction Manager:** Routes requests to the appropriate encrypted computation.

<mark style="color:blue;">⫸</mark> **Hardware Acceleration:** Currently optimized for GPU-based execution, with a flexible architecture designed to support future hardware acceleration technologies.

***
