Skip to content

Agentic AI workflow for Predictive Maintenance #304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

vikalluru
Copy link

@vikalluru vikalluru commented Jun 6, 2025

Agentic AI Workflow for Predictive Maintenance

Summary

Implementation of a multi-agent predictive maintenance system using NVIDIA AIQ Toolkit for turbofan engine RUL (Remaining Useful Life) prediction based on NASA C-MAPSS dataset.

Architecture

  • React Agent: Main workflow orchestration using ReAct pattern with NIM LLM integration
  • SQL Retriever Tool: Automated SQL query generation with ChromaDB vector database for schema retrieval
  • RUL Prediction Tool: XGBoost regression model with StandardScaler preprocessing
  • Plotting Agent: Multi-tool visualization agent supporting distribution, comparison, and time-series plots

Components Added

industries/manufacturing/predictive_maintenance_agent/
├── src/predictive_maintenance_agent/
│   ├── configs/config.yml                    # Agent configuration
│   ├── predict_rul_tool.py                  # RUL prediction implementation
│   ├── plot_*.py                           # Visualization tools
│   └── generate_sql_query_tool.py          # SQL generation with RAG
├── models/                                  # Pre-trained XGBoost and scaler
├── database/                               # SQLite database and setup
├── imgs/                                   # Test execution screenshots
└── README.md                              # Setup and usage documentation

Dependencies

  • Python 3.11+
  • NVIDIA AIQ Toolkit
  • XGBoost, scikit-learn, pandas, numpy
  • ChromaDB for vector storage
  • Vanna for SQL retrieval
  • Optional: Phoenix for observability

Testing

Validated with three test scenarios:

  • RUL distribution analysis across engine units
  • Sensor trend visualization over operational cycles
  • Predictive accuracy comparison (actual vs predicted RUL)

Contributors: Vineeth Kalluru, Janaki Vamaraju, Sugandha Sharma, Ze Yang, Viraj Modak

vikalluru added 7 commits June 6, 2025 11:57
Signed-off-by: Vineeth Kalluru <[email protected]>
Signed-off-by: Vineeth Kalluru <[email protected]>
Signed-off-by: Vineeth Kalluru <[email protected]>
Signed-off-by: Vineeth Kalluru <[email protected]>
Signed-off-by: Vineeth Kalluru <[email protected]>
Signed-off-by: Vineeth Kalluru <[email protected]>
@vikalluru vikalluru marked this pull request as ready for review June 6, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant