Documentation Index
Fetch the complete documentation index at: https://spacesail.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Code
cookbook/tools/brandfetch_tools.py
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.")
Usage
Create a virtual environment
Open the 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