This is a free online book written in Chinese that teaches the fundamental principles of AI programming. Rather than focusing on specific tools or code snippets, it takes readers through a systematic journey covering how large language models work internally, how to build AI agents that can take actions, techniques for managing conversation context and memory, strategies for choosing the right AI architecture, and the practical challenges of engineering AI systems. The book is structured across five volumes with 17 chapters and practical appendices, designed for developers and technical professionals who want to understand AI programming at a deeper level rather than just copying examples.
How It Works
You find a free online book that promises to teach you the real principles behind AI programming, not just surface-level tricks.
The book opens your eyes to understanding what happens inside an AI model when you ask it questions, making the mysterious feel approachable.
Suddenly you understand how AI can go beyond chatting—it can use tools, call functions, and work alongside other AI helpers to get things done.
You learn the clever techniques to help AI remember your conversations, manage costs, and bring in knowledge from outside sources.
For those building systems: learn how to choose the right approach and design secure, reliable AI applications.
For those working with AI: understand the real challenges of unpredictable systems and how to manage AI teams.
You emerge with a solid mental model of how AI programming really works—from asking questions to getting results—and the confidence to apply it.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.