Skip to main content

Supabase

Open-source Firebase alternative with PostgreSQL.

Setup

pip install supabase
export SUPABASE_URL=your_url
export SUPABASE_KEY=your_key

Quick Start

Use Supabase for conversation persistence with an agent:
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)