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

# What is Recall?

> A Rust-native vector database with cryptographic memory proofs for AI agents.

Recall is a vector database built for AI agents that need memory they can prove.

Most vector databases store your embeddings on their servers. You trust their uptime, their pricing, and their word that nothing has changed. Recall is built differently.

Every write does three things:

1. **Encrypts** your vectors with AES-256-GCM using a key derived from your Solana wallet — before they leave your machine
2. **Persists** the encrypted vectors permanently to Arweave via Irys (Pro and above)
3. **Anchors** a SHA-256 Merkle root of all vector IDs to a Solana Anchor program — a cryptographic fingerprint of your collection, immutable and publicly verifiable

The result: a vector database that is fast, cheap, and verifiable by anyone — without trusting VecLabs.

## Architecture

```
Your application
      ↓
  Recall SDK
  (AES-256-GCM encryption, client-side)
      ↓
┌─────────────────────────────────────────┐
│          Recall hosted API              │
│                                         │
│  HNSW in memory  →  Redis (hot cache)   │
│                   →  Irys / Arweave     │
│                      (permanent store)  │
└─────────────────────────────────────────┘
      ↓
  Solana Anchor Program
  (32-byte Merkle root, on-chain forever)
```

**HNSW** — Rust-native hierarchical navigable small-world graph. Sub-5ms P99 at 100K vectors. No garbage collector, no latency spikes.

**Redis** — hot read cache. Restores from Irys on cold start. Never the source of truth.

**Irys / Arweave** — permanent encrypted storage. Pay once, stored forever. Source of truth for Pro and above.

**Solana Anchor program** — after every write, a Merkle root is posted on-chain. Anyone can verify your collection's integrity without trusting VecLabs. Program: `8xjQ2XrdhR4JkGAdTEB7i34DBkbrLRkcgchKjN1Vn5nP`

## Key properties

* **Client-side encryption** — keys are derived from your Solana wallet. VecLabs cannot read your data.
* **Tamper-evident** — the on-chain Merkle root proves what vectors exist and in what state.
* **Fast** — 4.7ms P99 at 100K vectors on the Rust HNSW core.
* **Cheap** — $0/mo free tier, $25/mo Pro with permanent storage.

## Solana devnet

The Anchor program is live on Solana devnet:

* Program: [`8xjQ2XrdhR4JkGAdTEB7i34DBkbrLRkcgchKjN1Vn5nP`](https://explorer.solana.com/address/8xjQ2XrdhR4JkGAdTEB7i34DBkbrLRkcgchKjN1Vn5nP?cluster=devnet)

Mainnet deployment is on the roadmap.
