# agenticloops-ai/agentic-ai-engineering architecture

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

- Interactive diagram: https://gitdiagram.com/agenticloops-ai/agentic-ai-engineering
- Repository: https://github.com/agenticloops-ai/agentic-ai-engineering

## Overview

This repository is a hands-on engineering curriculum, not a single deployed agent: independent tutorials build from basic model calls toward agent workflows, production techniques, and evaluation. The principal learning path is documented in the README, including a RAG-and-tools capstone; separate branches cover agent patterns and advanced concerns. Paths identify tutorial directories where a capability spans multiple files. Relationships are based on the README’s stated curriculum and capabilities; unsampled tutorial internals are not inferred.

Main entry points: [`01-foundations/01-simple-llm-call`](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/01-simple-llm-call) (LLM Calls), [`01-foundations/02-prompt-engineering`](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/02-prompt-engineering) (Prompt Engineering), [`01-foundations/03-chat`](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/03-chat) (Chat History), [`01-foundations/04-tool-use`](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/04-tool-use) (Tool Use)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Agent Foundations"]
  node_llm["LLM Calls"]
  node_prompt["Prompt Engineering"]
  node_chat["Chat History"]
  node_tools["Tool Use"]
  node_loop["Agent Loop"]
  node_navigator["Codebase Navigator"]
end

subgraph group_patterns["Agent Patterns"]
  node_chaining["Prompt Chaining"]
  node_routing["Routing"]
  node_parallel["Parallelization"]
  node_workers["Orchestrator Workers"]
  node_optimizer["Evaluator Optimizer"]
  node_human["Human Approval"]
  node_writer["Content Writer"]
end

subgraph group_advanced["Advanced Techniques"]
  node_structured["Structured Output"]
  node_streaming["Streaming"]
  node_context["Context Engineering"]
  node_cost["Cost Optimization"]
  node_memory["Agent Memory"]
  node_rag["RAG Techniques"]
  node_multimodal["Multimodal I/O"]
  node_guardrails["Guardrails"]
end

subgraph group_evaluation["Testing Evaluation"]
  node_unit["Agent Unit Tests"]
  node_evals["Agent Evals"]
  node_tracing["Tracing Debugging"]
  node_redteam["Red Teaming"]
  node_benchmark["Benchmarking"]
  node_frameworks["Eval Frameworks"]
  node_harness["Eval Harness"]
end

subgraph group_shared["Shared Utilities"]
  node_common["Shared Utilities"]
end

node_learner(("Engineer"))

node_learner -->|"starts with"| node_llm
node_llm -->|"learns next"| node_prompt
node_prompt -->|"continues to"| node_chat
node_chat -->|"continues to"| node_tools
node_tools -->|"builds toward"| node_loop
node_loop -->|"capstone"| node_navigator
node_learner -->|"studies patterns"| node_chaining
node_learner -->|"studies patterns"| node_routing
node_learner -->|"studies patterns"| node_parallel
node_learner -->|"studies patterns"| node_workers
node_learner -->|"studies patterns"| node_optimizer
node_learner -->|"studies patterns"| node_human
node_learner -->|"studies patterns"| node_writer
node_learner -->|"explores techniques"| node_structured
node_learner -->|"explores techniques"| node_streaming
node_learner -->|"explores techniques"| node_context
node_learner -->|"explores techniques"| node_cost
node_learner -->|"explores techniques"| node_memory
node_learner -->|"explores techniques"| node_rag
node_learner -->|"explores techniques"| node_multimodal
node_learner -->|"explores techniques"| node_guardrails
node_learner -->|"evaluates agents"| node_unit
node_learner -->|"evaluates agents"| node_evals
node_learner -->|"investigates traces"| node_tracing
node_learner -->|"tests safety"| node_redteam
node_learner -->|"compares models"| node_benchmark
node_learner -->|"explores frameworks"| node_frameworks
node_learner -->|"builds evaluations"| node_harness

