Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

kevros

Python SDK for the Kevros Governance Gateway. Seven endpoints for autonomous agent control: verify (ALLOW/CLAMP/DENY), attest (hash-chained provenance), bind (cryptographic intent binding), bundle (compliance evidence export), scan (threat detection), media/attest (PQC-signed media certificates), and batch operations.

Installation

pip install kevros

Quick Start

from kevros_governance import GovernanceClient

# Zero config — auto-signs up for free tier (1,000 calls/month) on first use
# Key is cached at ~/.kevros/api_key for future sessions
client = GovernanceClient()

# Verify an agent action against policy bounds
result = client.verify(
    agent_id="agent-001",
    action_type="transfer",
    parameters={"amount": 150.00, "recipient": "vendor-xyz"},
    context={"session_id": "abc123"}
)

if result.decision == "ALLOW":
    # Attest the decision with hash-chained provenance
    attestation = client.attest(
        decision_id=result.decision_id,
        evidence=result.evidence
    )
    print(f"Attestation hash: {attestation.hash}")
elif result.decision == "CLAMP":
    print(f"Action clamped: {result.clamped_parameters}")
else:
    print(f"Action denied: {result.reason}")

Endpoints

Endpoint Method Price Description
/governance/verify POST $0.01 Action verification. Returns signed ALLOW, CLAMP, or DENY.
/governance/attest POST $0.02 Provenance attestation. Hash-chained evidence trail.
/governance/bind POST $0.02 Cryptographic intent-to-command binding proof.
/governance/bundle POST $0.05 Compliance evidence export. Full audit chain.
/shield/scan POST $0.01 Threat detection and input validation.
/media/attest POST $0.05 PQC-signed media attestation certificate.
/governance/batch POST $0.01 Batch operations. Multiple calls, one request.

Payment Protocols

Three ways to pay. No vendor lock-in.

Protocol Rail Settlement
x402 USDC on Base Per-call. Coinbase Commerce + Cloudflare.
L402 Lightning Network Per-call. Instant sats, cryptographic token auth.
MPP / Stripe Tempo Fiat (USD) Subscription or credit packs via Stripe.

Pricing

Tier Monthly Included Calls
Free $0 10
Scout $29 5,000
Sentinel $149 50,000
Sovereign $499 500,000

1,000 calls/month free. No credit card required. Overage billed at standard per-call rates.

Core Concepts

Fail-closed by default. If the gateway is unreachable or returns an error, the SDK returns DENY. No silent failures. No open-by-default fallbacks.

Hash-chained provenance. Every attestation links to the previous one via SHA-256 chain. Tampering with any record breaks the chain and is detectable by any verifier.

Signed decisions. Every ALLOW, CLAMP, and DENY response is cryptographically signed. Decisions are independently verifiable without trusting the gateway.

Configuration

client = KevrosClient(
    api_key="your-api-key",
    base_url="https://governance.taskhawktech.com",  # default
    timeout=10,          # seconds
    fail_closed=True     # default; DENY on any error
)

Environment Variables

KEVROS_API_KEY=your-api-key
KEVROS_BASE_URL=https://governance.taskhawktech.com

Links

Resource URL
Gateway https://governance.taskhawktech.com
API Docs https://governance.taskhawktech.com/docs
Status https://governance.taskhawktech.com/status
Pricing https://governance.taskhawktech.com/upgrade

License

Proprietary. Copyright 2026 TaskHawk Systems, LLC.

CAGE Code 10YV4. SAM.gov registered. NIST 800-171 / DFARS 252.204-7012 aligned.

Contact

info@taskhawktech.com

Metadata

Release files for kevros 0.3.12

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

Source distribution (sdist)

Source distribution for kevros 0.3.12
File Size Uploaded Provenance Actions
kevros-0.3.12.tar.gz 26.2 kB With provenance Details for kevros-0.3.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kevros 0.3.12
File Interpreter ABI Platform Actions
kevros-0.3.12-py3-none-any.whl Python 3 none any Details for kevros-0.3.12-py3-none-any.whl

Total release size: 50.6 kB

Release files / kevros-0.3.12.tar.gz

Download URL kevros-0.3.12.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c1f1f04f168c17f9d4899702c2ccc06be1af768b850e13c402b61162c08687c4
BLAKE2b-256 checksum
How to use checksums
340c15fd04f733078e8a8474cbf7e54893f24c594c2f980f143d5b7b21c8510f
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 Apr 4, 2026.

Transparency log

Release files / kevros-0.3.12-py3-none-any.whl

Download URL kevros-0.3.12-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4cdcf2a0494ae1b013823c9c3190946eee3e58f982484930eb593e0fd379b70
BLAKE2b-256 checksum
How to use checksums
7ec61b7668da3c9b3ac5aa0c4d32e5c90ccbc8a583e5748889ec2240b713f364
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 Apr 4, 2026.

Transparency log

Security for kevros 0.3.12

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.

Select from 2 files

Attestation for kevros-0.3.12.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 Apr 4, 2026.

Transparency log

A 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.

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