# genaidevelopment/agenticai architecture

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

- Interactive diagram: https://gitdiagram.com/genaidevelopment/agenticai
- Repository: https://github.com/genaidevelopment/agenticai

## Overview

This repository is a collection of agentic-AI examples and small applications, not one integrated runtime. Its principal user-facing workflows include customer complaint handling with human review, library operations exposed as MCP tools/resources, and agent/chat demonstrations. The graph highlights these alongside other indexed core examples. Edges are limited to relationships visible in excerpts or the SOURCE INDEX; most unsampled examples cannot be connected reliably.

Main entry points: [`apr26/projects/customer_care_agent_final/main.py`](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent_final/main.py) (Complaint API), [`july25/mcp-socialmedia/src/mcp_server/main.py`](https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/main.py) (Social media MCP), [`june25/jira_agent_new/app/main.py`](https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/main.py) (Jira agent app), [`june26/async_subagent_demo/main.py`](https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/main.py) (Question-paper agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer care"]
  node_care_api["Complaint API<br/>[main.py]"]
  node_care_graph["Care workflow<br/>[graph.py]"]
  node_care_db[("Care database<br/>[database.py]")]
  node_care_sql["SQL agent"]
  node_care_tickets[("Ticket repository")]
end

subgraph group_mcp["MCP applications"]
  node_library_server["Library MCP surface<br/>[server.py]"]
  node_library_ops["Library operations<br/>[operations.py]"]
  node_library_db[("Library datastore<br/>[db.py]")]
  node_library_data["Library datastore helpers<br/>[datastore.py]"]
  node_social_server["Social media MCP<br/>[main.py]"]
  node_social_models["Post models<br/>[models.py]"]
  node_linkedin["LinkedIn posting<br/>[linkedin.py]"]
end

subgraph group_agents["Agent workflows"]
  node_jira_app["Jira agent app<br/>[main.py]"]
  node_jira_supervisor["Jira supervisor<br/>[supervisor.py]"]
  node_jira_llm["Jira language model<br/>[llm.py]"]
  node_subagent_app["Question-paper agent<br/>[main.py]"]
  node_subagent_context["Run context<br/>[context.py]"]
  node_subagent_schemas["Question schemas<br/>[schemas.py]"]
  node_hitl_api["Review API<br/>[main.py]"]
end

subgraph group_ragchat["RAG and chat"]
  node_gemini_chat["Gemini chat UI<br/>[app.py]"]
  node_rag_updates["RAG document updates"]
  node_rag_experiments["RAG experiments UI<br/>[app.py]"]
  node_gpt_sample["GPT API example<br/>[gpt.py]"]
end

node_complainant(("Customer"))
node_reviewer(("Human reviewer"))
node_library_client(("MCP client"))
node_social_client(("MCP client"))

node_complainant -->|"submits complaint"| node_care_api
node_care_api -->|"invokes workflow"| node_care_graph
node_care_api -->|"requests review"| node_reviewer
node_reviewer -->|"sends decision"| node_care_api
node_library_client -.->|"calls tools"| node_library_server
node_library_server -->|"delegates operations"| node_library_ops
node_social_client -.->|"calls tool"| node_social_server
node_social_server -->|"uses request model"| node_social_models
node_social_server -->|"creates post"| node_linkedin
node_jira_app -->|"gets supervisor"| node_jira_supervisor
node_jira_app -->|"gets model"| node_jira_llm
node_subagent_app -->|"uses context"| node_subagent_context
node_subagent_app -.->|"uses schemas"| node_subagent_schemas
node_rag_experiments -.->|"uses updates"| node_rag_updates
node_gpt_sample -.->|"invokes model"| node_library_client

click node_care_api "https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent_final/main.py"
click node_care_graph "https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/graph.py"
click node_care_db "https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/database.py"
click node_care_sql "https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/sql_agent_service.py"
click node_care_tickets "https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent_final/ticket_repository.py"
click node_library_server "https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/server.py"
click node_library_ops "https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/operations.py"
click node_library_db "https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/db.py"
click node_library_data "https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/datastore.py"
click node_social_server "https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/main.py"
click node_social_models "https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/socialmedia/models.py"
click node_linkedin "https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/socialmedia/linkedin.py"
click node_jira_app "https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/main.py"
click node_jira_supervisor "https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/agents/supervisor.py"
click node_jira_llm "https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/common/llm.py"
click node_subagent_app "https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/main.py"
click node_subagent_context "https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/context.py"
click node_subagent_schemas "https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/schemas.py"
click node_hitl_api "https://github.com/genaidevelopment/agenticai/blob/main/oct25/langgraph/hitl_local_model/main.py"
click node_gemini_chat "https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/app.py"
click node_rag_updates "https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/rag_document_updates.py"
click node_rag_experiments "https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/app.py"
click node_gpt_sample "https://github.com/genaidevelopment/agenticai/blob/main/sep26/openai_n_claude_api_samples/gpt.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_care_api,node_care_graph,node_care_db,node_care_sql,node_care_tickets,node_reviewer,node_library_client,node_social_client toneBlue
class node_library_server,node_library_ops,node_library_db,node_library_data,node_social_server,node_social_models,node_linkedin toneAmber
class node_jira_app,node_jira_supervisor,node_jira_llm,node_subagent_app,node_subagent_context,node_subagent_schemas,node_hitl_api toneMint
class node_gemini_chat,node_rag_updates,node_rag_experiments,node_gpt_sample toneRose
class node_complainant toneIndigo
```

## Components

### Customer care

- [Complaint API](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent_final/main.py): `apr26/projects/customer_care_agent_final/main.py`
- [Care workflow](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/graph.py): `apr26/projects/customer_care_agent/graph.py`
- [Care database](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/database.py): `apr26/projects/customer_care_agent/database.py`
- [SQL agent](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent/sql_agent_service.py): `apr26/projects/customer_care_agent/sql_agent_service.py`
- [Ticket repository](https://github.com/genaidevelopment/agenticai/blob/main/apr26/projects/customer_care_agent_final/ticket_repository.py): `apr26/projects/customer_care_agent_final/ticket_repository.py`

### MCP applications

- [Library MCP surface](https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/server.py): `may26/mcp/library-mcp/server.py`
- [Library operations](https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/operations.py): `may26/mcp/library-mcp/operations.py`
- [Library datastore](https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/db.py): `may26/mcp/library-mcp/db.py`
- [Library datastore helpers](https://github.com/genaidevelopment/agenticai/blob/main/may26/mcp/library-mcp/datastore.py): `may26/mcp/library-mcp/datastore.py`
- [Social media MCP](https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/main.py): `july25/mcp-socialmedia/src/mcp_server/main.py`
- [Post models](https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/socialmedia/models.py): `july25/mcp-socialmedia/src/mcp_server/socialmedia/models.py`
- [LinkedIn posting](https://github.com/genaidevelopment/agenticai/blob/main/july25/mcp-socialmedia/src/mcp_server/socialmedia/linkedin.py): `july25/mcp-socialmedia/src/mcp_server/socialmedia/linkedin.py`

### Agent workflows

- [Jira agent app](https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/main.py): `june25/jira_agent_new/app/main.py`
- [Jira supervisor](https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/agents/supervisor.py): `june25/jira_agent_new/app/agents/supervisor.py`
- [Jira language model](https://github.com/genaidevelopment/agenticai/blob/main/june25/jira_agent_new/app/common/llm.py): `june25/jira_agent_new/app/common/llm.py`
- [Question-paper agent](https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/main.py): `june26/async_subagent_demo/main.py`
- [Run context](https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/context.py): `june26/async_subagent_demo/context.py`
- [Question schemas](https://github.com/genaidevelopment/agenticai/blob/main/june26/async_subagent_demo/schemas.py): `june26/async_subagent_demo/schemas.py`
- [Review API](https://github.com/genaidevelopment/agenticai/blob/main/oct25/langgraph/hitl_local_model/main.py): `oct25/langgraph/hitl_local_model/main.py`

### RAG and chat

- [Gemini chat UI](https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/app.py): `june26/rag_project_experiments/app.py`
- [RAG document updates](https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/rag_document_updates.py): `june26/rag_project_experiments/rag_document_updates.py`
- [RAG experiments UI](https://github.com/genaidevelopment/agenticai/blob/main/june26/rag_project_experiments/app.py): `june26/rag_project_experiments/app.py`
- [GPT API example](https://github.com/genaidevelopment/agenticai/blob/main/sep26/openai_n_claude_api_samples/gpt.py): `sep26/openai_n_claude_api_samples/gpt.py`

### Other components

- **Customer**
- **Human reviewer**
- **MCP client**
- **MCP client**

## Connections

- Customer → Complaint API: submits complaint (evidence: `apr26/projects/customer_care_agent_final/main.py`)
- Complaint API → Care workflow: invokes workflow (evidence: `apr26/projects/customer_care_agent_final/main.py`)
- Complaint API → Human reviewer: requests review (evidence: `apr26/projects/customer_care_agent_final/main.py`)
- Human reviewer → Complaint API: sends decision (evidence: `apr26/projects/customer_care_agent_final/main.py`)
- MCP client → Library MCP surface: calls tools
- Library MCP surface → Library operations: delegates operations (evidence: `may26/mcp/library-mcp/server.py`)
- MCP client → Social media MCP: calls tool
- Social media MCP → Post models: uses request model (evidence: `july25/mcp-socialmedia/src/mcp_server/main.py`)
- Social media MCP → LinkedIn posting: creates post (evidence: `july25/mcp-socialmedia/src/mcp_server/main.py`)
- Jira agent app → Jira supervisor: gets supervisor (evidence: `june25/jira_agent_new/app/main.py`)
- Jira agent app → Jira language model: gets model (evidence: `june25/jira_agent_new/app/main.py`)
- Question-paper agent → Run context: uses context (evidence: `june26/async_subagent_demo/main.py`)
- Question-paper agent → Question schemas: uses schemas
- RAG experiments UI → RAG document updates: uses updates
- GPT API example → MCP client: invokes model
