PYPI PACKAGE AUDIT v1.0.0 Enterprise-konform

nvs-runtime

NVS Runtime – anbieterunabhängiges Ausführungssubstrat für schichtorientierte KI-Systeme

PyPkgScore nvs-runtime
Methodik & Kriterien ♥ Donate
920 / 1000
Schnellinstallation
pip install nvs-runtime
1. Governance
200/200
2. PEP-Metadaten
200/200
3. Sicherheit
200/200
4. Doku & SEO
155/200
5. CI-Engineering
165/200
📣 Prüfung teilen: Teilen Sie diesen Bericht und die Vorschau in der aktuellen Sprache
Advertisement
PYPI-TELEMETRIE

Downloads & Community-Verbreitung

Letzte 30 Tage (ohne Spiegelserver)
Letzte 7 Tage
117
Letzte 30 Tage
117
Gesamt (180 Tage)
117
Metrik / Ökosystem Status / Wert Quelle
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 920 / 1000 PyPkgScore Engine

Gesundheits- & Engineering-Analyse (5 Säulen)

1. Governance & Community200 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✓ 50 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✓ 50 pts
2. PEP-Metadaten & Paketierung200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Sicherheit & Lieferkette200 / 200 ▾
Null CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS-Repository✓ 50 pts
4. Dokumentation, SEO & Ökosystem155 / 200 ▾
Strukturierte README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Webseite / Fachartikel✓ 45 pts
5. Engineering, CI & Qualität165 / 200 ▾
Automatisierte Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✓ 35 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Offizielle Dokumentation & Nutzungsleitfaden — nvs-runtime

PyPI Metadata v1.0.0
Vollständige Originaldokumentation anzeigen (Englisches README) ▾

NVS Runtime

The Runtime for Layer-Oriented AI Systems

License Python Version Tests

NVS Runtime is a provider-agnostic runtime substrate for layer-oriented AI systems.

It is not an MCP runtime.
It is not an LLM framework.
It is not a RAG framework.

Applications talk only to a stable Runtime API. Providers are interchangeable.

Application
    ↓
NVS Runtime
    ↓
Providers (MCP · HTTP · gRPC · Local · Kernel · HEKB · …)

Installation

# nvs-observation is not on PyPI yet, so install it from GitHub first
pip install "git+https://github.com/GemminAI/nvs-observation.git"
pip install -e ".[dev]"

Optional extras:

pip install -e ".[mcp,http]"

Requires Python ≥3.12 (supported: 3.12, 3.13, 3.14). Licensed under Apache-2.0.

Quick Start

import asyncio
from nvs_runtime import build_runtime

async def main():
    runtime = build_runtime()

    runtime.discover()
    plan = runtime.plan({
        "goal": "summarize text",
        "input_type": "text",
        "target_outputs": ["summary"],
    })
    result = await runtime.invoke({
        "plan_id": plan.plan_id,
        "payload": {"text": "hello nvs runtime"},
    })
    print(result.output)
    print(runtime.observe({"kind": "statistics"}).statistics)
    print(runtime.metrics())
    await runtime.shutdown()

asyncio.run(main())

Or run the examples:

python examples/hello_runtime.py
python examples/plan_and_invoke.py

Runtime API

Method Purpose
runtime.discover() List providers and capabilities
runtime.plan(...) Search the capability graph
runtime.invoke(...) Execute a capability or plan
runtime.observe(...) Timeline / topology / statistics
runtime.session(...) Create / pause / resume / cancel
runtime.checkpoint(...) Save / restore durable state
runtime.metrics() In-process counters and latency
runtime.shutdown() Stop providers cleanly

Architecture

NVSRuntime
├── Planner
├── Capability Graph
├── Session Manager
├── Governance
├── Metrics
├── Observability
├── Event Bus
├── Transport Layer
└── Provider Registry
        ↓
   Local · HTTP · gRPC · MCP · Kernel · HEKB

See docs/architecture.md.

Provider Architecture

Provider Kind Role
LocalProvider local Deterministic in-process capabilities
HttpProvider http HTTP-shaped invoke (offline stub by default)
GrpcProvider grpc gRPC-shaped invoke (offline stub by default)
McpProvider mcp MCP tools as capabilities (optional SDK)
KernelProvider kernel Optional kernel geometry (DEFERRED if unavailable)
HekbProvider hekb Knowledge store via ObjectStore

No provider is privileged. MCP is one adapter among many.

See docs/provider-guide.md.

What is here, and what is not

This repository is the public runtime. It holds the Runtime API, the providers, the observation capture path (capture records, the capture archive, the Gate and Formal Store clients, the observe and log commands), and the readers of what was stored: the record schema, the read-back of a stored run, the item-set entry, the comparison of a stored Risk and Control record with a replay, and the verify command.

Measuring the K path of a capture and checking it again are done by a separate package, the Developer Tools, which this repository does not contain. It plugs in through the nvs_runtime.k_measurer entry point. Without it the runtime still captures, stores and reads, but a K path is recorded as not measured (edge_unavailable), and verify reports how many positions with a measured K it could not check (k_unchecked; the exit code does not change).

The code that drives experiments (replays, variants, end-to-end runners, analysis scripts) is not part of the public nvs-runtime either; it lives with the Developer Tools. The tests here read stored measured results from tests/fixtures/measured_k, which were made by the real kernel and are only read, so they run without the kernel or the Developer Tools.

Documentation

Order Guide
1 Architecture
2 Runtime Guide
3 Provider Guide
4 Developer Guide
5 Contribution Guide

Also: Roadmap · Release Notes v1.0.0 · Support

Testing

pytest --cov=nvs_runtime --cov-report=term-missing
  • Offline and deterministic
  • No external APIs or API keys
  • Coverage target ≥ 90%. The 90% gate applies where the NVS-Kernel edge and sensos are installed; the public CI reports coverage without gating on it.

Roadmap

High-level milestones live in ROADMAP.md.

  • v1.1 — Provider SDK, registry hardening, streaming, plugin discovery
  • v1.2 — Distributed / remote runtime
  • v2.0 — Stable Runtime ABI

Contributing

See CONTRIBUTING.md, GOVERNANCE.md, and the Code of Conduct.

License

Licensed under the Apache License, Version 2.0.

Citation

See CITATION.cff.

Philosophy

We are not building an MCP runtime.
We are building the runtime that future AI systems execute on.
MCP is only one provider among many.
The runtime must remain stable even if every provider changes.