Skip to main content
Example showing how to use AgentOS with JSON files hosted in GCS as database.
gcs_json.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Authenticate with Google Cloud

Sign in with Application Default Credentials:
5

Run the example

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