Skip to main content
Here is a full example of an AgentOS where you provide your own FastAPI app.

Code

custom_fastapi.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Set Environment Variables

3

Install libraries

4

Setup PostgreSQL Database

5

Run Example