Siliconflow Cookbook
Note: Fork and clone this repository if needed
1. Create and activate a virtual environment
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
2. Export your SILICONFLOW_API_KEY
export SILICONFLOW_API_KEY=***
3. Install libraries
uv pip install -U openai duckduckgo-search duckdb agno
4. Run basic Agent
python cookbook/90_models/siliconflow/basic.py
5. Run Agent with Tools
python cookbook/90_models/siliconflow/tool_use.py
6. Run Agent that returns structured output
python cookbook/90_models/siliconflow/structured_output.py