mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 12:47:55 -10:00
9 lines
317 B
Python
9 lines
317 B
Python
from praisonaiagents import Agent, MCP
|
|
|
|
search_agent = Agent(
|
|
instructions="""You help book apartments on Airbnb.""",
|
|
llm="gpt-5-nano",
|
|
tools=MCP("npx -y @openbnb/mcp-server-airbnb --ignore-robots-txt")
|
|
)
|
|
|
|
search_agent.start("I want to book an apartment in Paris for 2 nights. 03/28 - 03/30 for 2 adults") |