This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
kevros-agent-framework
Kevros governance middleware for Microsoft AutoGen and Semantic Kernel agents. Cryptographic action verification, intent binding, and hash-chained provenance for multi-agent workflows. Fail-closed by default.
Installation
pip install kevros-agent-framework
Requires autogen-agentchat or semantic-kernel as a peer dependency.
Quick Start (AutoGen)
from autogen import AssistantAgent, UserProxyAgent
from kevros_agent_framework import KevrosMiddleware
# Initialize middleware
middleware = KevrosMiddleware(api_key="your-kevros-api-key")
assistant = AssistantAgent(
name="governed_agent",
llm_config={"model": "gpt-4"}
)
# Wrap the agent with Kevros governance
governed_assistant = middleware.wrap(assistant)
Quick Start (Semantic Kernel)
import semantic_kernel as sk
from kevros_agent_framework import KevrosFilter
kernel = sk.Kernel()
kevros_filter = KevrosFilter(api_key="your-kevros-api-key")
# Register as a function invocation filter
kernel.add_filter("function_invocation", kevros_filter)
How It Works
The middleware intercepts every agent action before execution and routes it through Kevros governance:
Agent proposes action
|
v
KevrosMiddleware.verify(action)
|
+-- ALLOW --> execute --> attest(result) --> hash-chained log
|
+-- CLAMP --> execute with bounded parameters --> attest
|
+-- DENY --> block execution, return reason to agent
Every decision is cryptographically signed. Every attestation links to the previous one via SHA-256 chain. The full provenance trail is exportable as a compliance bundle.
Governance Endpoints
| Endpoint | Price | Description |
|---|---|---|
/governance/verify |
$0.01 | Action verification. Signed ALLOW, CLAMP, or DENY. |
/governance/attest |
$0.02 | Hash-chained provenance attestation. |
/governance/bind |
$0.02 | Cryptographic intent-to-command binding proof. |
/governance/bundle |
$0.05 | Compliance evidence export for audit. |
/shield/scan |
$0.01 | Threat detection and input validation. |
/media/attest |
$0.05 | PQC-signed media attestation certificate. |
/governance/batch |
$0.01 | Batch operations. Multiple calls, one request. |
Multi-Agent Governance
In multi-agent workflows (AutoGen GroupChat, Semantic Kernel multi-agent orchestration), Kevros governs each agent independently. Every agent in the group gets its own provenance chain.
from autogen import GroupChat, GroupChatManager
from kevros_agent_framework import KevrosMiddleware
middleware = KevrosMiddleware(api_key="your-kevros-api-key")
# Each agent gets its own governance context
researcher = middleware.wrap(researcher_agent)
analyst = middleware.wrap(analyst_agent)
writer = middleware.wrap(writer_agent)
group_chat = GroupChat(
agents=[researcher, analyst, writer],
messages=[]
)
Each agent's actions are verified, attested, and logged to its own hash chain. Cross-agent interactions generate linked attestations for full traceability.
Configuration
middleware = KevrosMiddleware(
api_key="your-kevros-api-key",
base_url="https://governance.taskhawktech.com", # default
fail_closed=True, # default; DENY on any error
auto_attest=True, # default; attest every ALLOW automatically
auto_bind=False # optional; bind intent on every action
)
Environment Variables
KEVROS_API_KEY=your-kevros-api-key
KEVROS_BASE_URL=https://governance.taskhawktech.com
Payment Protocols
| Protocol | Rail | Settlement |
|---|---|---|
| x402 | USDC on Base | Per-call. Coinbase Commerce + Cloudflare. |
| L402 | Lightning Network | Per-call. Instant sats. |
| MPP / Stripe Tempo | Fiat (USD) | Subscription or credit packs. |
Pricing
| Tier | Monthly | Included Calls |
|---|---|---|
| Free | $0 | 1,000 |
| Scout | $29 | 5,000 |
| Sentinel | $149 | 50,000 |
| Sovereign | $499 | 500,000 |
1,000 calls/month free. No credit card required.
Links
| Resource | URL |
|---|---|
| Kevros Gateway | https://governance.taskhawktech.com |
| Microsoft AutoGen | https://github.com/microsoft/autogen |
| Semantic Kernel | https://github.com/microsoft/semantic-kernel |
| API Docs | https://governance.taskhawktech.com/docs |
| Status | https://governance.taskhawktech.com/status |
License
Proprietary. Copyright 2026 TaskHawk Systems, LLC.
CAGE Code 10YV4. SAM.gov registered. NIST 800-171 / DFARS 252.204-7012 aligned.
Contact
+JM
Metadata
Release files for kevros-agent-framework 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kevros_agent_framework-0.1.5.tar.gz | 18.9 kB | With provenance | Details for kevros_agent_framework-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kevros_agent_framework-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for kevros_agent_framework-0.1.5-py3-none-any.whl |
Total release size: 35.9 kB
Release files / kevros_agent_framework-0.1.5.tar.gz
| Download URL | kevros_agent_framework-0.1.5.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cc4a80ecd34e7a3e5ef80d31970e70c5deef98a608866ad36803f8ae48cefb3
|
|
BLAKE2b-256 checksum How to use checksums |
774b4dab27a803d1bb3bd8a48afa8c57d0f7307a317e00c633d62fb82d3cd481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 23, 2026.
Transparency logRelease files / kevros_agent_framework-0.1.5-py3-none-any.whl
| Download URL | kevros_agent_framework-0.1.5-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ee5c21a28239dab4604d46056e64f0fe7db81f4ccf928ae933b8e09be17b5ee
|
|
BLAKE2b-256 checksum How to use checksums |
2516c9e4b11a2f67980748a684e2e7e0d285b19bfa16627955e5850d024c9afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 23, 2026.
Transparency logSecurity for kevros-agent-framework 0.1.5
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for kevros_agent_framework-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 23, 2026.
Transparency logA 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.