Minder Academy Architecture Diagrams¶
Visual documentation for key AI/ML concepts and system architectures
Overview¶
This directory contains Mermaid diagrams that illustrate complex concepts from the Minder Academy curriculum. These diagrams complement the technical documentation and provide visual learning aids.
Available Diagrams¶
ML Lifecycle Diagrams¶
File: ML-LIFECYCLE.md
Related Documentation: 6501: ML Lifecycle Management
Diagrams Include:
- ML Lifecycle Stages (Development → Staging → Production → Maintenance)
- CI/CD Pipeline for ML
- Model Evaluation Framework
- Canary Deployment Strategy
- Model Drift Detection
- Experiment Tracking (MLflow)
- Retrain Decision Framework
Best viewed with: Volume 7, Phase 6 (MLOps)
ReAct Loop Diagrams¶
File: REACT-LOOP.md
Related Documentation: 7101: ReAct (Reasoning + Acting) Loop System
Diagrams Include:
- ReAct Loop Architecture (State Diagram)
- Detailed ReAct Sequence (Sequence Diagram)
- ReAct Prompt Structure
- Tool Calling Flow
- Multi-Step Reasoning Example
- ReAct vs Standard LLM
- Tool Types in ReAct
- Error Handling in ReAct
Best viewed with: Volume 7, Phase 7 (Agentic Systems)
Project Architecture Diagrams¶
File: PROJECT-001-ARCHITECTURE.md
Related Documentation: PROJECT-001: AI Assistant
Diagrams Include:
- Complete AI Assistant System Architecture
- RAG Service Integration
- ReAct Agent Flow
- Tool Executor
- Web Frontend
- Component Interactions
Best viewed with: Volume 7, Capstone Projects
Diagram Usage¶
Viewing Diagrams¶
These diagrams use Mermaid syntax and can be viewed:
- GitHub/GitLab: Native rendering in markdown files
- VS Code: Install "Markdown Preview Mermaid Support" extension
- Online: Mermaid Live Editor
- Documentation Tools: MkDocs, Docusaurus, etc. (with Mermaid plugins)
Using Diagrams in Your Work¶
# Reference a diagram in your documentation
For more details on the ReAct loop, see the [ReAct Diagram](../diagrams/REACT-LOOP.md).
The ML lifecycle follows these stages:
[ML Lifecycle](../diagrams/ML-LIFECYCLE.md)
Diagrams by Phase¶
| Phase | Topic | Diagram File |
|---|---|---|
| Phase 6 | MLOps Pipeline | ML-LIFECYCLE.md |
| Phase 7 | Agent Architecture | REACT-LOOP.md |
| Projects | AI Assistant | PROJECT-001-ARCHITECTURE.md |
Creating New Diagrams¶
When creating new diagrams:
- Name files descriptively - Use kebab-case (e.g.,
rag-pipeline.md) - Add related documentation links - At the bottom of each diagram
- Use consistent styling - Follow existing diagram patterns
- Include multiple views - State diagrams, sequence diagrams, flowcharts
- Test rendering - Verify diagrams render correctly
Mermaid Template¶
# Diagram Title
**Brief description**
---
## Diagram Name 1
```mermaid
graph TD
A[Start] --> B[Process]
B --> C[End]
```
---
## Diagram Name 2
```mermaid
sequenceDiagram
participant A
participant B
A->>B: Request
B-->>A: Response
```
---
**Last Updated:** YYYY-MM-DD
**Related:** [Path to related doc](../path/to/doc.md)
Integration with Phase Documentation¶
Diagrams are integrated into phase README files:
- Phase 6 (RAG): Includes RAG pipeline and GraphRAG diagrams
- Phase 3 (Transformers): Includes architecture and attention diagrams
- Phase 7 (Agents): Includes ReAct loop and multi-agent diagrams
See individual phase README files for embedded diagrams.
Troubleshooting¶
Diagrams Not Rendering¶
GitHub/GitLab:
- Ensure file extension is
.md - Check Mermaid syntax is correct
- Try opening in a new tab
VS Code:
- Install Mermaid extension
- Open command palette:
Markdown: Open Preview - Check extension settings
Local Preview:
- Use Mermaid Live Editor: https://mermaid.live
- Copy-paste diagram code
Contributing¶
To add new diagrams:
- Create diagram file in this directory
- Add entry to this README
- Link from relevant phase/module documentation
- Update related documentation references
Total Diagrams: 3 files, 20+ individual diagrams