GhostPilot is an offline AI-powered Network Copilot developed for ISRO Hackathon PS-13. It analyzes satellite network telemetry using Machine Learning, a rule engine, and the Phi-3 Large Language Model running locally through Ollama to generate intelligent network diagnostics and future risk predictions.
- Offline AI inference using Ollama
- Phi-3 Large Language Model
- Machine Learning-based Risk Prediction
- Future Risk Trajectory Prediction
- Rule-based Network Health Evaluation
- AI-generated Network Analysis
- Historical Report Storage
- JSON Telemetry Input
- Python
- FastAPI
- Scikit-learn
- Ollama
- Phi-3
- NumPy
- JSON
python app.pyReturns the backend health status.
{
"status": "OK",
"service": "GhostPilot AI Backend",
"model": "phi3",
"version": "1.0"
}Analyzes satellite telemetry using the ML model and Phi-3 LLM.
{
"latency": 45,
"packet_loss": 2,
"cpu": 60
}{
"status": "success",
"network_status": "Warning",
"predicted_risk": 55,
"generated_at": "2026-06-28 17:20:00",
"model": "phi3",
"telemetry": {
"latency": 45,
"packet_loss": 2,
"cpu": 60
},
"reason": "...",
"possible_root_cause": "...",
"potential_impact": "...",
"recommended_actions": "...",
"summary": "..."
}Returns all previously generated network analysis reports stored in the history/ folder.
Predicts future network risk values using a Linear Regression model trained on historical risk scores.
{
"history": [
{
"time": 0,
"risk": 100
},
{
"time": 1,
"risk": 99
}
],
"prediction": [
{
"time": 20,
"risk": 26
},
{
"time": 21,
"risk": 23
}
]
}- Loads historical risk scores from the
history/directory. - Trains a Linear Regression model using previous analysis results.
- Forecasts the next 10 network risk values.
- Supplies data for the Future ML Trajectory Predictions chart in the GhostPilot dashboard.
- Receive network telemetry.
- Predict network risk using the ML model.
- Evaluate network status using the rule engine.
- Generate AI-powered diagnostics using Phi-3 via Ollama.
- Save the analysis report.
- Train a Linear Regression model on historical risk scores.
- Predict future network risk trajectory for visualization.
Presentation Link: https://canva.link/vfcqv13ojqmukn5
- Shruti Gupta
- Shivangi Gupta