Skip to content

About

Multi-Agent AI Assistant for Machine Maintenance and Troubleshooting

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš™๏ธ MechCare AI

AI-Based Machine Maintenance & Troubleshooting Assistant

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.


๐Ÿš€ Features

๐Ÿค– Multi-Agent Engineering Workflow

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

๐Ÿ“Š Condition Monitoring & Predictive Intelligence

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.


๐Ÿญ Machine Profile

Users can enter important machine information, including:

  • Machine Type
  • Machine ID
  • Manufacturer
  • Machine Model
  • Machine Age
  • Operating Hours
  • Operating Speed
  • Load Condition
  • Last Maintenance

Supported Machine Types

  • Centrifugal Pump
  • Electric Motor
  • Gearbox
  • Compressor
  • Fan
  • Bearing System
  • Turbine
  • Other

๐Ÿ“ˆ Condition Monitoring Inputs

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.


โš ๏ธ 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

๐Ÿ” Possible Faults & Diagnostic Checks

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.


๐Ÿ› ๏ธ Maintenance Checklist

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.


๐Ÿ“‹ Final Engineering Report

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

๐Ÿ”Š AI Voice Reader

MechCare AI includes a browser-based voice reader that can read the generated engineering analysis aloud.

Voice Controls

  • โ–ถ๏ธ Play
  • โธ๏ธ Pause
  • โน๏ธ Stop

Adjustable Speed

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.


๐Ÿ“„ PDF 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.


๐Ÿง  How MechCare AI Works

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

๐Ÿ—๏ธ Project Architecture

MechCare AI is built around a modular multi-agent architecture.

Main Components

MechCare AI
โ”‚
โ”œโ”€โ”€ app.py
โ”‚   โ””โ”€โ”€ Streamlit User Interface
โ”‚
โ”œโ”€โ”€ crew.py
โ”‚   โ””โ”€โ”€ Multi-Agent Engineering Workflow
โ”‚
โ”œโ”€โ”€ pdf_report.py
โ”‚   โ””โ”€โ”€ PDF Report Generation
โ”‚
โ””โ”€โ”€ requirements.txt
    โ””โ”€โ”€ Required Python Packages

๐Ÿ› ๏ธ Technologies Used

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

๐Ÿ’ป Installation

1. Clone the Repository

git clone https://github.com/your-username/mechcare-ai.git

Move into the project folder:

cd mechcare-ai

2. Install Dependencies

Install the required Python packages:

pip install -r requirements.txt

3. Configure Groq API Key

MechCare 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.


4. Run the Application

Start the Streamlit application:

streamlit run app.py

The application will open in your browser.


๐Ÿ“ Project Structure

mechcare-ai/
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ crew.py
โ”œโ”€โ”€ pdf_report.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .gitignore

๐Ÿ” Security

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.


๐ŸŽฏ Project Objectives

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

๐Ÿ”ฎ Future Improvements

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

โš ๏ธ Disclaimer

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.


๐Ÿ‘จโ€๐Ÿ’ป Project

MechCare AI

An AI-powered approach to machine maintenance, condition monitoring, troubleshooting, and engineering decision support.


โญ If You Find This Project Useful

Consider giving the repository a โญ on GitHub and sharing your feedback or ideas for future improvements.

Your ideas and suggestions are always welcome.

About

Multi-Agent AI Assistant for Machine Maintenance and Troubleshooting

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages