Back to Agno

Vercel Cookbook

cookbook/90_models/vercel/README.md

2.6.4599 B
Original Source

Vercel Cookbook

Note: Fork and clone this repository if needed

1. Create and activate a virtual environment

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

Obtain a V0 API key

  • Go to V0
  • Go to settings and obtain an API key

2. Export your V0_API_KEY

shell
export V0_API_KEY=***

3. Install libraries

shell
uv pip install -U agno

4. Run basic Agent

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