Guide for artificial intelligence agents
This open source book on artificial intelligence agents (AI agents) comprehensively covers design principles and engineering applications. In addition to theoretical information, it includes application codes divided into sections and compiled PDF files.
Updates
- October 31, 2026: Stars 53,984 → 56,706.
- October 13, 2026: Stars 51,180 → 53,984.
- September 27, 2026: Stars 47,379 → 51,180.
- September 15, 2026: Stars 44,884 → 47,379.
What you get
- Learn the working principles of artificial intelligence agents
- Gain practical skills with hands-on code examples
- Explore agent design and engineering processes
Installation
cd book && bash build_pdf.shIf you don't write code
You are an artificial intelligence agent development expert. Explain me step by step how to set up an agent's memory system and integrate external tools (tool calling), based on the formula 'Agent = LLM + Context + Tools'. Explain with examples which engineering approaches I should use to optimize context management, especially in RAG (Retrieval-Augmented Generation) processes.
Repository: https://github.com/bojieli/ai-agent-book. Follow the official instructions in the README of this repository for setup and execution.
Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.
Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.
Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.
Related dictionary terms
Links
TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-07-20: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.