If you’ve been curious about active inference but weren’t sure where to begin, this post is for you. It shows you what’s in our hands-on lab course, Building Active Inference in Python, and walks you, screen by screen, through getting in. Many of the lessons are free, and the code is always free (on GitHub).
In this post: what’s in the course · how to get in free · where the code lives · how to opt in.”
What’s In the Lab Course
Building Active Inference in Python is a hands-on course in which you build an active inference agent from the ground up, one small piece of code at a time. We don’t start from a ready-made library. Every line connects to a piece of the mathematics, so you understand what the agent is doing and why.

Where the course stands today:
- Module 1: Building the World. Six labs (1.1–1.6): setting up, the world as a graph, and the agent’s core building blocks (the D, A and B matrices), brought together in the generative model’s forward pass.
- Module 2: Bayesian Thinking and Free Energy. Labs 2.1–2.3 are ready: the Bayesian update, predicting and updating over many steps, and the variational free energy. Lab 2.4 is in progress.
- Module 3: Inference. Forthcoming.
Three Ways In, Starting with Free Content
- The code is always free. Every lab’s Python code is on GitHub (link below).
- Free Preview lessons. Sign up as a free Learner on our course site, and the lessons marked “Free Preview” are open to you, including tutorial PDFs that explain what the code is doing.
- The full course. For everything, including all the tutorial PDFs and exercises, the full course is $1,000.
And if you’d like company along the way, the Active Inference Institute runs free study groups, including one working through Sanjeev Namjoshi’s Fundamentals of Active Inference. They’re a wonderful way to learn alongside others.

All the Active Inference Institute Study Group gatherings are recorded and are available as YouTubes on the Active Inference Institute YouTube channel. – this is the link to the first Fundamentals Study Group meeting in May, 2026.

How to Get In: Step by Step
Step 1. Go to the Themesis course site and click “All Products.” The site is themesis.thinkific.com.

Step 2. Select “Building Active Inference in Python.”

Step 3. To explore the content, click “Free Preview.”

Step 4. Enroll as a Learner. It’s free. Sign up with your email, or with Apple, Facebook, Google or LinkedIn. The total shows $0.00.

Step 5. Once you’re in, click “Start Course.” Next time, you’ll find the course under “Continue learning.” (You’ll see your own name at the top.)

Step 6. Open the Free Preview lessons. Lessons marked “Free Preview” are available to you. Open a PDF lesson to read it; the viewer’s download icon lets you save a copy. Each lab lesson also includes its GitHub code link.

Getting the Code
All the lab code lives in one public GitHub repository, free for anyone to use:
github.com/Themesis1/Themesis-BuildingActiveInf

A Suggestion for How to Learn
The approach I recommend is code + Claude + community.
Feel free to check out this short (3 minute) YouTube on how this approach has worked for me.
Work through the code in small pieces. Use an AI assistant such as Claude as an always-available tutor: our tutorial PDFs are designed so you can upload them and ask questions. And find others to learn with, through the Institute’s study groups or our own Themesis community.
Questions?
If you get stuck anywhere along the way, or just want to tell me what you’re working on, reply or write to me. I’d love to hear from you.
Use the email on our Connect page.

Warmly,
Alianna
PS – Want to Know When the Next Lab is Released?
Become a part of the Themesis community: Opt-in (use the form on our “About” page).

Do the Opt-In – and confirm that you’ve received our email – and move our emails to your preferred Inbox!

You’ll get emails letting you know when there are new developments – including your next “Free Preview” opportunity!