from agno.agent import Agent
from agno.tools.brandfetch import BrandfetchTools
agent = Agent(
instructions=[
"You are a brand research assistant that helps find brand information",
"Use Brandfetch to retrieve logos, colors, and other brand assets",
"Provide comprehensive brand information when requested",
],
tools=[BrandfetchTools()],
markdown=True,
)
agent.print_response("Find brand information for Apple Inc.")
Create a virtual environment
Terminal
and create a python virtual environment.python3 -m venv .venv
source .venv/bin/activate
Set your API keys
export BRANDFETCH_API_KEY=your-brandfetch-api-key
export OPENAI_API_KEY=xxx
Install libraries
pip install -U httpx openai agno
Run Agent
python cookbook/tools/brandfetch_tools.py