š¦ The Augmented LLM
<div align="center">
Overview
š Home āŗ Foundations āŗ š¦ Augmented LLM
ā Foundations āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Workflows ā
</div>š¦ The Augmented LLM
TL;DR: The foundation of ALL agentic systems ā an LLM enhanced with retrieval, tools, and memory. Every workflow builds on this.
Diagram
%%{init: {'theme': 'base', 'themeVariables': {'lineColor': '#64748b'}}}%%
flowchart TB
classDef retrieval fill:#3b82f6,stroke:#2563eb,stroke-width:2px,color:#ffffff
classDef tools fill:#8b5cf6,stroke:#7c3aed,stroke-width:2px,color:#ffffff
classDef memory fill:#06b6d4,stroke:#0891b2,stroke-width:2px,color:#ffffff
classDef llm fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#ffffff
R[("Retrieval<br/>RAG, search")]:::retrieval
T{{"Tools<br/>MCP, Bash"}}:::tools
M[/"Memory<br/>Context"/]:::memory
LLM(["LLM<br/>Generates ⢠Selects ⢠Decides"]):::llm
R --> LLM
T --> LLM
M --> LLM
Key Components
| Component | Description | Examples |
|---|---|---|
| Retrieval | Access to external knowledge | RAG, docs, search |
| Tools | Ability to take actions | MCP, Bash, API calls |
| Memory | Context persistence | Conversation history, state |
| LLM | Core reasoning engine | Claude, GPT, etc. |
Key Insight
Focus on tailoring capabilities to your specific use case and ensuring they provide an easy, well-documented interface for the LLM.
All workflows assume each LLM call has access to these augmented capabilities.
Key Distinction
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā š¦ BUILDING BLOCK = AUGMENTED LLM ā
ā (foundation for ALL workflows) ā
āāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā Retrieval ā Tools ā Memory ā LLM ā
ā (RAG/docs) ā (actions) ā (context) ā (core) ā
āāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
- š¦ Building Block = Augmented LLM (Anthropic's foundation concept)
- Components = Claude Code abstractions (š¦ Subagent, 𦓠Slash Command, š Skill, šŖ Hook)
- Layers = Architectural organization (User ā Main Agent ā Delegation ā Execution ā State)
Terminology
| Symbol | Term | Description |
|---|---|---|
| š | Main Agent | Claude Code orchestrator (the hen that coordinates) |
| š¦ | Subagent | Delegated worker spawned via Task (the bird) |
| šŖŗ | Spawn (Task) | Action to create š¦ subagents (via Task built-in tool) |
| š | Skill | Loaded knowledge that enhances š capabilities |
| š§ | Gate | Checkpoint that validates output before proceeding |
Hierarchy
%%{init: {'theme': 'base', 'themeVariables': {'lineColor': '#64748b'}}}%%
flowchart LR
classDef user fill:#6366f1,stroke:#4f46e5,stroke-width:2px,color:#ffffff
classDef main fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#ffffff
classDef sub fill:#ec4899,stroke:#db2777,stroke-width:2px,color:#ffffff
classDef blocked fill:#ef4444,stroke:#dc2626,stroke-width:2px,color:#ffffff
U1["šāāļøš„ User"]:::user
MA["š Main Agent"]:::main
SA["š¦ Subagent"]:::sub
U2["šāāļøš¤ User"]:::user
U1 -->|request| MA
MA -->|"šŖŗ spawn"| SA
SA -->|result| MA
MA -->|response| U2
SA x-.-x|"ā cannot spawn"| SA2["š¦ Subagent"]:::blocked
Critical Rule: š¦ Subagents CANNOT spawn other š¦ subagents (flat hierarchy)
<div align="center">
ā Foundations āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Workflows ā
</div>