This guide will walk you through setting up your serverless Rice backend and connecting your first agent.
Once logged in to the dashboard:
my-agent-backend).Your instance will be ready in a few seconds.
After your instance is created, you will see a connection card.
xyz-123.ricedb.cloud3000 (HTTP) or 50051 (gRPC)adminRice provides a Python SDK for easy interaction. Since the project is in beta, install directly from the repository:
pip install git+https://github.com/rice-ai-hq/ricedb-python
Create a new Python file test_connect.py and run the following code to verify your connection:
from ricedb import RiceDBClient
# Replace with your actual credentials
HOST = "xyz-123.ricedb.cloud"
USERNAME = "admin"
PASSWORD = "your_password_here"
# Connect
client = RiceDBClient(HOST)
client.connect()
# Authenticate
token = client.login(USERNAME, PASSWORD)
print(f"Successfully connected! Token: {token[:10]}...")
# Run a health check
print(f"Health status: {client.health()}")
client.disconnect()
Run the script:
python test_connect.py
Now that you are connected, you are ready to build!