rishal-hurbans/Grokking-Artificial-Intelligence-Algorithms
rishal-hurbans/Grokking-Artificial-Intelligence-Algorithms has 441 GitHub stars and 135 forks. GitHot measured +1 stars in 24 hours, +2 in 7 days, and +3 in 15 days. Last checked 2026-11-09 21:18 UTC. Last push 2026-08-06.
The official code repository supporting the book, Grokking Artificial Intelligence Algorithms
Measured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGrokking AI Algorithms
Get Grokking Artificial Intelligence Algorithms at Manning Publications
Requirements
- Python 3.9 or later (3.11 recommended)
- pip 23.1+ (comes with recent Python installers)
- Optional: PyTorch-compatible GPU for the heavy demos in Chapters 11–12
Setup
- Install Python – download the latest 3.x release from python.org or use your platform package manager. Ensure
pythonandpippoint to the same interpreter (python -m pip --version). - Create a virtual environment (recommended so project dependencies stay isolated):
- macOS / Linux:
python3 -m venv .venv source .venv/bin/activate - Windows (PowerShell):
py -3 -m venv .venv .\.venv\Scripts\Activate.ps1
- macOS / Linux:
- Install dependencies:
PyTorch wheels are large; on Apple Silicon use thepip install --upgrade pip pip install -r requirements.txtarm64build frompipor follow the official instructions if you need CUDA support. - Run an example by moving into the chapter directory and executing the script:
cd ch03-intelligent_search/informed_search python3 maze_astar.py
Overview
This is the official supporting code for the book, Grokking AI Algorithms, published by Manning Publications, authored by Rishal Hurbans.

The example implementations provided will make more sense if you've read the book, however, it might be somewhat useful to you otherwise.
The purpose of this repository is to act as a practical reference for examples of how the algorithms mentioned in the book can be implemented. This repository should not be consulted as the book is read page-by-page, but rather, when you're attempting to implement an algorithm or gain a more technical understanding from a programming perspective.
Rather Learn by exploring the code notebook in your browser? Click here:
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,313 starsNousResearch/hermes-agent
The agent that grows with you
262,134 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
231,460 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,178 stars