# heterocat/hello-agents architecture

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

- Interactive diagram: https://gitdiagram.com/heterocat/hello-agents
- Repository: https://github.com/heterocat/hello-agents

## Overview

Hello-Agents is an educational repository, not one integrated runtime: it teaches agent concepts through chapters, code examples, and community-built applications. The learner’s documented journey moves from foundations and agent patterns through advanced techniques to integrated projects. The graph preserves that instructional structure and highlights sampled implementation modules, while keeping unrelated community projects separate. Source excerpts establish only a few concrete calls; most chapter-to-chapter relationships below reflect the README’s documented learning progression, not runtime dependencies.

Main entry points: [`Co-creation-projects/Apricity-InnocoreAI/agents/controller.py`](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/controller.py) (InnoCore Controller), [`Co-creation-projects/Apricity-InnocoreAI/agents/base.py`](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/base.py) (InnoCore Base Agent), [`Co-creation-projects/Apricity-InnocoreAI/agents/validator.py`](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/validator.py) (InnoCore Validator), [`Co-creation-projects/Apricity-InnocoreAI/core/llm_adapter.py`](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/llm_adapter.py) (InnoCore LLM Adapter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning Path"]
  node_guide["Agent Tutorial"]
  node_foundations["Agent Foundations"]
  node_patterns["Agent Patterns"]
  node_advanced["Advanced Techniques"]
  node_applications["Integrated Projects"]
end

subgraph group_examples["Chapter Examples"]
  node_llm_example["LLM Client<br/>[llm_client.py]"]
  node_rag_example["RAG Pipeline"]
  node_training_example["Agentic RL"]
  node_trip_llm["Trip LLM Service<br/>[llm_service.py]"]
end

subgraph group_community["Community Projects"]
  node_innocore_controller["InnoCore Controller<br/>[controller.py]"]
  node_innocore_validator["InnoCore Validator<br/>[validator.py]"]
  node_health_memory[("Health Memory Store<br/>[store.py]")]
  node_health_milvus[("Health Milvus Store<br/>[milvus_store.py]")]
  node_code_episodic["Episodic Memory<br/>[episodic.py]"]
  node_code_perceptual["Perceptual Memory<br/>[perceptual.py]"]
  node_code_semantic["Semantic Memory<br/>[semantic.py]"]
  node_code_logging["CLI Logging<br/>[logging.py]"]
  node_stocksage_message["Agent Messages<br/>[message.py]"]
  node_stocksage_registry["Tool Registry<br/>[registry.py]"]
  node_trip_config["Trip Configuration<br/>[config.py]"]
end

subgraph group_internals["Agent Internals"]
  node_innocore_base["InnoCore Base Agent<br/>[base.py]"]
  node_innocore_config["InnoCore Config<br/>[config.py]"]
  node_innocore_database[("InnoCore Database<br/>[database.py]")]
  node_innocore_exceptions["InnoCore Exceptions<br/>[exceptions.py]"]
  node_innocore_llm["InnoCore LLM Adapter<br/>[llm_adapter.py]"]
  node_innocore_vectors[("InnoCore Vector Store<br/>[vector_store.py]")]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_guide
node_guide -->|"introduces"| node_foundations
node_foundations -->|"leads to"| node_patterns
node_patterns -->|"extends to"| node_advanced
node_advanced -->|"applies in"| node_applications
node_innocore_controller -->|"dispatches to"| node_innocore_validator
node_innocore_base -->|"invokes"| node_innocore_llm

click node_llm_example "https://github.com/heterocat/hello-agents/blob/main/code/chapter4/llm_client.py"
click node_rag_example "https://github.com/heterocat/hello-agents/blob/main/code/chapter8/10_RAG_Pipeline_Complete.py"
click node_training_example "https://github.com/heterocat/hello-agents/blob/main/code/chapter11/06_complete_pipeline.py"
click node_trip_llm "https://github.com/heterocat/hello-agents/blob/main/code/chapter13/helloagents-trip-planner/backend/app/services/llm_service.py"
click node_innocore_controller "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/controller.py"
click node_innocore_base "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/base.py"
click node_innocore_validator "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/validator.py"
click node_innocore_config "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/config.py"
click node_innocore_database "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/database.py"
click node_innocore_exceptions "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/exceptions.py"
click node_innocore_llm "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/llm_adapter.py"
click node_innocore_vectors "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/vector_store.py"
click node_health_memory "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/memory/store.py"
click node_health_milvus "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/rag/milvus_store.py"
click node_code_episodic "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/episodic.py"
click node_code_perceptual "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py"
click node_code_semantic "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py"
click node_code_logging "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/utils/logging.py"
click node_stocksage_message "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/lcyting-StockSage-agent/HelloAgents%20Optimized/hello_agents/core/message.py"
click node_stocksage_registry "https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/lcyting-StockSage-agent/HelloAgents%20Optimized/hello_agents/tools/registry.py"
click node_trip_config "https://github.com/heterocat/hello-agents/blob/main/code/chapter13/helloagents-trip-planner/backend/app/config.py"

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_guide,node_foundations,node_patterns,node_advanced,node_applications toneBlue
class node_llm_example,node_rag_example,node_training_example,node_trip_llm toneAmber
class node_innocore_controller,node_innocore_validator,node_health_memory,node_health_milvus,node_code_episodic,node_code_perceptual,node_code_semantic,node_code_logging,node_stocksage_message,node_stocksage_registry,node_trip_config toneMint
class node_innocore_base,node_innocore_config,node_innocore_database,node_innocore_exceptions,node_innocore_llm,node_innocore_vectors toneRose
class node_learner toneIndigo
```

## Components

### Learning Path

- **Agent Tutorial**
- **Agent Foundations**
- **Agent Patterns**
- **Advanced Techniques**
- **Integrated Projects**

### Chapter Examples

- [LLM Client](https://github.com/heterocat/hello-agents/blob/main/code/chapter4/llm_client.py): `code/chapter4/llm_client.py`
- [RAG Pipeline](https://github.com/heterocat/hello-agents/blob/main/code/chapter8/10_RAG_Pipeline_Complete.py): `code/chapter8/10_RAG_Pipeline_Complete.py`
- [Agentic RL](https://github.com/heterocat/hello-agents/blob/main/code/chapter11/06_complete_pipeline.py): `code/chapter11/06_complete_pipeline.py`
- [Trip LLM Service](https://github.com/heterocat/hello-agents/blob/main/code/chapter13/helloagents-trip-planner/backend/app/services/llm_service.py): `code/chapter13/helloagents-trip-planner/backend/app/services/llm_service.py`

### Community Projects

- [InnoCore Controller](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/controller.py): `Co-creation-projects/Apricity-InnocoreAI/agents/controller.py`
- [InnoCore Validator](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/validator.py): `Co-creation-projects/Apricity-InnocoreAI/agents/validator.py`
- [Health Memory Store](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/memory/store.py): `Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/memory/store.py`
- [Health Milvus Store](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/rag/milvus_store.py): `Co-creation-projects/Shawnxyxy-HealthRecordAgent/backend/rag/milvus_store.py`
- [Episodic Memory](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/episodic.py): `Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/episodic.py`
- [Perceptual Memory](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py): `Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/perceptual.py`
- [Semantic Memory](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py): `Co-creation-projects/YYHDBL-HelloCodeAgentCli/memory/types/semantic.py`
- [CLI Logging](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/YYHDBL-HelloCodeAgentCli/utils/logging.py): `Co-creation-projects/YYHDBL-HelloCodeAgentCli/utils/logging.py`
- [Agent Messages](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/lcyting-StockSage-agent/HelloAgents%20Optimized/hello_agents/core/message.py): `Co-creation-projects/lcyting-StockSage-agent/HelloAgents Optimized/hello_agents/core/message.py`
- [Tool Registry](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/lcyting-StockSage-agent/HelloAgents%20Optimized/hello_agents/tools/registry.py): `Co-creation-projects/lcyting-StockSage-agent/HelloAgents Optimized/hello_agents/tools/registry.py`
- [Trip Configuration](https://github.com/heterocat/hello-agents/blob/main/code/chapter13/helloagents-trip-planner/backend/app/config.py): `code/chapter13/helloagents-trip-planner/backend/app/config.py`

### Agent Internals

- [InnoCore Base Agent](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/agents/base.py): `Co-creation-projects/Apricity-InnocoreAI/agents/base.py`
- [InnoCore Config](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/config.py): `Co-creation-projects/Apricity-InnocoreAI/core/config.py`
- [InnoCore Database](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/database.py): `Co-creation-projects/Apricity-InnocoreAI/core/database.py`
- [InnoCore Exceptions](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/exceptions.py): `Co-creation-projects/Apricity-InnocoreAI/core/exceptions.py`
- [InnoCore LLM Adapter](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/llm_adapter.py): `Co-creation-projects/Apricity-InnocoreAI/core/llm_adapter.py`
- [InnoCore Vector Store](https://github.com/heterocat/hello-agents/blob/main/Co-creation-projects/Apricity-InnocoreAI/core/vector_store.py): `Co-creation-projects/Apricity-InnocoreAI/core/vector_store.py`

### Other components

- **Learner**

## Connections

- Learner → Agent Tutorial: studies (evidence: `README.md`)
- Agent Tutorial → Agent Foundations: introduces (evidence: `README.md`)
- Agent Foundations → Agent Patterns: leads to (evidence: `README.md`)
- Agent Patterns → Advanced Techniques: extends to (evidence: `README.md`)
- Advanced Techniques → Integrated Projects: applies in (evidence: `README.md`)
- InnoCore Controller → InnoCore Validator: dispatches to (evidence: `Co-creation-projects/Apricity-InnocoreAI/agents/controller.py`)
- InnoCore Base Agent → InnoCore LLM Adapter: invokes (evidence: `Co-creation-projects/Apricity-InnocoreAI/agents/base.py`)
