- A FastAPI server for serving Agents, Teams and Workflows.
- A postgres database for session and vector storage.
Setup
1
Create and activate a virtual environment
2
Install Agno
3
Install uv and docker
4
Export your OpenAI key
Agno is compatible with any model provider; simply update the agents in the workspace.
Create your Agent API codebase
Create your codebase using theagent-api template, give it any name you like.
agent-api with the following structure:
Run your Agent Api locally
cd into the agent-api folder
- Open localhost:8000/docs to view the FastAPI routes.
- The
Agentsare defined in theagentsfolder. - The api routes are defined in the
apifolder.
Stop local workspace
Play around and stop the workspace using:Next
Congratulations on running your Agent API locally. Next Steps:- Run your Agent API on AWS
- Read how to update workspace settings
- Read how to create a git repository for your workspace
- Read how to manage the development application
- Read how to format and validate your code
- Read how to add python libraries
- Chat with us on discord