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

# Supabase

> Supabase conversation store for PraisonAI

# Supabase

Open-source Firebase alternative with PostgreSQL.

## Setup

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install supabase
export SUPABASE_URL=your_url
export SUPABASE_KEY=your_key
```

## Quick Start

Use Supabase for conversation persistence with an agent:

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent
import os

agent = Agent(
    name="Assistant",
    instructions="You are a helpful assistant.",
    memory={
        "db": f"supabase://{os.getenv('SUPABASE_URL')}",
        "session_id": "my-session"
    }
)

response = agent.start("Hello!")
print(response)
```
