# himabindumanyala/aeromind-multi-agent architecture

> Architecture diagram of the GitHub repository himabindumanyala/aeromind-multi-agent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/himabindumanyala/aeromind-multi-agent
- Repository: https://github.com/himabindumanyala/aeromind-multi-agent

## Overview

AeroMind is a simulated drone-inspection assistant. An operator submits a request through the Gradio UI; the LangGraph service routes it to a specialist that answers from inspection knowledge, analyzes an image, operates the simulated mission, or checks safety, then returns a response. Mission actions update simulated session state, while the knowledge path retrieves from local documents using keyword fallback or Chroma. The README documents these capabilities; edges are limited to relationships shown in excerpts or explicitly documented.

Main entry points: [`src/app/multi_agent_service.py`](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py) (LangGraph Service), [`src/app/knowledge_base.py`](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/knowledge_base.py) (RAG Retrieval), [`src/app/llm_config.py`](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/llm_config.py) (LLM Configuration), [`src/app/ai_chat_bot.py`](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/ai_chat_bot.py) (Gradio Chat)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Operator Interface"]
  node_gradio_ui["Gradio Chat<br/>[ai_chat_bot.py]"]
end

subgraph group_agents["Agent Orchestration"]
  node_agent_service["LangGraph Service"]
  node_router["Mission Router"]
  node_knowledge_agent["Knowledge Agent"]
  node_vision_agent["Vision Agent"]
  node_mission_agent["Mission Agent"]
  node_safety_agent["Safety Agent"]
  node_llm_config["LLM Configuration<br/>[llm_config.py]"]
end

subgraph group_operations["Mission Operations"]
  node_simulator["Drone Simulator<br/>[drone_simulator.py]"]
  node_session_state[("Session State<br/>[drone_simulator.py]")]
end

subgraph group_knowledge["Knowledge and Vision"]
  node_knowledge_base["RAG Retrieval<br/>[knowledge_base.py]"]
  node_knowledge_docs["Knowledge Documents"]
  node_chroma_store[("Chroma Store")]
  node_vision_analyzer["Mock Image Analyzer<br/>[vision.py]"]
end

node_operator(("Operator"))
node_llm_api{{"LLM API"}}

node_operator -->|"submits request"| node_gradio_ui
node_gradio_ui -->|"streams request"| node_agent_service
node_agent_service -->|"dispatches"| node_router
node_router -->|"routes questions"| node_knowledge_agent
node_router -->|"routes images"| node_vision_agent
node_router -->|"routes operations"| node_mission_agent
node_router -->|"routes safety"| node_safety_agent
node_knowledge_agent -->|"searches knowledge"| node_knowledge_base
node_knowledge_docs -->|"provides documents"| node_knowledge_base
node_knowledge_base -->|"uses vector store"| node_chroma_store
node_knowledge_base -->|"loads embeddings"| node_llm_config
node_vision_agent -->|"requests analysis"| node_vision_analyzer
node_mission_agent -->|"uses mission tools"| node_agent_service
node_safety_agent -->|"uses safety tools"| node_agent_service
node_agent_service -->|"calls simulation tools"| node_simulator
node_simulator -->|"reads and writes"| node_session_state
node_agent_service -->|"uses model"| node_llm_config
node_llm_config -->|"configures API access"| node_llm_api

click node_gradio_ui "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/ai_chat_bot.py"
click node_agent_service "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_router "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_knowledge_agent "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_vision_agent "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_mission_agent "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_safety_agent "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py"
click node_simulator "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/drone_simulator.py"
click node_session_state "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/drone_simulator.py"
click node_knowledge_base "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/knowledge_base.py"
click node_knowledge_docs "https://github.com/himabindumanyala/aeromind-multi-agent/tree/main/src/app/data/knowledge"
click node_vision_analyzer "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/vision.py"
click node_llm_config "https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/llm_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_gradio_ui toneBlue
class node_agent_service,node_router,node_knowledge_agent,node_vision_agent,node_mission_agent,node_safety_agent,node_llm_config toneAmber
class node_simulator,node_session_state,node_llm_api toneMint
class node_knowledge_base,node_knowledge_docs,node_chroma_store,node_vision_analyzer toneRose
class node_operator toneIndigo
```

## Components

### Operator Interface

- [Gradio Chat](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/ai_chat_bot.py): `src/app/ai_chat_bot.py`

### Agent Orchestration

- [LangGraph Service](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [Mission Router](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [Knowledge Agent](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [Vision Agent](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [Mission Agent](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [Safety Agent](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/multi_agent_service.py): `src/app/multi_agent_service.py`
- [LLM Configuration](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/llm_config.py): `src/app/llm_config.py`

### Mission Operations

- [Drone Simulator](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/drone_simulator.py): `src/app/drone_simulator.py`
- [Session State](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/drone_simulator.py): `src/app/drone_simulator.py`

### Knowledge and Vision

- [RAG Retrieval](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/knowledge_base.py): `src/app/knowledge_base.py`
- [Knowledge Documents](https://github.com/himabindumanyala/aeromind-multi-agent/tree/main/src/app/data/knowledge): `src/app/data/knowledge`
- **Chroma Store**
- [Mock Image Analyzer](https://github.com/himabindumanyala/aeromind-multi-agent/blob/main/src/app/vision.py): `src/app/vision.py`

### Other components

- **Operator**
- **LLM API**

## Connections

- Operator → Gradio Chat: submits request (evidence: `README.md`)
- Gradio Chat → LangGraph Service: streams request (evidence: `src/app/ai_chat_bot.py`)
- LangGraph Service → Mission Router: dispatches (evidence: `src/app/multi_agent_service.py`)
- Mission Router → Knowledge Agent: routes questions (evidence: `src/app/multi_agent_service.py`)
- Mission Router → Vision Agent: routes images (evidence: `src/app/multi_agent_service.py`)
- Mission Router → Mission Agent: routes operations (evidence: `src/app/multi_agent_service.py`)
- Mission Router → Safety Agent: routes safety (evidence: `src/app/multi_agent_service.py`)
- Knowledge Agent → RAG Retrieval: searches knowledge (evidence: `README.md`)
- Knowledge Documents → RAG Retrieval: provides documents (evidence: `README.md`)
- RAG Retrieval → Chroma Store: uses vector store (evidence: `README.md`)
- RAG Retrieval → LLM Configuration: loads embeddings (evidence: `src/app/knowledge_base.py`)
- Vision Agent → Mock Image Analyzer: requests analysis (evidence: `src/app/multi_agent_service.py`)
- Mission Agent → LangGraph Service: uses mission tools (evidence: `src/app/multi_agent_service.py`)
- Safety Agent → LangGraph Service: uses safety tools (evidence: `src/app/multi_agent_service.py`)
- LangGraph Service → Drone Simulator: calls simulation tools (evidence: `src/app/multi_agent_service.py`)
- Drone Simulator → Session State: reads and writes (evidence: `src/app/drone_simulator.py`)
- LangGraph Service → LLM Configuration: uses model (evidence: `src/app/multi_agent_service.py`)
- LLM Configuration → LLM API: configures API access (evidence: `src/app/llm_config.py`)
