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

# Architecture Overview

> Overview of how PowerSync works: a sync service, client SDKs, and a backend integration layer that keeps local SQLite in sync with your database.

<Frame>
  <img src="https://mintcdn.com/powersync-docs-cli-environments/EQ6tfjhZAyuY_oDl/images/architecture/powersync-docs-diagram-architecture-overview.png?fit=max&auto=format&n=EQ6tfjhZAyuY_oDl&q=85&s=522073ebaa080d5ac36450ee1f72490f" width="1912" height="1072" data-path="images/architecture/powersync-docs-diagram-architecture-overview.png" />
</Frame>

The [PowerSync Service](/architecture/powersync-service) and client SDK operate in unison to keep client-side SQLite databases in sync with a backend source database. Learn about their architecture:

<CardGroup cols="2">
  <Card title="PowerSync Service" icon="server" horizontal href="/architecture/powersync-service" />

  <Card title="Client Architecture" icon="microchip" horizontal href="/architecture/client-architecture" />
</CardGroup>

## Protocol

Learn about the sync protocol used between PowerSync clients and the [PowerSync Service](/architecture/powersync-service):

<CardGroup cols="2">
  <Card title="PowerSync Protocol" icon="network-wired" horizontal href="/architecture/powersync-protocol" />

  <Card title="Consistency" icon="scale-balanced" horizontal href="/architecture/consistency" />
</CardGroup>
