Observed since 21 Oct, 11:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python wrapper for AIKernel.Control v0.1.2 governance contracts with bundled managed assemblies and pythonnet loading.
Python wrapper surface for AIKernel.Control.
Starting with the 0.1.2 canon line, aikernel-governance is the PyPI package
for the public AIKernel.Control governance boundary. The package remains a thin
wrapper over managed C# assemblies and does not re-implement CTG Gate logic in
Python.
aikernel-governance exposes the public AIKernel.Control contract boundary as a
single Python API:
The reference package does not provide a separate Python implementation of governance semantics. It does not expose internal engine helpers, transport-specific logic, OS-specific implementations, or private runtime state.
Python packaging resolves the public Control and contract assemblies under
aikernel_governance/native:
AIKernel.Abstractions.dllAIKernel.Dtos.dllAIKernel.Enums.dllAIKernel.Control.Core.dllAIKernel.Control.CPU.dllAIKernel.Control.Diagnostics.dllAIKernel.Control.Emulator.dllAIKernel.Control.GPU.dllgovernance_assemblies() resolves bundled assemblies first, then paths from
AIKERNEL_GOVERNANCE_ASSEMBLY_PATH, then matching packages from the NuGet
global-packages cache.
load_governance_runtime() loads the resolved assemblies through pythonnet.
The v0.1.2 package exposes the generated managed API catalog through
managed_api_catalog(), managed_api_summary(), managed_type_names(), and
find_managed_type(full_name).
from aikernel_governance import (
ExecutionRequest,
ExecutionResult,
Snapshot,
ProviderContract,
GovernanceClient,
)
Example:
from aikernel_governance import ExecutionRequest, GovernanceClient
request = ExecutionRequest(
model="bonsai-1.7b",
input="hello",
parameters={"execution_id": "exec-001"},
)
client = GovernanceClient(backend)
result = client.submit(request)
snapshot = client.snapshot("exec-001")
backend must provide the governance operations used by the client:
submit(request)snapshot(id)result(id)When pythonnet is available, wrappers can be converted to public C# DTOs with
to_managed().
For local validation:
cd C:\Users\HP\source\repos\AIKernel-NET\AIKernel.Control
py -m pytest python\tests
PyPI publishing is handled by the repository GitHub Actions workflow on release tags using Trusted Publishing. Keep Python experiments thin over the managed assemblies and do not add CTG Gate rules to Python code.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 18 Jun 2026 | 2 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 11:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7b946ea3583470501fba1b4a971588d7a61970474431aacc1c6b3854df12cf97