Skip to content

agno-agi/agno-demo-app

Repository files navigation

Agno Demo App

This repo contains the code for running agno demo app in 2 environments:

  1. dev: A development environment running locally on docker
  2. prd: A production environment running on AWS ECS

Setup Workspace

  1. Clone the git repo

from the agno-demo-app dir:

  1. Install workspace and activate the virtual env:
./scripts/dev_setup.sh
source .venv/bin/activate

Optional: Install agno-sdk in editable mode:

VIRTUAL_ENV=.venv
AGNO_DIR=../phidata # Or wherever your agno-sdk is located
uv pip install -e ${AGNO_DIR}/libs/agno
uv pip install -e ${AGNO_DIR}/libs/infra/agno_docker
uv pip install -e ${AGNO_DIR}/libs/infra/agno_aws
  1. Copy workspace/example_secrets to workspace/secrets:
cp -r workspace/example_secrets workspace/secrets

Run Demo App locally

  1. Install docker desktop

  2. Set OpenAI Key

Set the OPENAI_API_KEY environment variable using

export OPENAI_API_KEY=sk-***

OR set in the .env file

  1. Start the workspace using:
ag ws up dev

Open localhost:8000/docs to view the agno demo app.

  1. Stop the workspace using:
ag ws down dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages