Copy
Ask AI
"""
Resend Tools
=============================
Demonstrates resend tools.
"""
from agno.agent import Agent
from agno.tools.resend import ResendTools
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
from_email = "<enter_from_email>"
to_email = "<enter_to_email>"
agent = Agent(tools=[ResendTools(from_email=from_email)])
# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
agent.print_response(f"Send an email to {to_email} greeting them with hello world")
Run the Example
Copy
Ask AI
# Clone and setup repo
git clone https://github.com/agno-agi/agno.git
cd agno/cookbook/91_tools
# Create and activate virtual environment
./scripts/demo_setup.sh
source .venvs/demo/bin/activate
python resend_tools.py