๐Ÿฆ„ The Augmented LLM

December 7, 2025 ยท View on GitHub

๐Ÿ  Home โ€บ Foundations โ€บ ๐Ÿฆ„ Augmented LLM

โ† Foundations โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” Workflows โ†’


๐Ÿฆ„ 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

ComponentDescriptionExamples
RetrievalAccess to external knowledgeRAG, docs, search
ToolsAbility to take actionsMCP, Bash, API calls
MemoryContext persistenceConversation history, state
LLMCore reasoning engineClaude, 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

SymbolTermDescription
๐Ÿ”Main AgentClaude Code orchestrator (the hen that coordinates)
๐ŸฆSubagentDelegated worker spawned via Task (the bird)
๐ŸชบSpawn (Task)Action to create ๐Ÿฆ subagents (via Task built-in tool)
๐Ÿ“šSkillLoaded knowledge that enhances ๐Ÿ” capabilities
๐ŸšงGateCheckpoint 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)


โ† Foundations โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” Workflows โ†’