Run enterprise grade agent systems in your cloud with the AgentOS. Join the waitlist.
from agno.agent import Agent from agno.models.vercel import v0 from agno.tools.duckduckgo import DuckDuckGoTools agent = Agent( model=v0(id="v0-1.0-md"), tools=[DuckDuckGoTools()], show_tool_calls=True, markdown=True, ) agent.print_response("Whats happening in France?", stream=True)
Create a virtual environment
Terminal
python3 -m venv .venv source .venv/bin/activate
Set your API key
export V0_API_KEY=xxx
Install libraries
pip install -U openai duckduckgo-search agno
Run Agent
python cookbook/models/vercel/tool_use.py
Was this page helpful?