Skip to main content

Kevros Governance Middleware for Microsoft Agent Framework — cryptographic authorization, intent binding, and hash-chained provenance for AI agents.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Kevros Governance Middleware for Microsoft Agent Framework

Cryptographic authorization, intent binding, and hash-chained provenance for AI agents built on the Microsoft Agent Framework.

Install

pip install kevros-agent-framework

Quick Start

from kevros_agent_framework import (
    KevrosGovernanceMiddleware,
    KevrosFunctionMiddleware,
    KevrosConfig,
    KevrosGovernanceClient,
)
from agent_framework import Agent

# Configure -- API key auto-provisions on first use if omitted
config = KevrosConfig(api_key="kvrs_...")
client = KevrosGovernanceClient(config)

# Attach both middleware types, sharing a single client
agent = Agent(
    client=chat_client,
    name="governed-assistant",
    instructions="You are a helpful assistant.",
    middleware=[
        KevrosGovernanceMiddleware(config=config, client=client),
        KevrosFunctionMiddleware(config=config, client=client),
    ],
)

What It Does

Every agent invocation and tool call is cryptographically governed:

  • Precision decisioning -- Each agent run is verified against governance policy (ALLOW / CLAMP / DENY) with an HMAC-signed release token
  • Intent binding -- Each function call gets a cryptographic intent-to-command binding before execution
  • Hash-chained provenance -- Every decision is logged to an append-only, tamper-evident ledger
  • Outcome verification -- Confirm the executed action achieved its declared intent, closing the governance loop
  • Compliance bundling -- Generate certifier-grade evidence packages on demand, independently verifiable

Comparison with Purview Policy Middleware

Aspect Purview Kevros
Purpose Content-level DLP (redact PII, block topics) Cryptographic authorization + audit evidence
Proof None (rule-based decision) HMAC release tokens, hash-chained provenance
Scope Message content filtering Action authorization, intent binding, provenance
Relationship Complementary Complementary

Use both: Purview for content safety, Kevros for authorization and evidence.

Links

License

BSL-1.1 -- See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kevros_agent_framework-0.1.4.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kevros_agent_framework-0.1.4-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file kevros_agent_framework-0.1.4.tar.gz.

File metadata

  • Download URL: kevros_agent_framework-0.1.4.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kevros_agent_framework-0.1.4.tar.gz
Algorithm Hash digest
SHA256 714ad4644a354cf1fc224616f78fd24f4b32a9b71dd57f2ecf98ec38e6e69148
MD5 5ec941d8bc8f02d6ff3af130a722dd37
BLAKE2b-256 408c08d04c3388e04792942c205013c526debe47985c2afa993de1a4b7bf028a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kevros_agent_framework-0.1.4.tar.gz:

Publisher: publish-sdk.yml on ndl-systems/kevros

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kevros_agent_framework-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for kevros_agent_framework-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dbbdcac8b0f2c2d250642eb45c8e7780b2439f1e3d4c939f326e85c374ca0b05
MD5 3ddc421ce951b22b5a46e096731d0a81
BLAKE2b-256 ea6f14ba0a80cf253fa2a24b568fb08201c739b3c991f2603fa32209c7384a06

See more details on using hashes here.

Provenance

The following attestation bundles were made for kevros_agent_framework-0.1.4-py3-none-any.whl:

Publisher: publish-sdk.yml on ndl-systems/kevros

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page