Extend#

How a part reaches the server How a part reaches the server

The Toolkit grows by adding parts. A part is a folder with a part.py that registers what it brings, and a line in a deployment’s parts list. Core loads each listed part by module name, so a deployment without the part loads none of it. See Parts for the loading order. The one change to core is for an MCP tool family, whose module is added to the MCP server’s list of families (Add an MCP tool family).

To add

Guide

Registered through

A sensor, model, API area or admin command

Write a pack

register(registry) in part.py

Tools an agent harness can call

Add an MCP tool family

A family module the MCP server loads

A schema for a kind of GKB finding

Add a GKB extension schema

registry.add_gkb_extensions

A source of records with its own schema

Add a collection layer

LayerService adapter

A model for embedding retrieval

Add an embedding model

add_embedding_adapter, add_retrieval_model

A procedure for an agent

Write a skill

A skill folder

A native agent

Write an agent

agent.yaml and geonemo-agent

Your own orchestration

Custom orchestration

The agent service API and the orchestration port

A custom GPU tool is not yet an extension point. Tool runs work today only for the vessel-detection family, whose worker images implement the tool worker contract (Roadmap).

Customize the reference parts#

The parts under reference/ (purple in the diagrams) are not part of the toolkit, but they are the baseline to build on: they work end to end and show how an application and an orchestration use the toolkit. Start from them, change them, or replace them. Toolkit code has no import statement for them, and they use the same APIs as any client.

Reference part

Change it in

Or replace it with

Agent Console, Monitoring

reference/application/

Any application that uses the toolkit and agent service APIs

Agent service, NeMo agent runtime, agent templates

reference/orchestration/

Any orchestration that serves the agent service API (Custom orchestration)

A deployment chooses its reference parts in its parts list (Parts).

Rules#

Rules that apply to every extension:

  • A part may import the toolkit and the packs it requires, never the reverse. See Import rules.

  • A part never reaches a backing store of another part. Clients use the versioned API.

  • Offline tests come with the part. See Testing.