Welcome! I have written various books together with Jay Alammar detailing the inner workings of AI that might interest you.
Writing has been part of my career “identity” for a while now. Especially writing in public is a great tool for me to learn and understand these technologies in as much detail as necessary!
An Illustrated Guide to AI Agents
An Illustrated Guide to AI Agents contains more than 300 custom-made images all about the inner workings on arguably one of the most exciting fields at the moment, agents.
Alongside visuals, content, there is a lot of code to explore. To focus on the fundamentals of agents, we connect the visuals with the code and give you the opportunity to:
Build An Agent from Scratch
(in pure python!)
Compared to the previous books on LLMs, we take it one step further and made that every single image is aligned with the content, code, and anything you will encounter in the book.
As always, all of the code is freely available on GitHub, making it easy for you to get started with the inner workings of agents.
Hands-On Large Language Models
Hands-On Large Language Models is a book I wrote showing the inner workings of Large Language Models. We were fortunate enough to have it be one of O’Reilly’s best-selling books!
With the incredible pace of LLM development, learning about these techniques can be overwhelming.
Throughout this book, we take an *intuition first* approach through visual storytelling with almost **300 custom-made images** in the final release.
This book is for those interested in this exciting field. Whether you are a beginner or more advanced, we believe there is something to be found for everyone!
All of the code is freely available on GitHub, making it easy for you to get started with the inner workings of LLMs.
图解DeepSeek技术
图解DeepSeek技术 (Illustrated DeepSeek) is a book I wrote that goes through how various DeepSeek models work, in particular DeepSeek-R1. This was a special collaboration with Turing Education that allowed us to create this book specifically for the Chinese audience to celebrate their wonderful release of DeepSeek-R1!
As always, we have hundreds of visuals scattered throughout the book exploring Mixture of Experts, reasoning models, and various attention mechanisms in the DeepSeek family of models.
This book is for those who want to dive deeper into the various technologies that made open-weight Large Language Models competitive with proprietary models.




