# nvidia/geonemo architecture

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

- Interactive diagram: https://gitdiagram.com/nvidia/geonemo
- Repository: https://github.com/nvidia/geonemo

## Overview

GeoNeMo Toolkit is a geospatial-agent platform: clients and agents use REST or MCP tools to search geospatial knowledge and publish findings, while sensor/model packs ingest imagery and provide specialized workloads. The README documents the end-to-end imagery-to-answer flow and major capabilities; sampled source and the SOURCE INDEX support selected API, MCP, retrieval, GKB, and vessel-run relationships. Some pack and console internals were not sampled, so their links are limited to documented capabilities.

Main entry points: [`core/mcp/src/geonemo/mcp/server.py`](https://github.com/NVIDIA/GeoNeMo/blob/main/core/mcp/src/geonemo/mcp/server.py) (MCP tools), [`core/api/app.py`](https://github.com/NVIDIA/GeoNeMo/blob/main/core/api/app.py) (REST API), [`knowledge/embedding_service.py`](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/embedding_service.py) (Embedding service), [`knowledge/gkb/repository.py`](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/gkb/repository.py) (Knowledge Base)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interfaces["Agent interfaces"]
  node_mcp["MCP tools<br/>[server.py]"]
  node_rest["REST API<br/>[app.py]"]
  node_pyclient["Python client<br/>[client.py]"]
end

subgraph group_services["Core services"]
  node_auth["Access control<br/>[security.py]"]
end

subgraph group_knowledge["Geospatial knowledge"]
  node_catalog["Catalog search<br/>[catalog.py]"]
  node_embedding["Embedding service"]
  node_retrieval["Embedding retrieval<br/>[query.py]"]
  node_layers[("Collection layers<br/>[storage.py]")]
  node_gkb[("Knowledge Base<br/>[repository.py]")]
  node_artifact["Finding artifacts<br/>[artifacts.py]"]
end

subgraph group_packs["Sensor and model packs"]
  node_sentinel["Sentinel ingest<br/>[pipeline.py]"]
  node_sentinel_flow["Sentinel processing"]
  node_maritime["Vessel detection<br/>[controller.py]"]
  node_vessel_worker["Vessel worker<br/>[worker.py]"]
  node_clay["Clay pack<br/>[part.py]"]
  node_nemotron["Nemotron pack<br/>[part.py]"]
end

subgraph group_agent_app["Agent experience"]
  node_console["Agent Console<br/>[page.tsx]"]
  node_orchestration["Agent orchestration<br/>[controller.py]"]
  node_monitoring["Agent monitoring"]
  node_run_ids["Run identity contract<br/>[agent_runs.py]"]
end

node_agent(("Geospatial agent"))

node_agent -->|"calls tools"| node_mcp
node_agent -->|"calls API"| node_rest
node_console -->|"proxies requests"| node_rest
node_pyclient -.->|"calls API"| node_rest
node_mcp -->|"uses client"| node_pyclient
node_rest -->|"authenticates"| node_auth
node_orchestration -->|"uses run identities"| node_run_ids
node_monitoring -.->|"shares run contract"| node_run_ids
node_mcp -->|"offers search"| node_retrieval
node_agent -->|"searches embeddings"| node_retrieval
node_sentinel -.->|"runs pipeline"| node_sentinel_flow
node_sentinel_flow -.->|"generates embeddings"| node_embedding
node_embedding -.->|"serves vectors"| node_retrieval
node_catalog -.->|"serves layer data"| node_layers
node_mcp -.->|"offers catalog tools"| node_catalog
node_mcp -->|"reads and publishes"| node_gkb
node_agent -->|"shares findings"| node_gkb
node_gkb -->|"stores canonical artifacts"| node_artifact
node_maritime -->|"dispatches runs"| node_vessel_worker
node_clay -.->|"adds model capability"| node_embedding
node_nemotron -.->|"adds model capability"| node_embedding
node_agent -->|"launches and observes"| node_console

click node_console "https://github.com/NVIDIA/GeoNeMo/blob/main/reference/application/console/app/page.tsx"
click node_mcp "https://github.com/NVIDIA/GeoNeMo/blob/main/core/mcp/src/geonemo/mcp/server.py"
click node_rest "https://github.com/NVIDIA/GeoNeMo/blob/main/core/api/app.py"
click node_pyclient "https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/client.py"
click node_auth "https://github.com/NVIDIA/GeoNeMo/blob/main/core/access/security.py"
click node_orchestration "https://github.com/NVIDIA/GeoNeMo/blob/main/reference/orchestration/agent-service/controller.py"
click node_catalog "https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/api/catalog.py"
click node_embedding "https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/embedding_service.py"
click node_retrieval "https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/embedding_retrieval/query.py"
click node_layers "https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/collection_layers/storage.py"
click node_gkb "https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/gkb/repository.py"
click node_artifact "https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/artifacts.py"
click node_sentinel "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/sentinel/pipelines/ingest/pipeline.py"
click node_sentinel_flow "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/sentinel/pipelines/ingest/sentinel_pipeline.py"
click node_maritime "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/maritime/vessel_detection/controller.py"
click node_vessel_worker "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/maritime/vessel_detection/worker.py"
click node_clay "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/clay/part.py"
click node_nemotron "https://github.com/NVIDIA/GeoNeMo/blob/main/packs/nemotron/part.py"
click node_monitoring "https://github.com/NVIDIA/GeoNeMo/blob/main/reference/application/monitoring/agent_service_http.py"
click node_run_ids "https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/agent_runs.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_mcp,node_rest,node_pyclient toneBlue
class node_auth toneAmber
class node_catalog,node_embedding,node_retrieval,node_layers,node_gkb,node_artifact toneMint
class node_sentinel,node_sentinel_flow,node_maritime,node_vessel_worker,node_clay,node_nemotron toneRose
class node_console,node_orchestration,node_monitoring,node_run_ids,node_agent toneIndigo
```

## Components

### Agent interfaces

- [MCP tools](https://github.com/NVIDIA/GeoNeMo/blob/main/core/mcp/src/geonemo/mcp/server.py): `core/mcp/src/geonemo/mcp/server.py`
- [REST API](https://github.com/NVIDIA/GeoNeMo/blob/main/core/api/app.py): `core/api/app.py`
- [Python client](https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/client.py): `contracts/client/src/geonemo/client/client.py`

### Core services

- [Access control](https://github.com/NVIDIA/GeoNeMo/blob/main/core/access/security.py): `core/access/security.py`

### Geospatial knowledge

- [Catalog search](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/api/catalog.py): `knowledge/api/catalog.py`
- [Embedding service](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/embedding_service.py): `knowledge/embedding_service.py`
- [Embedding retrieval](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/embedding_retrieval/query.py): `knowledge/embedding_retrieval/query.py`
- [Collection layers](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/collection_layers/storage.py): `knowledge/collection_layers/storage.py`
- [Knowledge Base](https://github.com/NVIDIA/GeoNeMo/blob/main/knowledge/gkb/repository.py): `knowledge/gkb/repository.py`
- [Finding artifacts](https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/artifacts.py): `contracts/client/src/geonemo/client/artifacts.py`

### Sensor and model packs

- [Sentinel ingest](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/sentinel/pipelines/ingest/pipeline.py): `packs/sentinel/pipelines/ingest/pipeline.py`
- [Sentinel processing](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/sentinel/pipelines/ingest/sentinel_pipeline.py): `packs/sentinel/pipelines/ingest/sentinel_pipeline.py`
- [Vessel detection](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/maritime/vessel_detection/controller.py): `packs/maritime/vessel_detection/controller.py`
- [Vessel worker](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/maritime/vessel_detection/worker.py): `packs/maritime/vessel_detection/worker.py`
- [Clay pack](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/clay/part.py): `packs/clay/part.py`
- [Nemotron pack](https://github.com/NVIDIA/GeoNeMo/blob/main/packs/nemotron/part.py): `packs/nemotron/part.py`

### Agent experience

- [Agent Console](https://github.com/NVIDIA/GeoNeMo/blob/main/reference/application/console/app/page.tsx): `reference/application/console/app/page.tsx`
- [Agent orchestration](https://github.com/NVIDIA/GeoNeMo/blob/main/reference/orchestration/agent-service/controller.py): `reference/orchestration/agent-service/controller.py`
- [Agent monitoring](https://github.com/NVIDIA/GeoNeMo/blob/main/reference/application/monitoring/agent_service_http.py): `reference/application/monitoring/agent_service_http.py`
- [Run identity contract](https://github.com/NVIDIA/GeoNeMo/blob/main/contracts/client/src/geonemo/client/agent_runs.py): `contracts/client/src/geonemo/client/agent_runs.py`

### Other components

- **Geospatial agent**

## Connections

- Geospatial agent → MCP tools: calls tools (evidence: `README.md`)
- Geospatial agent → REST API: calls API (evidence: `README.md`)
- Agent Console → REST API: proxies requests
- Python client → REST API: calls API (evidence: `README.md`)
- MCP tools → Python client: uses client (evidence: `core/mcp/src/geonemo/mcp/server.py`)
- REST API → Access control: authenticates (evidence: `core/api/app.py`)
- Agent orchestration → Run identity contract: uses run identities (evidence: `reference/orchestration/agent-service/controller.py`)
- Agent monitoring → Run identity contract: shares run contract (evidence: `contracts/client/src/geonemo/client/agent_runs.py`)
- MCP tools → Embedding retrieval: offers search (evidence: `README.md`)
- Geospatial agent → Embedding retrieval: searches embeddings (evidence: `README.md`)
- Sentinel ingest → Sentinel processing: runs pipeline
- Sentinel processing → Embedding service: generates embeddings
- Embedding service → Embedding retrieval: serves vectors
- Catalog search → Collection layers: serves layer data
- MCP tools → Catalog search: offers catalog tools (evidence: `README.md`)
- MCP tools → Knowledge Base: reads and publishes (evidence: `core/mcp/src/geonemo/mcp/server.py`)
- Geospatial agent → Knowledge Base: shares findings (evidence: `README.md`)
- Knowledge Base → Finding artifacts: stores canonical artifacts (evidence: `knowledge/gkb/repository.py`)
- Vessel detection → Vessel worker: dispatches runs (evidence: `packs/maritime/vessel_detection/controller.py`)
- Clay pack → Embedding service: adds model capability (evidence: `README.md`)
- Nemotron pack → Embedding service: adds model capability (evidence: `README.md`)
- Geospatial agent → Agent Console: launches and observes (evidence: `README.md`)
