# vasilyevdm/ai-agent-handbook architecture

> Architecture diagram of the GitHub repository vasilyevdm/ai-agent-handbook, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vasilyevdm/ai-agent-handbook
- Repository: https://github.com/vasilyevdm/ai-agent-handbook

## Overview

This repository is a reference handbook, not an agent runtime. A reader’s main workflow is to consult the Markdown guide for patterns and framework comparisons, with a PDF edition also available. The README documents coverage spanning agent loops, prompts, context, memory, tools, orchestration, planning, safety, testing, deployment, and architecture selection. Those topics are sections of one guide rather than independently implemented components; the repository provides no sampled source excerpts to support runtime relationships.

Main entry points: [`COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md) (Engineering Guide), [`COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.pdf`](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.pdf) (PDF Edition)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agent_design["Agent Design"]
  node_loops["Agent Loops"]
  node_prompts["System Prompts"]
  node_planning["Planning"]
end

subgraph group_context_tools["Context And Tools"]
  node_context["Context Management"]
  node_context_rot["Context Rot"]
  node_memory["Memory"]
  node_tools["Tools And Skills"]
end

subgraph group_coordination["Coordination And Safety"]
  node_orchestration["Orchestration"]
  node_human_state["Human And State"]
  node_security["Security"]
end

subgraph group_production["Production Practice"]
  node_testing["Testing"]
  node_deployment["Deployment"]
  node_synthesis["Architecture Synthesis"]
end

node_reader(("Reader"))
node_guide["Engineering Guide"]
node_pdf["PDF Edition"]

node_reader -->|"reads"| node_guide
node_reader -->|"reads"| node_pdf
node_guide -->|"covers"| node_loops
node_guide -->|"covers"| node_prompts
node_guide -->|"covers"| node_planning
node_guide -->|"covers"| node_context
node_guide -->|"covers"| node_context_rot
node_guide -->|"covers"| node_memory
node_guide -->|"covers"| node_tools
node_guide -->|"covers"| node_orchestration
node_guide -->|"covers"| node_human_state
node_guide -->|"covers"| node_security
node_guide -->|"covers"| node_testing
node_guide -->|"covers"| node_deployment
node_guide -->|"covers"| node_synthesis

click node_guide "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_pdf "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.pdf"
click node_loops "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_prompts "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_planning "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_context "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_context_rot "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_memory "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_tools "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_orchestration "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_human_state "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_security "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_testing "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_deployment "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"
click node_synthesis "https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_loops,node_prompts,node_planning toneBlue
class node_context,node_context_rot,node_memory,node_tools toneAmber
class node_orchestration,node_human_state,node_security toneMint
class node_testing,node_deployment,node_synthesis toneRose
class node_reader toneIndigo
class node_guide,node_pdf toneTeal
```

## Components

### Agent Design

- [Agent Loops](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [System Prompts](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Planning](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`

### Context And Tools

- [Context Management](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Context Rot](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Memory](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Tools And Skills](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`

### Coordination And Safety

- [Orchestration](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Human And State](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Security](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`

### Production Practice

- [Testing](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Deployment](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [Architecture Synthesis](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`

### Other components

- **Reader**
- [Engineering Guide](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.md`
- [PDF Edition](https://github.com/vasilyevdm/ai-agent-handbook/blob/main/COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.pdf): `COMPREHENSIVE_AGENT_ENGINEERING_GUIDE_2026.pdf`

## Connections

- Reader → Engineering Guide: reads (evidence: `README.md`)
- Reader → PDF Edition: reads (evidence: `README.md`)
- Engineering Guide → Agent Loops: covers (evidence: `README.md`)
- Engineering Guide → System Prompts: covers (evidence: `README.md`)
- Engineering Guide → Planning: covers (evidence: `README.md`)
- Engineering Guide → Context Management: covers (evidence: `README.md`)
- Engineering Guide → Context Rot: covers (evidence: `README.md`)
- Engineering Guide → Memory: covers (evidence: `README.md`)
- Engineering Guide → Tools And Skills: covers (evidence: `README.md`)
- Engineering Guide → Orchestration: covers (evidence: `README.md`)
- Engineering Guide → Human And State: covers (evidence: `README.md`)
- Engineering Guide → Security: covers (evidence: `README.md`)
- Engineering Guide → Testing: covers (evidence: `README.md`)
- Engineering Guide → Deployment: covers (evidence: `README.md`)
- Engineering Guide → Architecture Synthesis: covers (evidence: `README.md`)
