MechCare AI is an AI-powered machine maintenance and troubleshooting assistant designed to help engineers, technicians, students, and machine operators understand machine problems and perform structured initial analysis.
The application collects machine information, condition monitoring data, observed symptoms, and problem descriptions, then processes the information through a five-agent AI engineering workflow to generate possible faults, diagnostic checks, maintenance recommendations, safety considerations, and a final engineering report.
MechCare AI uses five specialized AI agents to analyze a machine problem step by step:
| Agent | Responsibility |
|---|---|
| ๐ Condition Monitoring | Evaluates machine condition, abnormal behavior, early warning signs, and predictive condition |
| ๐ Problem Analysis | Analyzes the reported problem, symptoms, and missing information |
| ๐ง Fault Diagnosis | Identifies possible faults and suggests diagnostic checks |
| ๐ ๏ธ Maintenance Planning | Provides inspection and maintenance recommendations |
| ๐ก๏ธ Safety & Final Report | Reviews the analysis, considers safety, and generates the final engineering report |
The application analyzes available machine monitoring information and provides an AI-based assessment of:
- Machine condition
- Abnormal behavior
- Early warning signs
- Possible predictive condition
- Recommended next action
The application also recommends additional data or measurements that may help confirm a suspected machine fault.
Users can enter important machine information, including:
- Machine Type
- Machine ID
- Manufacturer
- Machine Model
- Machine Age
- Operating Hours
- Operating Speed
- Load Condition
- Last Maintenance
- Centrifugal Pump
- Electric Motor
- Gearbox
- Compressor
- Fan
- Bearing System
- Turbine
- Other
Users can provide important machine operating measurements such as:
- ๐ก๏ธ Temperature (ยฐC)
- ๐ณ Vibration (mm/s)
- ๐ RPM
- ๐จ Pressure (bar)
- ๐ง Flow Rate (L/min)
- โก Current (A)
These measurements are analyzed together with the machine information and observed symptoms.
Users can select one or multiple symptoms observed during machine operation.
Examples include:
- Unusual noise
- Excessive vibration
- Overheating
- Reduced performance
- Leakage
- Increased power consumption
- Slow or irregular operation
- Pressure or flow problems
- Loose components
- Lubrication problems
- Burning smell
- Other
Based on the available information, MechCare AI identifies possible causes of the machine problem.
The system connects:
Symptoms โ Possible Causes โ Diagnostic Checks
This helps users understand what could be causing the problem and what checks may be useful for further investigation.
MechCare AI provides a practical maintenance checklist containing checks such as:
- Check for unusual noise
- Check for excessive vibration
- Check temperature
- Check for leakage
- Check lubrication condition
- Check loose components
- Check alignment
- Check operating conditions
Users can mark individual checks as completed.
After the analysis, MechCare AI generates a consolidated engineering report containing relevant findings from the AI workflow.
The report can include:
- Problem summary
- Condition assessment
- Possible faults
- Diagnostic checks
- Maintenance recommendations
- Safety considerations
- Recommended next actions
MechCare AI includes a browser-based voice reader that can read the generated engineering analysis aloud.
โถ๏ธ Play- โธ๏ธ Pause
- โน๏ธ Stop
The voice speed can be adjusted from:
0.25ร โ 2ร
Available speeds:
0.25ร 0.5ร 0.75ร 1ร 1.25ร 1.5ร 1.75ร 2ร
The voice reader can read the main AI analysis sections, including the condition monitoring results, recommended additional data, possible faults, and final engineering report.
The final engineering analysis can be exported as a PDF report.
This makes it easier to save, share, and document the results of a machine troubleshooting case.
The overall workflow is:
Machine Information
โ
Condition Monitoring Data
โ
Observed Symptoms
โ
Problem Description
โ
AI Analysis
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 01 Condition Monitoring โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 02 Problem Analysis โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 03 Fault Diagnosis โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 04 Maintenance Planning โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 05 Safety & Final Report โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Engineering Analysis
โ
Voice Reader / PDF Report
MechCare AI is built around a modular multi-agent architecture.
MechCare AI
โ
โโโ app.py
โ โโโ Streamlit User Interface
โ
โโโ crew.py
โ โโโ Multi-Agent Engineering Workflow
โ
โโโ pdf_report.py
โ โโโ PDF Report Generation
โ
โโโ requirements.txt
โโโ Required Python Packages
| Technology | Purpose |
|---|---|
| ๐ Python | Main programming language |
| ๐ Streamlit | Web application interface |
| ๐ค Groq API | AI model integration |
| ๐ Multi-Agent Architecture | Specialized engineering analysis |
| ๐ JavaScript Speech Synthesis | Browser-based voice reader |
| ๐ PDF Generation | Engineering report export |
git clone https://github.com/your-username/mechcare-ai.gitMove into the project folder:
cd mechcare-aiInstall the required Python packages:
pip install -r requirements.txtMechCare AI requires a Groq API key for AI analysis.
For local development, configure your Streamlit secrets with your API key.
Example:
GROQ_API_KEY = "your_api_key_here"Never commit your actual API key to GitHub.
Start the Streamlit application:
streamlit run app.pyThe application will open in your browser.
mechcare-ai/
โ
โโโ app.py
โโโ crew.py
โโโ pdf_report.py
โโโ requirements.txt
โโโ README.md
โโโ .gitignore
API credentials should always be stored securely.
Do not place your actual Groq API key directly inside:
app.py
crew.py
or any other source file that will be uploaded to GitHub.
Use Streamlit secrets or environment variables instead.
MechCare AI was developed with the following objectives:
- Combine Mechanical Engineering + Artificial Intelligence
- Simplify machine troubleshooting
- Structure engineering analysis using specialized AI agents
- Support condition monitoring
- Identify possible machine faults
- Recommend maintenance actions
- Provide safety-focused information
- Generate engineering reports
- Make AI-based engineering assistance easier to access
Possible future enhancements include:
- ๐ Historical machine data
- ๐ Condition monitoring trend graphs
- ๐จ Automated anomaly detection
- ๐ฎ Advanced predictive maintenance
- ๐๏ธ Analysis history
- ๐ญ More machine types and models
- ๐ Maintenance scheduling
- ๐ More detailed PDF reports
- ๐ฑ Improved mobile interface
- ๐ Machine performance dashboards
MechCare AI is an engineering decision-support and educational tool.
The AI-generated results should be treated as preliminary guidance and should be verified using appropriate engineering measurements, inspections, manufacturer documentation, safety procedures, and qualified professional judgment before making maintenance or operational decisions.
MechCare AI
An AI-powered approach to machine maintenance, condition monitoring, troubleshooting, and engineering decision support.
Consider giving the repository a โญ on GitHub and sharing your feedback or ideas for future improvements.
Your ideas and suggestions are always welcome.