Skip to main content
Example showing how to use AgentOS with SingleStore as our database provider
singlestore.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Prepare SingleStore

Start a SingleStore database named ai at localhost:3306 with the credentials in the source.
5

Run the example

Save the code above as singlestore.py, then run:
Full source: cookbook/05_agent_os/dbs/singlestore.py