The following agent will run seach wikipedia for “ai” and print the response.
cookbook/tools/wikipedia_tools.py
from phi.agent import Agentfrom phi.tools.wikipedia import WikipediaToolsagent = Agent(tools=[WikipediaTools()], show_tool_calls=True)agent.print_response("Search wikipedia for 'ai'")