ai-agent-book

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

333 articles 9.6k View on GitHub ↗
333 articles
Implications of Incomplete Context for AI Agents: 6 Critical Architectural Failures

Discover how incomplete context leads to AI agent hallucinations, KV-Cache invalidation, and unreliable decisions. Learn about 6 critical architectural failures.

architecture
Aug 26, 2026
How the Correction Function Works Within the Harness Architecture: Arena Validation and Logging

Understand the Correction function in the Harness architecture. It validates LLM actions, applies fallbacks, and logs adjustments for diagnostics. Learn how it ensures reliable agent behavior.

deep-dive
Aug 26, 2026
Understanding the Role of Verification in the Harness Layer of AI Agents

Discover verification's crucial role in the AI agent harness layer. It ensures safe tool calls, validates results, and provides auditable evidence for reliable workflows.

deep-dive
Aug 26, 2026
What Is the Constraint Function in Harness Engineering? Purpose and Code Implementation

Discover the Constraint function in Harness Engineering. Learn how it transforms business rules into enforceable logic for feasibility checks, safety gates, and agent validation. Understand its purpose and code implementation.

deep-dive
Aug 26, 2026
What Is the Difference Between an Agent and Its Environment in the Instagit Framework

Understand the distinct roles of Agents and Environments in the Instagit framework. Agents make decisions, Environments provide context and data for execution.

deep-dive
Aug 26, 2026
How Skill Documents Differ from Other Tool Descriptions in AI Agents

Understand how skill documents differ from tool descriptions in AI agents. Learn about natural-language workflows and structured JSON-Schema metadata for agent capabilities.

deep-dive
Aug 26, 2026
ACI Principles for Tool Design: The Agent-Computer Interface Framework

Discover ACI principles for tool design. Learn how to treat tool APIs as agent interfaces with capability expression, tool description, and parameter passing for better AI agent integration.

deep-dive
Aug 26, 2026
How Context and Agent Decision-Making Interact: Insights from the ai-agent-book Repository

Discover how context dictates AI agent decision-making. Explore the bojieli ai-agent-book repository for insights into how information quantity and quality set agent capabilities.

deep-dive
Aug 26, 2026
The Five Components That Constitute Context in an LLM API Call for an Agent

Understand the five essential components of LLM API calls for agents: System Prompt, Tool Definitions, User Messages, Assistant Messages, and Tool Results. Learn how they enable multi-turn reasoning.

deep-dive
Aug 26, 2026
The Five Stages of Evolution for AI Application Engineering: From Static Prompts to Autonomous Graphs

Explore the five stages of AI application engineering evolution: Prompt, Context, Harness, Loop, and Graph Engineering. Understand the journey from static prompts to autonomous systems.

architecture
Aug 26, 2026
Harness Engineering: The Competitive Advantage for AI Agent Systems

Discover how harness engineering provides a competitive advantage for AI agent systems. Learn how it transforms LLMs into production-ready agents with context management, tool interfaces, and safety.

deep-dive
Aug 26, 2026
What Is the Role of the Stable Prefix in a ReAct Loop?

Discover the stable prefix role in a ReAct loop. Learn how this constant prompt element enhances efficiency, cuts costs, and secures your AI agent by enabling prefix caching.

deep-dive
Aug 26, 2026
…

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →