Debris Guardian is a full-stack, AI-driven Space Traffic Management system designed to mitigate the growing threat of satellite collisions in Low Earth Orbit (LEO). The project simulates real-world orbital dynamics and leverages advanced machine learning techniques to predict, prevent, and manage space debris risks.
With the increasing number of satellites in orbit, collision risks are rising significantly. This project addresses the problem by combining:
- Reinforcement Learning for autonomous collision avoidance
- Predictive Analytics for untracked debris risk estimation
- Multi-Agent Systems for distributed decision-making
- Real-time simulation and visualization
- Implemented a Proximal Policy Optimization (PPO) agent
- Custom simulation environment using Gymnasium
- Learns optimal satellite maneuvers to:
- Avoid collisions
- Minimize fuel consumption
- Built a Random Forest model to estimate risks from small, untracked debris (1–10 cm)
- Uses historical fragmentation data to simulate real-world conditions
- Designed a distributed AI architecture with specialized agents:
- Lookout Agent → Detects threats
- Diplomat Agent → Handles negotiation between satellites
- Pilot Agent → Executes optimal maneuvers
- Uses real-world satellite propagation models (SGP4)
- Processes TLE (Two-Line Element) data for realistic satellite positioning
- Simulates accurate orbital movement and collision scenarios
- Implements Contract-Net Protocol
- Enables autonomous decision-making between satellites on collision paths
- Optimizes which satellite should maneuver
- Calculates minimal thrust required for orbit adjustments
- Ensures fuel-efficient satellite movement
- Backend built with FastAPI
- Real-time communication via WebSockets
- Streams telemetry data continuously
- Built using React and Three.js
- Displays:
- Satellite positions
- Debris fields
- Risk alerts
- Live system telemetry
- Python
- FastAPI
- WebSockets
- Gymnasium
- Reinforcement Learning (PPO)
- Scikit-learn (Random Forest)
- NumPy, Pandas
- React.js
- Three.js
- Git & GitHub
- Docker (optional deployment)
+----------------------+
| Frontend (React) |
| Three.js Dashboard |
+----------+-----------+
|
WebSockets (Real-time)
|
+----------v-----------+
| FastAPI Server |
| Simulation Engine |
+----------+-----------+
|
+------------------+------------------+
| |
+-------v--------+ +--------v--------+
| RL Agent (PPO) | | Random Forest |
| Collision Avoid| | Risk Prediction |
+----------------+ +-----------------+
|
+-------v--------+
| Multi-Agent Sys|
| Lookout/Diplomat|
| Pilot Agents |
+----------------+
git clone https://github.com/SharathWeb/debris-guardian.git
cd debris-guardian
### 2️⃣ Backend Setup
pip install -r requirements.txt
uvicorn main:app --reload
### 3️⃣ Frontend Setup
```bash
cd client
npm install
npm run devThis project is configured for a hybrid deployment to support real-time WebSockets.
- Create a new Blueprint project on Render.
- Connect this repository.
- Render will use
render.yamlto automatically:- Set the root directory to
server/. - Install dependencies from
server/requirements.txt. - Start the FastAPI server using Uvicorn.
- Set the root directory to
- Important: Add your
.envvariables (Snowflake, API Keys) in the Render Dashboard under Environment.
- Import this repository into Vercel.
- Vercel will detect the
vercel.jsonin the root and build theclient/directory. - Environment Variables: You must add these in the Vercel Dashboard:
VITE_API_URL: Your Render backend URL (e.g.,https://your-app.onrender.com)VITE_WS_URL: Your Render WebSocket URL (e.g.,wss://your-app.onrender.com/ws)
📌 Applications • Space Traffic Management • Satellite Collision Avoidance • Aerospace AI Systems • Autonomous Decision Systems
🔮 Future Improvements • Integration with real satellite APIs • Advanced deep learning models for debris prediction • Scalable cloud deployment (AWS / Azure) • Enhanced visualization and analytics
👨💻 Author Sharath S Prasad
📧 sharathspd1818@gmail.com 🔗 LinkedIn: https://www.linkedin.com/in/sharath-s-prasad-204a28227