Agents-MCP-Hackathon/supplier-performance-analysis-agent
Supplier Performance Analysis Agent
By Kamala K Nanjundeshaiah (kamala.kodi@gmail.com) and Santosh Suggu (suggu.santosh@gmail.com)
A powerful AI-powered application for analyzing supplier performance using supplier on-time delivery, incoming inspection defect rate and audit findings. This application helps organizations make data-driven decisions about their supplier performance, provide status and reccomendations for improvements and supplier relations. Link to video demo: https://youtu.be/ZJ8RWb6cSoc Link to my Medium Article on this topic: https://medium.com/@KamalaKN/quality-professionals-in-regulated-industries-such-as-medical-devices-understand-the-importance-fb28e85caa54
Features
- ๐ Supplier Performance Analysis
- ๐ Audit Report Processing
- ๐ค AI-Powered Insights
- ๐ฌ Interactive Chat Interface
- ๐ Visual Performance Metrics
- ๐ Detailed Reports Generation
๐ง Key Technologies & Tools
- Python Core development language,
- LangGraph Workflow orchestration and stateful graph logic
- OpenAI (ChatGPT via LangChain) Generating weight logic, performance summary, and chat responses
- Gradio User interface for file uploads, dashboard views, and chat
- Pandas, Matplotlib, Plotly Data processing and visualization
- python-docx Audit report parsing and Word report generation
Overview Diagram:

Live Demo
Try the application live on Hugging Face Spaces: https://huggingface.co/spaces/Agents-MCP-Hackathon/supplier-performance-analysis-agent/
Getting Started
Prerequisites
- Python 3.8 or higher
- OpenAI API key
Installation
- Clone the repository:
git clone https://huggingface.co/spaces/kamalakn/supplier-performance-analysis-agent
cd supplier-analysis-agent- Install dependencies:
pip install -r requirements.txtUsage
- Run the application:
python app.pySample data can be found in "data" folder.
- Open your web browser and navigate to the local URL (typically http://localhost:7860)
- Enter your OpenAI API key in the application interface
- Upload your supplier data (Excel/CSV) and audit reports (Word documents)
- Click "Analyze" to process the data and generate insights
Input Requirements
Supplier Data File
- Excel (.xlsx) or CSV format
- Required columns: [Add your specific requirements]
Audit Reports
- Word documents (.docx)
- Should contain audit findings and observations
Features in Detail
Performance Analysis
- Calculates supplier performance scores
- Identifies top performers
- Generates performance trends
- Provides detailed metrics
AI-Powered Insights
- Natural language processing of audit reports
- Automated summary generation
- Interactive Q&A about supplier data
- Smart recommendations
Visualization
- Interactive performance charts
- Comparative analysis graphs
- Trend visualization
- Customizable metrics display
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the GPL V3.0 License
Acknowledgments
- Built with Gradio
- Powered by OpenAI's GPT models
- Uses LangChain for AI processing
- Visualization powered by Plotly
Contact
For any questions or support, please open an issue in the repository.
