Skip to main content
GiphyTools enables an Agent to search for GIFs on GIPHY.

Prerequisites

export GIPHY_API_KEY=***

Example

The following agent will search GIPHY for a GIF appropriate for a birthday message.
from agno.agent import Agent
from agno.models.openai import OpenAIResponses
from agno.tools.giphy import GiphyTools

gif_agent = Agent(
    name="Gif Generator Agent",
    model=OpenAIResponses(id="gpt-5.2"),
    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.")

Toolkit Params

ParameterTypeDefaultDescription
api_keystrNoneIf you want to manually supply the GIPHY API key.
limitint1The number of GIFs to return in a search.
enable_search_gifsboolTrueEnable the search_gifs functionality.
allboolFalseEnable all functionality.

Toolkit Functions

FunctionDescription
search_gifsSearches GIPHY for a GIF based on the query string.

Developer Resources