Skip to main content

maigp-semantic-kernel

AIGP governance filter for Microsoft Semantic Kernel.

Part of MAIGP — the Mediated AI Governance Protocol: a runtime consent / scope / evidence layer for AI systems. Every governed call is CHECKed before it runs (policy, scope, jurisdiction, circuit-breaker) and RECORDed + TRACEd as tamper-evident evidence after.

Deprecation notice: the underlying framework is converging into the Microsoft Agent Framework. New projects should prefer maigp-microsoft-agent-framework. This adapter is maintained for existing deployments.

What it governs

Governs Semantic Kernel function invocations via a function-invocation filter.

Governance model

This adapter maps the framework's lifecycle onto the AIGP agent-governance loop provided by maigp-agent-core:

Framework event AIGP action
run / invocation start CHECK (pre_invoke) — allowed? under what authority?
each model reply token accounting (on_model_call)
each tool / function call tool governance (on_tool_call)
run complete RECORD + TRACE (post_invoke)
failure on_error (recorded, then re-raised)

Install

pip install maigp-semantic-kernel

Pulls in maigp-agent-core (shared lifecycle) and, transitively, maigp-client.

Quick start

from semantic_kernel import Kernel
from aigp_semantic_kernel import AigpFilter

aigp_filter = AigpFilter(gov_url="https://gov.example.com",
                         app_id="my-sk-agent", hmac_secret="secret")
kernel.add_filter("function_invocation", aigp_filter)

Links


License: Proprietary. © Kanjani AI Research & Causum.

Metadata

Release files for maigp-semantic-kernel 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maigp-semantic-kernel 1.0.1
File Size Uploaded
maigp_semantic_kernel-1.0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maigp-semantic-kernel 1.0.1
File Interpreter ABI Platform
maigp_semantic_kernel-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / maigp_semantic_kernel-1.0.1.tar.gz

Download URL maigp_semantic_kernel-1.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d05e74f12e85afc8b9393221c7777284ccc32e60cad015514a16fda90c7a5880
BLAKE2b-256 checksum
How to use checksums
e7dd120c82a9f5eceb92d65b8b7d75eb206eee6a50ca12d7662040872732dd72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / maigp_semantic_kernel-1.0.1-py3-none-any.whl

Download URL maigp_semantic_kernel-1.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b757b62fec52c446d3b049b22a2dbb6df66cfadbffc2866bff901979464b19a8
BLAKE2b-256 checksum
How to use checksums
e3e7eb0cf5d7c7ff1b6cee7f0e9297db125a184fa74f383d1b657e2323735634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page