# Conceptual Architecture

## Design Principles

### Core Concepts&#x20;

1. No SPOF (single points of failure)
   * No centralized servers
   * No centralized data stores
   * No centralized routers or relays
2. Single software solution / code base
   * Provider Node = User Node
   * Any user can be a provider
   * Any provider can be a user
3. Minimal on-chain transactions
   * Reads are cheap
   * Writes are very expensive
4. Agnostic as possible
   * Multiple Blockchains (EVM)
   * Model type agnostic

### Privacy & Security&#x20;

1. Prompt / Inference
   * Prompts & inference are as private as possible.
   * No prompt or inference data is written to the blockchain.
2. Node Locations
   * Providers will need to register their\
     IP or Url on chain.
   * Users nodes will only be visible to providers during sessions
   * Proxy, load balancer, VPN, or other obfuscation method recommended

### Design Pattern

<figure><img src="https://3308714034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI4NwWDwlaNuESpL7X6pP%2Fuploads%2FEK7KzK31kTSbLU9L2fXh%2FScreenshot%202024-03-07%20at%2018.12.56.png?alt=media&#x26;token=9e163e31-700e-406d-aef8-c1b2074fca1a" alt=""><figcaption><p>Overall Conversation Flow </p></figcaption></figure>

### Data Routing Pattern

<figure><img src="https://3308714034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI4NwWDwlaNuESpL7X6pP%2Fuploads%2FZWXeudPUwscPsRyqecWn%2FScreenshot%202024-03-07%20at%2018.16.35.png?alt=media&#x26;token=d7250f98-eb2a-4932-93a3-0c98bb6b89e8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3308714034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI4NwWDwlaNuESpL7X6pP%2Fuploads%2FaFshM3gdpNT67s43gf0L%2FScreenshot%202024-03-07%20at%2018.19.37.png?alt=media&#x26;token=3e79de86-f7fd-4a57-adbe-b76d7af04052" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3308714034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI4NwWDwlaNuESpL7X6pP%2Fuploads%2F3ZRDYkVwlmbhqTRYRxPr%2FScreenshot%202024-03-07%20at%2018.19.44.png?alt=media&#x26;token=5a305a72-0dc7-4ec4-bc43-17817762b0a1" alt=""><figcaption></figcaption></figure>
