stefan-jansen/aima-python — explained in plain English
Analysis updated 2026-07-24 · repo last pushed 2016-03-30
Run and experiment with AI algorithms like search, logic, and learning from the textbook
Follow along with an AI course by stepping through annotated Jupyter notebooks
Practice Python skills by implementing missing algorithms and contributing them back
Cross-reference code with specific textbook figures and pages using the mapping table
| stefan-jansen/aima-python | 0xallam/my-recipe | 0xhassaan/nn-from-scratch | |
|---|---|---|---|
| Stars | — | — | 0 |
| Language | Python | Python | Python |
| Last pushed | 2016-03-30 | 2022-11-22 | — |
| Maintenance | Dormant | Dormant | — |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
No external services or API keys required, just clone the repo and open the Python files or Jupyter notebooks in your environment.
This project provides working Python versions of the algorithms described in the textbook "Artificial Intelligence: A Modern Approach." It lets you actually run and experiment with the concepts from the book, rather than just reading about them. The project is organized by topic, things like search, logic, probability, and learning. Each topic gets a Python file with the algorithm implementations, a Jupyter notebook that explains how they work with examples, and a test file to verify the code is correct. There is also a large table that maps each piece of code back to the specific figure and page where it appears in the textbook, so you can cross-reference what you are running with what you are reading. Students and self-learners working through the textbook are the main audience. If you are taking an AI course that uses the book, you can use this repository to see how the pseudocode translates into actual runnable Python. The notebook files are particularly handy for that, since they walk through examples step by step. The project is a work in progress. The table shows many algorithms that are already implemented, but also plenty of entries that are still blank, meaning no one has written the code for them yet. The maintainers actively invite contributors to fill in those gaps, and they mention looking for students to participate through Google Summer of Code. So beyond just using the code, someone learning AI could practice their Python skills by implementing one of the missing pieces. One thing to note is that the index table is partially outdated, having been built for an older edition of the book and only partially updated since. That means the mapping between figures and code is not perfectly current, which could be a minor frustration if you are trying to follow along with the latest edition.
Python implementations of the algorithms from the AI textbook "Artificial Intelligence: A Modern Approach." You can run and experiment with search, logic, probability, and learning algorithms instead of just reading about them.
Mainly Python. The stack also includes Python, Jupyter Notebook.
Dormant — no commits in 2+ years (last push 2016-03-30).
The repository does not clearly state a license, so check the repo files or contact the maintainers before using or distributing the code.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.