The following agent will search GIPHY for a GIF appropriate for a birthday message.
Copy
Ask AI
from phi.agent import Agentfrom phi.model.openai import OpenAIChatfrom phi.tools.giphy import GiphyToolsgif_agent = Agent( name="Gif Generator Agent", model=OpenAIChat(id="gpt-4o"), tools=[GiphyTools()], description="You are an AI agent that can generate gifs using Giphy.",)gif_agent.print_response("I want a gif to send to a friend for their birthday.")