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

# Architecture Guides

> How sync architectures work, and practical guidance for using PowerSync to build apps for specific use cases, industries and architectural patterns.

## Fundamentals

> [card] [Offline-First Architecture Terms](https://docs.powersync.com/resources/architecture-guides/offline-first-architecture.md)
>
> Outbox, idempotency key, delta sync, tombstones, last-write-wins: the building blocks of any offline-first sync architecture. Learn what each one means, and which ones PowerSync handles for you.

## By Use Case

> [card] [AI Chat](https://docs.powersync.com/resources/architecture-guides/ai-chat.md)
>
> Store AI chats as database rows, with sync handling chat history and multi-device sessions. You get a robust app with less backend code.

## By Industry

Many industries have use cases where apps need to continue working even if the network connection is unreliable or a device goes offline. Developers often end up with a "DIY" offline-first implementation that's a complicated mess, since bi-directional syncing becomes fraught with complexity and subtle edge cases the deeper down the complexity rabbithole you go. PowerSync handles that complexity for you, on the read path (change feeds, deltas, partial sync, tombstones, reactivity, etc.) and write path (outbox, retries, idempotency keys, conflict resolution, etc.), letting you focus on the business use case.

> [card] [Retail Point-of-Sale (POS)](https://docs.powersync.com/resources/architecture-guides/offline-first-pos.md)
>
> When the network goes down, POS systems need to retain access to product and pricing data, and checkout needs to keep running. This guide covers how to use PowerSync to create a reliable offline-first POS system.

> [card] [Proof of Delivery Apps (POD)](https://docs.powersync.com/resources/architecture-guides/offline-first-delivery.md)
>
> Drivers must keep tracking their stops, scanning packages and capturing proof of delivery when the device is offline or the network connection is patchy. This guide covers how to use PowerSync to create an offline-first delivery tracking and POD system.

## By Software Philosophy

> [card] [Local-First Software](https://docs.powersync.com/resources/architecture-guides/local-first-software.md)
>
> Local-first software is a term coined by the research lab Ink & Switch in a 2019 manifesto essay. In local-first software, the device holds the primary copy of the data. See which of the manifesto's seven ideals PowerSync helps you meet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.