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

# Redis Backend

> Distributed, high-throughput memory storage for Arivu.

## Setup

Arivu uses this store to maintain isolated conversational context per `session_id`, log trace events, and persist pending SQL operations awaiting approval.

### Configuration

Toggle the memory architecture globally before spinning up instances:

<CodeGroup>
  ```bash .env theme={null}
  ARIVU_MEMORY_BACKEND=redis
  REDIS_URL=redis://localhost:6379/0
  ```
</CodeGroup>

<Info>
  All nodes in the LangGraph pipeline utilize `arivu.memory.store` singleton methods directly to query session states.
</Info>
