An AI-powered 5-Why root cause analysis tool with interactive tree visualization.
- AI-Powered Analysis: Generate root cause candidates using OpenAI GPT
- Interactive Tree Visualization: Visual 5-Why analysis tree with React Flow
- Multiple Frameworks: Support for 4M, 5M+1E, SHELL, 4P, SRE, and General analysis frameworks
- Countermeasure Generation: AI-suggested countermeasures for identified root causes
- Multi-Language Support: Japanese, English, and Chinese interfaces
- PDF Export: Export analysis results as PDF documents
- Local Storage: Save and load analyses from browser storage
- Undo/Redo: Full undo/redo support for analysis operations
# Clone the repository
git clone https://github.com/your-username/whytrace-oss.git
cd whytrace-oss
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env and add your OpenAI API key
# Start development server
npm run devOpen http://localhost:3000 in your browser.
- Framework: Next.js 14 (App Router)
- UI: Tailwind CSS + Radix UI + shadcn/ui
- State Management: Zustand
- Tree Visualization: React Flow
- AI: OpenAI API
- Form Validation: React Hook Form + Zod
- i18n: react-i18next
- PDF Export: jsPDF + html2canvas
| Framework | Best For | Categories |
|---|---|---|
| 4M | Manufacturing | Man, Machine, Material, Method |
| 5M+1E | Quality Control | Man, Machine, Material, Method, Measurement, Environment |
| SHELL | Aviation/Healthcare | Software, Hardware, Environment, Liveware (self), Liveware (others) |
| 4P | Service Industry | People, Process, Policy, Place |
| SRE | IT/Software | Software, Hardware, Process, People, Environment |
| General | Any Industry | Auto-categorized by AI |
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
WhyTrace OSSは、AI支援による5Why根本原因分析ツールです。製造業、IT、サービス業など、あらゆる業界の問題解決に活用できます。
- OpenAI GPTによるAI原因候補生成
- React Flowによるインタラクティブなツリー可視化
- 4M、5M+1E、SHELL、4P、SRE、汎用の6種類の分析フレームワーク
- AI対策提案機能
- 日本語・英語・中国語対応
- PDF出力・ローカル保存・Undo/Redo機能
git clone https://github.com/your-username/whytrace-oss.git
cd whytrace-oss
npm install
cp .env.example .env
# .envにOpenAI APIキーを設定
npm run dev