Vercel with Reasoning Tools (Historical)
Historical V0 Model API integration, retained for migration context.
The v0 Model API used by this example is no longer available. The code below is historical and cannot be run against that retired API. See the v0 API documentation for its Platform API, which is a different integration from Agno’s V0 model adapter.
For a current Agno example, use ReasoningTools with a supported model.
Historical example
Add the following code to your Python file
from agno.agent import Agent
from agno.models.vercel import V0
from agno.tools.reasoning import ReasoningTools
from agno.tools.websearch import WebSearchTools
reasoning_agent = Agent(
model=V0(id="v0-1.0-md"),
tools=[
ReasoningTools(add_instructions=True, add_few_shot=True),
WebSearchTools(),
],
instructions=[
"Use tables to display data",
"Only output the report, no other text",
],
markdown=True,
)
reasoning_agent.print_response(
"Write a report on TSLA",
stream=True,
show_full_reasoning=True,
)Set up your virtual environment
uv venv --python 3.12
source .venv/bin/activateInstall dependencies
uv pip install -U agno openai ddgsExport your V0 API key
export V0_API_KEY="your_v0_api_key_here"Run Agent
python vercel_reasoning_tools.py