100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
feature : agno multi-agent implementation
priyanshm07e4cea90a188e
diff --git a/mcp_ai_agents/ai_travel_planner_mcp_agent_team/README.md b/mcp_ai_agents/ai_travel_planner_mcp_agent_team/README.mdindex 9d9abd17..e7b0fe96 100644--- a/mcp_ai_agents/ai_travel_planner_mcp_agent_team/README.md+++ b/mcp_ai_agents/ai_travel_planner_mcp_agent_team/README.md@@ -29,15 +29,31 @@ git clone https://github.com/yourusername/ai-travel-planner.gitcd ai-travel-planner-1. *Create Virtual Env*+2. *Create Virtual Env*conda create -n env_name python=3.10 -yconda activate env_namepip install -r requirements.txt-1. *Create env file*+3. *Create env file*GOOGLE_MAPS_API_KEY=your_google_maps_api_keyACCUWEATHER_API_KEY=your_accuweather_api_keyOPENAI_API_KEY=your_openai_api_key+++---++## 🧠 Built With+-- Agno++-- FastMCP++-- OpenAI++-- Google Maps Platform++-- Airbnb MCP++-- Accuweather\ No newline at end of filediff --git a/mcp_ai_agents/ai_travel_planner_mcp_agent_team/app.py b/mcp_ai_agents/ai_travel_planner_mcp_agent_team/app.pyindex 4bcee2e8..7b465de9 100644--- a/mcp_ai_agents/ai_travel_planner_mcp_agent_team/app.py+++ b/mcp_ai_agents/ai_travel_planner_mcp_agent_team/app.py@@ -2,6 +2,7 @@ import asyncioimport osfrom agno.agent import Agent+from agno.team.team import Teamfrom agno.tools.mcp import MultiMCPToolsimport streamlit as st@@ -37,17 +38,39 @@ async def run_agent(message: str) -> None:],env=env,) as mcp_tools:- agent = Agent(++ #Define sepcialized agents+ maps_agent = Agent(tools=[mcp_tools],+ name="Maps Agent",+ goal="Integrates with Google Maps server to provide routing information, travel time estimates, and points of interest proximity analysis"+ )++ weather_agent = Agent(+ tools=[mcp_tools],+ name="Weather Agent",+ goal="Pulls data from OpenWeatherMap to provide weather forecasts for planned dates and locations, allowing for weather-appropriate activity planning."+ )++ booking_agent = Agent(+ tools=[mcp_tools],+ name="Booking Agent",+ goal="Connects to Booking.com and Airbnb APIs to search and filter accommodations based on user preferences (price range, amenities, location)"+ )++ team = Team(+ members=[maps_agent, weather_agent, booking_agent],+ name="Travel Planning Team",markdown=True,- show_tool_calls=True,+ show_tool_calls=True)- await agent.aprint_response(message, stream=True)+ await team.aprint_response(message, stream=True)# -------------------- Terminal Interaction Loop ---------------------if _name_ == "_main_": # type: ignore+if __name__ == "__main__": # ✅ correct+print("🌍 Travel Planning Agent — Airbnb, Maps, Weather, Calendar (type 'exit' to quit)\n")try:while True: