from agno.agent import Agent
from agno.tools.resend import ResendTools
agent = Agent(
tools=[ResendTools()],
show_tool_calls=True,
markdown=True,
)
agent.print_response("Send an email to test@example.com with the subject 'Test Email'")
Create a virtual environment
Terminal
and create a python virtual environment.python3 -m venv .venv
source .venv/bin/activate
Set your API key
export RESEND_API_KEY=xxx
export OPENAI_API_KEY=xxx
Install libraries
pip install -U resend openai agno
Run Agent
python cookbook/tools/resend_tools.py
Was this page helpful?