Parts#

How parts load How parts load

Packs and reference parts reach the server only through the parts list and the part registry. Core has no import statement for an optional part; it loads each listed part by module name.

Step

What happens

1

The Compose stack (deploy/compose_files.py) reads deploy/<environment>/parts.yaml and adds each part’s compose/compose.yml

2

The server image carries the list; GEONEMO_PARTS_FILE names it

3

core/parts.py loads knowledge and tools first; they register the same way

4

It imports each listed module. An API role skips the parts not meant for it

5

register(registry) adds what the part brings

6

The app factory mounts the routers in order; the runtime attaches each service at a fixed stage

7

The MCP server loads tool families by module name; each listed skills: folder feeds the skills catalog

A part that is not listed adds no route, setting, command or container.

What a part can register#

Addition

Example

Routers

/v1/vessel-detection

Settings

A part’s own environment variables

Runtime services

A controller or provider

CLI groups

geonemo-services sentinel

Embedding adapters and input types

Clay, Nemotron, sentinel2

MCP tool families

vessel_detection_*

Compose overlays

compose/compose.yml

Skills

A skills: folder

The listed parts of each deployment are in Parts and providers.