Skip to content

Guide · Open source

How to use ai-engineering-hub: clone, pick a project and learn

Updated · written with AI from the project's own documentation and checked against our catalogue data

AI Engineering Hub is an open-source GitHub repository of tutorial projects on large language models (LLMs), retrieval-augmented generation (RAG) and AI agents. It is a collection of separate examples, mostly Jupyter notebooks and small apps, rather than one program to install. This guide shows you how to get a local copy, choose a project that matches your level, and start studying or adapting it.

AI Engineering Hubpatchy631/ai-engineering-hub · ★ 40.8k · MIT

Quick start

  1. 1Install Git and Python. Make sure Git is available in your terminal and install a Python version that the project you choose supports.
  2. 2Clone the repository. Run the clone command to copy patchy631/ai-engineering-hub to your machine.
  3. 3Pick a difficulty level. Start with the beginner list if you are new, then move to intermediate and advanced projects.
  4. 4Open one project folder. Each project is a separate folder with its own notebook or app and its own setup.
  5. 5Follow the project's setup. Read the project's own instructions and install its dependencies there.
  6. 6Adapt and experiment. Change one component at a time, such as the model or retrieval step, and compare outputs.

What ai-engineering-hub is and who it suits

The repository is a large set of tutorial projects that show how to build with LLMs, RAG and AI agents. The README describes it as a resource for learning and building with AI, with projects across all skill levels.

It works best if you want working examples to study and adapt. It is a poor fit if you want a single ready-made application to install and use, or if you are not comfortable with Python and notebooks, since most projects assume both.

  • Good fit: developers who want RAG or agent examples to adapt
  • Good fit: beginners who want guided projects
  • Good fit: students seeing how LLM tools fit together
  • Poor fit: people who need one finished app
  • Poor fit: non-programmers

Install prerequisites: Git and Python

You need Git to copy the repository to your machine. Most projects also need Python, but the README excerpt does not state which Python version to use, so check the individual project folder for its requirements.

The README does not say how each project is maintained, so expect that some examples may need small fixes to run with current libraries.

  • Git installed on your computer
  • Python (version not stated in the README excerpt)
  • Familiarity with Jupyter notebooks is helpful

Clone the repository

Open a terminal and run the clone command from the README. This creates a local folder containing every project.

git clone https://github.com/patchy631/ai-engineering-hub

Choose a project by difficulty

The README groups projects into beginner, intermediate and advanced lists. The beginner list focuses on single components and straightforward implementations, such as OCR apps and simple RAG workflows. Intermediate projects cover multi-component systems and agentic workflows, and advanced projects cover complex systems and fine-tuning.

If you are new, the README suggests starting with the AI Engineering Roadmap, then the beginner projects, then intermediate and advanced ones.

  • Beginner: for example Simple RAG Workflow, which uses LlamaIndex and Ollama
  • Beginner: for example Document Chat RAG, which uses Llama 3.3
  • Intermediate: for example Agentic RAG, which adds web fallback to document search
  • Intermediate: for example AutoGen Stock Analyst, which uses Microsoft AutoGen
  • Advanced: fine-tuning and production-style projects

Run a project and adapt it

Each project lives in its own folder with its own notebook or app. Open the folder, read its README or notebook instructions, and follow the setup steps it gives, since those steps are specific to that project and are not in the excerpt.

To adapt a project, change one component at a time, such as the model, the embedding step or the document source, and check the output after each change. This makes it easier to see how each piece of the stack affects results.

  • Read the project-level instructions before installing anything
  • Change one component at a time
  • Compare results across models using the comparison projects

Compare with other frameworks

The repository is useful for seeing examples side by side, but it is not a framework itself. If you want a library to build on, the comparable projects it is often weighed against are LangChain, LlamaIndex, Microsoft AutoGen and CrewAI. Several examples in the hub use LlamaIndex, AutoGen or CrewAI directly.

What people use it for

  • Study a simple RAG workflow built with LlamaIndex and Ollama
  • Adapt an agentic RAG example that falls back to web search
  • Compare model outputs using the included evaluation projects
  • Learn how an OCR or chat interface is built from notebooks

Frequently asked questions

Is ai-engineering-hub free?

The repository is released under the MIT licence, as stated in the project details. The README also offers a free Data Science eBook for subscribing to the linked newsletter.

What do I need to install ai-engineering-hub?

You need Git to clone the repository and Python for most projects. The README excerpt does not state a Python version, so check each project's instructions.

How do I install ai-engineering-hub?

There is no single installer. Run git clone https://github.com/patchy631/ai-engineering-hub, then open the project folder you want and follow its setup steps.

Where should a beginner start?

The README recommends the AI Engineering Roadmap for complete beginners, then the beginner projects. Projects such as Simple RAG Workflow and Document Chat RAG are listed there.

Is ai-engineering-hub a good alternative to LangChain or LlamaIndex?

It is not a replacement. LangChain and LlamaIndex are libraries you build with, while this repo is a set of example projects that show how such tools are used. Some examples in it use LlamaIndex, CrewAI or AutoGen.

Are the projects up to date?

The README does not state how each project is maintained, so you should check the date and dependencies of the project you pick before relying on its code.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use ai-engineering-hub if you are a developer, student or beginner who wants working RAG, agent and LLM examples to study and adapt, and you are comfortable with Python and notebooks. Pick something else if you need one finished application to install, or if you need guaranteed current code, since the README does not say how each project is maintained.

Install options & downloads