> ## Documentation Index
> Fetch the complete documentation index at: https://actianvectorai-docs-low-effort-fixes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture

> A high-level overview of the VectorAI DB architecture.

The VectorAI DB architecture consists of multiple layers. Client applications interact with the system through SDKs, which communicate with the Vector Data Engine (VDE) via gRPC. The VDE coordinates between the index manager, storage manager, ANN algorithms, and the underlying database engine for vector storage and retrieval.

<img src="https://mintcdn.com/actianvectorai-docs-low-effort-fixes/mW_SvHVUOK5oqzm9/images/home/overview-architecture-diagram.png?fit=max&auto=format&n=mW_SvHVUOK5oqzm9&q=85&s=90b674ba4c98f871b2aef118238f1475" alt="VectorAI DB architecture diagram" width="764" height="742" data-path="images/home/overview-architecture-diagram.png" />

## Architecture components

<Steps>
  <Step title="VectorAI DB SDKs">
    Client libraries (such as Python) communicate with the VectorAI DB server via gRPC to create collections, insert vectors, and run similarity searches. The SDK abstracts the complexity of gRPC communication.
  </Step>

  <Step title="Vector Data Engine (VDE) API layer">
    Receives gRPC requests from SDKs, validates and processes them, then routes them to the appropriate internal components in the VDE core. This layer serves as the gateway between client applications and the vector processing engine.
  </Step>

  <Step title="Storage manager">
    Handles persistent storage and retrieval of vectors and metadata while coordinating with the underlying database engine for durability and consistency. This component ensures data integrity across all vector operations.
  </Step>

  <Step title="Index manager">
    Manages vector indexes by building, updating, and querying them for efficient similarity search. The index manager coordinates with ANN algorithms to optimize search performance.
  </Step>

  <Step title="Approximate nearest neighbor (ANN)">
    Uses an in-process vector index for fast similarity search over high-dimensional embeddings. This component trades exact precision for speed.
  </Step>

  <Step title="Database engine">
    Stores vector data, metadata, and collection information durably on disk.
  </Step>
</Steps>
