ODAI requires a minimum of 4GB RAM for local development. Lower memory may cause instability when running the full agent stack.
Prerequisites
Before setting up ODAI locally, make sure you have the following installed and configured:- Python 3.11+ (Python 3.13 recommended)
- Google Cloud SDK (
gcloudCLI) — required for accessing Google Secret Manager and deploying - Firebase project — for authentication and Firestore data storage
- API keys for the third-party services you plan to use (see Environment Variables)
Setup
Configure environment variables
Create a
.env file in the backend root directory. Setting LOCAL=true tells the application to read secrets from this file instead of Google Secret Manager:Start the development server
Run the FastAPI application with hot reload enabled:The API will be available at http://localhost:8080.The
--reload flag watches for file changes and automatically restarts the server, making it convenient during active development.The LOCAL environment variable
When LOCAL=true is set, config.py loads all settings from the .env file using pydantic-settings:
LOCAL=true is present in your .env when developing locally.
Verifying the setup
Once the server is running, check the health endpoint:Next steps
- Review all available Environment Variables to enable specific integrations
- Run the test suite to confirm everything is wired up correctly
- See Deployment when you’re ready to push to a hosted environment