Back to Agno

Requesty Cookbook

cookbook/90_models/requesty/README.md

2.6.4899 B
Original Source

Requesty Cookbook

Note: Fork and clone this repository if needed

Requesty AI is an LLM gateway with AI governance. See their website for more information.

1. Create and activate a virtual environment

shell
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate

2. Export your REQUESTY_API_KEY

shell
export REQUESTY_API_KEY=***

3. Install libraries

shell
uv pip install -U openai ddgs duckdb yfinance agno

4. Run basic Agent

  • Streaming on
shell
python cookbook/92_models/requesty/basic_stream.py
  • Streaming off
shell
python cookbook/92_models/requesty/basic.py

5. Run Agent with Tools

  • DuckDuckGo Search
shell
python cookbook/92_models/requesty/tool_use.py

6. Run Agent that returns structured output

shell
python cookbook/92_models/requesty/structured_output.py