Clone the repository
git clone https://github.com/agno-agi/agno.git cd agno
Create virtual environment
python3 -m venv .venv source .venv/bin/activate
Install dependencies
pip install -r cookbook/examples/streamlit_apps/agentic_rag/requirements.txt
Run PgVector
./cookbook/scripts/run_pgvector.sh
docker run -d \ -e POSTGRES_DB=ai \ -e POSTGRES_USER=ai \ -e POSTGRES_PASSWORD=ai \ -e PGDATA=/var/lib/postgresql/data/pgdata \ -v pgvolume:/var/lib/postgresql/data \ -p 5532:5432 \ --name pgvector \ agnohq/pgvector:16
Set up API keys
# Required export OPENAI_API_KEY=*** # Optional export ANTHROPIC_API_KEY=*** export GOOGLE_API_KEY=***
Launch the app
streamlit run cookbook/examples/streamlit_apps/agentic_rag/app.py
Was this page helpful?