An interactive desktop application for building, training, and visualizing neural networks from scratch.(NOT VIBECODED)
Inspired by Micrograd by Andrej Karpathy.
OmniGrad is an educational desktop application that demonstrates how feedforward neural networks work internally.
Rather than relying on machine learning frameworks such as TensorFlow or PyTorch, OmniGrad implements a custom scalar automatic differentiation engine and a complete multilayer perceptron (MLP) from scratch.
The project combines these core concepts with a modern desktop interface built using CustomTkinter, allowing users to experiment with network architectures, train models interactively, visualize computation graphs, and observe how predictions improve over time.
- 🧠 Custom scalar autograd engine
- 🔗 Feedforward neural network implemented from scratch
- 🖥️ Modern desktop GUI built with CustomTkinter
- 📈 Training loss visualization
- 🌐 Computation graph visualization using Graphviz
- ⚡ Background training with responsive UI
- ⏹️ Training cancellation support
- ♻️ Optional model reuse
- 📝 Training summary output
- 🛡️ Input validation and user-friendly error handling
- 💬 Helpful tooltips throughout the interface
The latest standalone Windows executable can be downloaded from the Releases page.
No Python installation required.
git clone https://github.com/Yasovardan-Ram/Omnigrad.git
cd Omnigradpip install -r requirements.txtOmniGrad uses Graphviz to generate computation graphs.
Download Graphviz from:
https://graphviz.org/download/
Install it using the default installer.
Locate your Graphviz installation.
Typical location:
C:\Program Files\Graphviz\bin
Open
System Properties
→ Advanced
→ Environment Variables
Under System Variables, edit Path and add:
C:\Program Files\Graphviz\bin
Restart your terminal afterwards.
Verify the installation:
dot -VYou should see something similar to:
dot - graphviz version ...
python run.py- Python
- CustomTkinter
- NumPy
- Matplotlib
- Graphviz
- Completed: July 2026 (Pre-college)
- Developer Age: 17
- Primary Focus: Automatic differentiation, neural networks from scratch, and desktop GUI development
OmniGrad was built to deepen the understanding of:
- Automatic Differentiation
- Backpropagation
- Feedforward Neural Networks
- Gradient Descent
- Computational Graphs
- Desktop GUI Development
- Multithreading
- Software Design
This project was inspired by Micrograd by Andrej Karpathy.
Micrograd demonstrates how automatic differentiation and neural networks can be implemented in a surprisingly small amount of Python code.
OmniGrad expands on those educational ideas by providing an interactive desktop application featuring visualization, training utilities, computation graphs, and a graphical user interface.
If you found OmniGrad useful or interesting, consider giving the repository a ⭐.
It helps others discover the project and supports future improvements.





0 comments
log in to comment.