Skip to main content

SurrealDB

Multi-model database.

Setup

docker run -d -p 8000:8000 surrealdb/surrealdb start

Quick Start

from praisonaiagents import Agent

agent = Agent(
    name="Assistant",
    instructions="You are a helpful assistant.",
    memory={
        "db": "surrealdb://localhost:8000",
        "session_id": "my-session"
    }
)

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