# Source: https://docs.squared.ai/sparx/architecture.md

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

# How Sparx Works

> System architecture and technical components

## System Architecture

### Data Connectors Layer

* Pre-built connectors for ERP, CRM, HRIS, databases, APIs, and file systems.
* Examples: Quickbooks, Google Workspace, Office 365, Salesforce, SAP, Microsoft Dynamics, Snowflake, SharePoint, AWS S3.

### Unified Data Layer (UDL)

* Harmonizes structured, semi-structured, and unstructured data.
* Built on AI Squared's **Secure Data Fabric** technology.

### Processing & AI Models

* Pre-trained LLMs (Claude, OpenAI, Bedrock) and custom model support.
* Real-time inferencing with vector database indexing.

### Application Layer

* **Sparx Chatbot** – Conversational interface for querying data and triggering workflows.
* **Insight Dashboard** – Visual analytics with drill-down capabilities.
* **Automation Engine** – Triggers workflows based on rules or AI-detected events.

### Security & Compliance Layer

* End-to-end AES-256 encryption.
* Role-Based Access Control with SSO (Okta, Azure AD).
* Audit logging and compliance templates (HIPAA, GDPR, CCPA, FISMA).