# amintech-solutions/ia-solutions architecture

> Architecture diagram of the GitHub repository amintech-solutions/ia-solutions, 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/amintech-solutions/ia-solutions
- Repository: https://github.com/amintech-solutions/ia-solutions

## Overview

This repository is a staged portfolio of Java and AI learning modules, not one integrated runtime. Its documented progression covers a Spring REST API, CRUD and persistence, LLM API integration, RAG, and agents with tools and memory. The basics module’s sampled code implements a greeting endpoint and an in-memory product list; the later modules are represented from README descriptions only, so their internal wiring is not asserted.

Main entry points: [`04-ai-agents`](https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents) (AI agents), [`01-java-spring-basics`](https://github.com/amintech-solutions/ia-solutions/tree/main/01-java-spring-basics) (Spring REST API), [`01b-java-spring-avancada`](https://github.com/amintech-solutions/ia-solutions/tree/main/01b-java-spring-avancada) (CRUD and persistence), [`02-llm-integrations`](https://github.com/amintech-solutions/ia-solutions/tree/main/02-llm-integrations) (LLM API integration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_spring["Spring Applications"]
  node_basics["Spring REST API"]
  node_product["Product model<br/>[Produto.java]"]
  node_advanced["CRUD and persistence"]
end

subgraph group_llm["LLM Integration"]
  node_llmapp["LLM API integration"]
end

subgraph group_rag["Knowledge Retrieval"]
  node_rag["RAG system"]
end

subgraph group_agents["Agents and Automation"]
  node_agents["AI agents"]
  node_tools["Tools and MCP"]
  node_memory[("Agent memory")]
  node_automation["Process automation"]
end

node_developer(("API user"))
node_database[("Database")]
node_llmservice{{"LLM service"}}
node_knowledge[("Documents and knowledge bases")]

node_developer -->|"requests API"| node_basics
node_basics -->|"returns products"| node_product
node_advanced -->|"uses database"| node_database
node_llmapp -->|"calls API"| node_llmservice
node_rag -->|"retrieves from"| node_knowledge
node_agents -->|"uses tools"| node_tools
node_agents -->|"uses memory"| node_memory
node_agents -->|"automates processes"| node_automation

click node_basics "https://github.com/amintech-solutions/ia-solutions/tree/main/01-java-spring-basics"
click node_product "https://github.com/amintech-solutions/ia-solutions/blob/main/01-java-spring-basics/src/main/java/com/amintech/springbasics/model/Produto.java"
click node_advanced "https://github.com/amintech-solutions/ia-solutions/tree/main/01b-java-spring-avancada"
click node_llmapp "https://github.com/amintech-solutions/ia-solutions/tree/main/02-llm-integrations"
click node_rag "https://github.com/amintech-solutions/ia-solutions/tree/main/03-rag-systems"
click node_agents "https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents"
click node_tools "https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents"
click node_memory "https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents"
click node_automation "https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents"

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_basics,node_product,node_advanced,node_developer toneBlue
class node_llmapp,node_database,node_knowledge toneAmber
class node_rag toneMint
class node_agents,node_tools,node_memory,node_automation toneRose
class node_llmservice toneIndigo
```

## Components

### Spring Applications

- [Spring REST API](https://github.com/amintech-solutions/ia-solutions/tree/main/01-java-spring-basics): `01-java-spring-basics`
- [Product model](https://github.com/amintech-solutions/ia-solutions/blob/main/01-java-spring-basics/src/main/java/com/amintech/springbasics/model/Produto.java): `01-java-spring-basics/src/main/java/com/amintech/springbasics/model/Produto.java`
- [CRUD and persistence](https://github.com/amintech-solutions/ia-solutions/tree/main/01b-java-spring-avancada): `01b-java-spring-avancada`

### LLM Integration

- [LLM API integration](https://github.com/amintech-solutions/ia-solutions/tree/main/02-llm-integrations): `02-llm-integrations`

### Knowledge Retrieval

- [RAG system](https://github.com/amintech-solutions/ia-solutions/tree/main/03-rag-systems): `03-rag-systems`

### Agents and Automation

- [AI agents](https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents): `04-ai-agents`
- [Tools and MCP](https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents): `04-ai-agents`
- [Agent memory](https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents): `04-ai-agents`
- [Process automation](https://github.com/amintech-solutions/ia-solutions/tree/main/04-ai-agents): `04-ai-agents`

### Other components

- **API user**
- **Database**
- **LLM service**
- **Documents and knowledge bases**

## Connections

- API user → Spring REST API: requests API (evidence: `README.md`)
- Spring REST API → Product model: returns products (evidence: `01-java-spring-basics/src/main/java/com/amintech/springbasics/controller/HelloController.java`)
- CRUD and persistence → Database: uses database (evidence: `README.md`)
- LLM API integration → LLM service: calls API (evidence: `README.md`)
- RAG system → Documents and knowledge bases: retrieves from (evidence: `README.md`)
- AI agents → Tools and MCP: uses tools (evidence: `README.md`)
- AI agents → Agent memory: uses memory (evidence: `README.md`)
- AI agents → Process automation: automates processes (evidence: `README.md`)