click node_llm "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/01-simple-llm-call"
click node_prompt "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/02-prompt-engineering"
click node_chat "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/03-chat"
click node_tools "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/04-tool-use"
click node_loop "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/05-agent-loop"
click node_navigator "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/06-codebase-navigator"
click node_chaining "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/01-prompt-chaining"
click node_routing "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/02-routing"
click node_parallel "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/03-parallelization"
click node_workers "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/04-orchestrator-workers"
click node_optimizer "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/05-evaluator-optimizer"
click node_human "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/06-human-in-the-loop"
click node_writer "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/07-content-writer"
click node_structured "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/01-structured-output"
click node_streaming "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/02-streaming"
click node_context "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/03-context-engineering"
click node_cost "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/04-cost-optimization"
click node_memory "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/05-memory"
click node_rag "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/06-rag-techniques"
click node_multimodal "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/07-multimodal"
click node_guardrails "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/08-guardrails"
click node_unit "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/01-unit-testing-agents"
click node_evals "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/02-evals"
click node_tracing "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/03-tracing-debugging"
click node_redteam "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/04-red-teaming-safety"
click node_benchmark "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/05-benchmarking"
click node_frameworks "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/06-eval-frameworks"
click node_harness "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/07-eval-harness"
click node_common "https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/common/src/common"

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_llm,node_prompt,node_chat,node_tools,node_loop,node_navigator toneBlue
class node_chaining,node_routing,node_parallel,node_workers,node_optimizer,node_human,node_writer toneAmber
class node_structured,node_streaming,node_context,node_cost,node_memory,node_rag,node_multimodal,node_guardrails toneMint
class node_unit,node_evals,node_tracing,node_redteam,node_benchmark,node_frameworks,node_harness toneRose
class node_common,node_learner toneIndigo
```

## Components

### Agent Foundations

- [LLM Calls](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/01-simple-llm-call): `01-foundations/01-simple-llm-call`
- [Prompt Engineering](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/02-prompt-engineering): `01-foundations/02-prompt-engineering`
- [Chat History](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/03-chat): `01-foundations/03-chat`
- [Tool Use](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/04-tool-use): `01-foundations/04-tool-use`
- [Agent Loop](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/05-agent-loop): `01-foundations/05-agent-loop`
- [Codebase Navigator](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/01-foundations/06-codebase-navigator): `01-foundations/06-codebase-navigator`

### Agent Patterns

- [Prompt Chaining](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/01-prompt-chaining): `02-effective-agents/01-prompt-chaining`
- [Routing](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/02-routing): `02-effective-agents/02-routing`
- [Parallelization](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/03-parallelization): `02-effective-agents/03-parallelization`
- [Orchestrator Workers](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/04-orchestrator-workers): `02-effective-agents/04-orchestrator-workers`
- [Evaluator Optimizer](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/05-evaluator-optimizer): `02-effective-agents/05-evaluator-optimizer`
- [Human Approval](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/06-human-in-the-loop): `02-effective-agents/06-human-in-the-loop`
- [Content Writer](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/02-effective-agents/07-content-writer): `02-effective-agents/07-content-writer`

### Advanced Techniques

- [Structured Output](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/01-structured-output): `03-advanced-techniques/01-structured-output`
- [Streaming](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/02-streaming): `03-advanced-techniques/02-streaming`
- [Context Engineering](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/03-context-engineering): `03-advanced-techniques/03-context-engineering`
- [Cost Optimization](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/04-cost-optimization): `03-advanced-techniques/04-cost-optimization`
- [Agent Memory](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/05-memory): `03-advanced-techniques/05-memory`
- [RAG Techniques](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/06-rag-techniques): `03-advanced-techniques/06-rag-techniques`
- [Multimodal I/O](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/07-multimodal): `03-advanced-techniques/07-multimodal`
- [Guardrails](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/03-advanced-techniques/08-guardrails): `03-advanced-techniques/08-guardrails`

### Testing Evaluation

- [Agent Unit Tests](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/01-unit-testing-agents): `04-testing-evaluation/01-unit-testing-agents`
- [Agent Evals](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/02-evals): `04-testing-evaluation/02-evals`
- [Tracing Debugging](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/03-tracing-debugging): `04-testing-evaluation/03-tracing-debugging`
- [Red Teaming](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/04-red-teaming-safety): `04-testing-evaluation/04-red-teaming-safety`
- [Benchmarking](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/05-benchmarking): `04-testing-evaluation/05-benchmarking`
- [Eval Frameworks](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/06-eval-frameworks): `04-testing-evaluation/06-eval-frameworks`
- [Eval Harness](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/04-testing-evaluation/07-eval-harness): `04-testing-evaluation/07-eval-harness`

### Shared Utilities

- [Shared Utilities](https://github.com/agenticloops-ai/agentic-ai-engineering/tree/main/common/src/common): `common/src/common`

### Other components

- **Engineer**

## Connections

- Engineer → LLM Calls: starts with (evidence: `README.md`)
- LLM Calls → Prompt Engineering: learns next (evidence: `README.md`)
- Prompt Engineering → Chat History: continues to (evidence: `README.md`)
- Chat History → Tool Use: continues to (evidence: `README.md`)
- Tool Use → Agent Loop: builds toward (evidence: `README.md`)
- Agent Loop → Codebase Navigator: capstone (evidence: `README.md`)
- Engineer → Prompt Chaining: studies patterns (evidence: `README.md`)
- Engineer → Routing: studies patterns (evidence: `README.md`)
- Engineer → Parallelization: studies patterns (evidence: `README.md`)
- Engineer → Orchestrator Workers: studies patterns (evidence: `README.md`)
- Engineer → Evaluator Optimizer: studies patterns (evidence: `README.md`)
- Engineer → Human Approval: studies patterns (evidence: `README.md`)
- Engineer → Content Writer: studies patterns (evidence: `README.md`)
- Engineer → Structured Output: explores techniques (evidence: `README.md`)
- Engineer → Streaming: explores techniques (evidence: `README.md`)
- Engineer → Context Engineering: explores techniques (evidence: `README.md`)
- Engineer → Cost Optimization: explores techniques (evidence: `README.md`)
- Engineer → Agent Memory: explores techniques (evidence: `README.md`)
- Engineer → RAG Techniques: explores techniques (evidence: `README.md`)
- Engineer → Multimodal I/O: explores techniques (evidence: `README.md`)
- Engineer → Guardrails: explores techniques (evidence: `README.md`)
- Engineer → Agent Unit Tests: evaluates agents (evidence: `README.md`)
- Engineer → Agent Evals: evaluates agents (evidence: `README.md`)
- Engineer → Tracing Debugging: investigates traces (evidence: `README.md`)
- Engineer → Red Teaming: tests safety (evidence: `README.md`)
- Engineer → Benchmarking: compares models (evidence: `README.md`)
- Engineer → Eval Frameworks: explores frameworks (evidence: `README.md`)
- Engineer → Eval Harness: builds evaluations (evidence: `README.md`)
