mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 12:47:55 -10:00
9 lines
392 B
Python
9 lines
392 B
Python
from praisonaiagents import Agent, MCP
|
|
|
|
search_agent = Agent(
|
|
instructions="""You help book apartments on Airbnb.""",
|
|
llm="gemini/gemini-2.5-pro-exp-03-25",
|
|
tools=MCP("npx -y @openbnb/mcp-server-airbnb --ignore-robots-txt")
|
|
)
|
|
|
|
search_agent.start("MUST USE airbnb_search Tool to Search. Search for Apartments in Paris for 2 nights. 04/28 - 04/30 for 2 adults. All Your Preference") |