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

# Architecture Overview

> High-level component map and data flow.

Prism is organized into a core library that all interfaces share, a shared infrastructure layer for network and data access, and multiple interface targets.

## Component Map

```mermaid theme={null}
graph TD
    subgraph Interfaces
        CLI[Rust CLI]
        VSCode[VS Code Extension]
        Web[Web App]
    end

    subgraph CoreEngine [Prism Core]
        Decode[Decode Engine]
        Replay[Replay Engine]
        Breakpoint[Breakpoint Controller]
        WhatIf[What-If Engine]
    end

    subgraph Infra [Shared Infrastructure]
        XDR[XDR Codec]
        RPC[Soroban RPC Client]
        Archive[History Archive Client]
        Taxonomy[Error Taxonomy DB]
        Cache[Local Cache]
    end

    Interfaces --> CoreEngine
    CoreEngine --> Infra
```

## Layers

* **Interfaces**: Consume the core logic to provide user-facing experiences.
* **Prism Core**: Implements the 3-tier diagnostic logic.
* **Shared Infrastructure**: Handles communication with the Stellar network and disk storage.
