Skip to main content

The Governance-First Framework for Agentic AI

Project description

govAgent: The Enterprise Protocol for Agentic AI

The Governance-First Framework for Production-Grade Autonomous Systems.

GovAgent provides a high-abstraction Control Plane for agentic AI. Built with a Chain of Accountability, this lightweight framework is engineered for Technology Directors and AI Strategists to move autonomous systems from experimental sandboxes into governed, production environments.

The v0.2.0 Stable Release introduces a persistent, bi-directional Judiciary layer, ensuring that high-risk AI actions are always subject to human verification before execution.


🏗️ Core Pillars: The Chain of Accountability

GovAgent replaces "Black Box" reasoning with a transparent, governed loop:

  1. Policy (The Law): Declarative boundaries and "Rules of Engagement" defined by stakeholders in policy.yaml.
  2. Guards (The Enforcement): Real-time circuit breakers that intercept agent intent before API execution to prevent budget or security breaches.
  3. HITL (The Judiciary): Synchronous Human-in-the-Loop escalation. High-risk actions are physically blocked until an explicit "Approve" or "Reject" signal is received via Slack or CLI.
  4. Telemetry (The Evidence): Forensic-grade audit trails providing an immutable ledger of compliance and real-world ROI.

🇪🇺 EU AI Act Alignment

GovAgent is architected to meet the rigorous transparency and oversight standards for High-Risk AI Systems:

  • Human Oversight (Article 14): Native HITL adapters ensure high-risk systems are overseen by natural persons in real-time.
  • Risk Management (Article 9): Automated policy enforcement identifies and mitigates operational risks before they manifest.
  • Traceability (Article 12): Forensic telemetry captures who approved an action and when, satisfying the "Chain of Accountability" required for regulatory audits.

🛠️ Key Capabilities (v0.2.0 Stable)

  • @tool Registry: A type-safe decorator that auto-maps Python functions to policy permissions (risk level, category, signature).
  • Socket Mode Handshake: Secure, persistent WebSocket connections for judiciary oversight without exposing public endpoints.
  • Financial Circuit Breakers: Real-time monitoring of session spend with automated halting when budget caps are reached.
  • Constitutional Startup Check: Refuses to boot if tool code and policy permissions do not match, eliminating "Shadow AI".
  • Zero-Trust Guardrails: Hardened whitelisting for all agent actions and web domain access.

🗺️ Strategic Roadmap

✅ v0.2.0: Operational Safety (Current Stable)

  • Synchronous HITL: Full implementation of Slack and CLI adapters for real-time intervention.
  • Legislative Registry: Stabilized @tool decorator for type-safe permission mapping.
  • Forensic Telemetry: Real-time ROI and audit trail generation.

🚀 v0.3.0: Enterprise Connectivity (Next)

  • Fiscal Ceilings: Recursive approval for multi-agent sub-tasks and "Total Cost of Operation" (TCO) guardrails.
  • Cloud Exporters: Native integrations for enterprise logging stacks like AWS CloudWatch and Azure Monitor.
  • Dynamic Budgeting: Real-time API pricing integration for penny-accurate cost tracking.

📖 Usage Example: Controlled Execution

from govagent.agent import ExecutiveAgent
from govagent.policy import Policy

# Load Hardened Policy (The Law)
policy = Policy.from_yaml("policies/enterprise_audit_policy.yaml")

# Initialize Executive Agent
agent = ExecutiveAgent(
    persona="Technology Director",
    policy=policy,
    model_client=YourModelClient()
)

# Execute Governed Task
# High-risk tools (e.g., payments) will pause and alert Slack.
report = await agent.execute("Analyze Q4 market shifts and authorize $5k payment.")
print(f"Status: {report.status} | ROI: ${report.estimated_cost_usd}")

"Governance is not a constraint; it is the catalyst for enterprise AI adoption."


Author Stamp

  • Framework: GovAgent v0.2.0 (Stable)
  • Status: Active / Open-Source Standard
  • Compliance: Designed for Enterprise-Grade Accountability

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

govagent-0.2.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

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

govagent-0.2.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file govagent-0.2.0.tar.gz.

File metadata

  • Download URL: govagent-0.2.0.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for govagent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3aa596a9f83f54126f12d47a31df5a31ec85a2ac7a9d168012c6982c646cf1f1
MD5 4cbad74b9f83ea5099df4abcdf956cd2
BLAKE2b-256 1b38dd43b915e134e00efb1f3c09952f349efaf1fbb4cda46c918096935146e3

See more details on using hashes here.

File details

Details for the file govagent-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: govagent-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for govagent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 047e89394362b0fb07682e9fef25d4dd839ae02fb1fd545e648a17b7bc3dfe2b
MD5 8cd9513dfacadc7a46fb424f0fe77ba3
BLAKE2b-256 d081dd798ed1dfc13f7109f207fa9638876a8e30584da1936a07ee8745112633

See more details on using hashes here.

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