This project is a modular Multi-Agent AI System designed using the Google ADK pattern. It accepts a natural language goal and orchestrates a series of autonomous agents to:
- Identify the next SpaceX launch.
- Fetch weather data for the launch site.
- Enrich the context with relevant news.
- Analyze the likelihood of delay.
- Check if the goal is satisfied.
User Goal
⬇
PlannerAgent
⬇
['SpaceXAgent', 'WeatherAgent', 'NewsAgent', 'AnalyzerAgent', 'GoalCheckerAgent']
⬇
Sequential execution of agents using shared state
- Parses the goal string and returns an ordered execution plan.
- Fetches the next SpaceX launch using the SpaceX API v3.
- Resolves launch site name to latitude and longitude using SpaceX API v4.
- Uses coordinates to fetch weather data via OpenWeatherMap API.
- Uses NewsAPI to fetch top headlines related to SpaceX and weather.
- Analyzes the data to predict if the launch might be delayed.
- Evaluates if the goal was fulfilled using analysis results.
git clone https://github.com/yourname/multi-agent-spacex.git
cd multi-agent-spacexOPENWEATHER_API_KEY=your_openweather_api_key
NEWSAPI_KEY=your_newsapi_keypip install -r requirements.txtpython main.pyMade with ❤️ by Rishi Vejani