nemo-helix-plugin
Build NeMo Helix plugins in Python.
nemo-helix-plugin is the only package plugin authors install. It re-exports every base class, schema, and helper you need to contribute HTTP services, CLI commands, schedulable jobs, background controllers, typed configuration, and entity types to NeMo Helix. Declare your surfaces in pyproject.toml, install the package, and the platform discovers and mounts them at startup — no registration code required.
What you can build
| Surface | Base class | Entry-point group | Purpose |
|---|---|---|---|
| HTTP service | NemoService |
nemo.services |
Contributes FastAPI routers mounted at /apis/<name>/... |
| CLI | NemoCLI |
nemo.cli |
Contributes nemo <name> <cmd> subcommands |
| Controller | NemoController |
nemo.controllers |
Contributes background reconcile-loop controllers |
| Configuration | NemoConfig |
— | Typed plugin configuration with env var / YAML loading |
| Entity | NemoEntity |
— | Entity definitions stored in the NeMo Helix entity store |
Install
pip install nemo-helix-plugin
To run a local NeMo Helix that loads and serves your plugin while you develop, use Python 3.12–3.14 and install nemo-helix too — it ships the Helix services, the nemo CLI, and the runtime that wires entity-client injection into your plugin's FastAPI app:
pip install "nemo-helix[all]"
A minimal plugin
A complete NeMo Helix plugin that contributes one HTTP route — a pyproject.toml and a service module:
# pyproject.toml
[project]
name = "nemo-my-plugin"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = ["nemo-helix-plugin"]
[project.entry-points."nemo.services"]
"my-plugin" = "nemo_my_plugin.service:MyService"
# [build-system] is required by PEP 517 — without it, pip falls back to
# legacy setuptools. Any modern backend works; hatchling is what NeMo
# Platform itself uses and is the easiest fit for the src/ layout below.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# Required because the plugin uses a src/ layout with implicit namespace
# packages (no __init__.py). Hatchling needs to be told where the source is.
[tool.hatch.build.targets.wheel]
packages = ["src/nemo_my_plugin"]
# src/nemo_my_plugin/service.py
from typing import ClassVar
from fastapi import APIRouter
from nemo_helix_plugin.service import NemoService, RouterSpec
class MyService(NemoService):
name: ClassVar[str] = "my-plugin"
dependencies: ClassVar[list[str]] = []
def get_routers(self) -> list[RouterSpec]:
router = APIRouter()
@router.get("/hello")
async def hello() -> dict:
return {"message": "Hello from my plugin!"}
return [RouterSpec(router, tag="My Plugin")]
During development, nemo-helix-plugin is the only dependency your plugin needs. To actually run a local platform that loads your plugin, install nemo-helix[all] (see Install above), then:
pip install -e .
nemo services run
# GET http://localhost:8080/apis/my-plugin/hello → {"message": "Hello from my plugin!"}
That's a complete plugin. Adding a CLI command, a job, a controller, typed configuration, or entities follows the same shape — declare a class, register it under the matching entry-point group, install. See QUICKSTART for the full template covering every surface.
Guides
- QUICKSTART — build your first plugin end-to-end (service + CLI + job + controller + config)
- SERVICE — HTTP routes, CRUD patterns, testing
- JOB — jobs, CLI commands, auto-generated job verbs
- CONTROLLER — reconcile loops, state machines, service principal
- CONFIG — typed configuration, env vars, YAML, test overrides
- ENTITY — entity store, CRUD client, pagination, optimistic locking
- INFERENCE_MIDDLEWARE — inference request/response middleware, typed bodies, response annotations
- ARCHITECTURE — discovery, startup, all surfaces, SDK surface
Tip: These guides also ship inside the installed package at
nemo_helix_plugin/docs/.
Links
- This package source: https://github.com/NVIDIA-NeMo/nemo-helix/tree/main/packages/nemo_helix_plugin
- NeMo Helix on PyPI: https://pypi.org/project/nemo-helix/
- NeMo Helix on GitHub: https://github.com/NVIDIA-NeMo/nemo-helix
- NeMo Helix docs: https://docs.nvidia.com/nemo-helix/
- Issue tracker: https://github.com/NVIDIA-NeMo/nemo-helix/issues
License
nemo-helix-plugin is licensed under the Apache License 2.0. Third-party open-source dependencies have their own licenses; review them before use.
Metadata
Release files for nemo-helix-plugin 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nemo_helix_plugin-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for nemo_helix_plugin-0.8.1-py3-none-any.whl |
Release files / nemo_helix_plugin-0.8.1-py3-none-any.whl
| Download URL | nemo_helix_plugin-0.8.1-py3-none-any.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f27cfa99ef8bc29806178f9fc03f46a3b7e0571873bf8b167926162e713e3369
|
|
BLAKE2b-256 checksum How to use checksums |
afc3640c8d7debe1e1ea223df5d8469a1895ed2322ab92eba8ff874b96423b4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for nemo-helix-plugin 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.