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. With a Chain of Accountability, this lightweight framework helps organizations move autonomous systems from sandbox to production, governed environments.

🎯 Value Proposition

In high-stakes environments, the barrier to AI adoption is reliability and control. govAgent ensures every action is transparent, budget-aware, and risk-managed. Unlike standard frameworks that prioritize open-ended autonomy, GovAgent enforces a Chain of Accountability.

  • Active Circuit Breakers: Real-time enforcement of financial and operational limits.
  • Governance-as-Code: Human-readable permission manifests (policy.yaml) that align technical execution with organizational policy.
  • Forensic Telemetry: Standardized audit logs and ROI projections.
  • Zero-Trust Tooling: Strict whitelisting for agent actions and domain access.

🏗️ Core Pillars: The Chain of Accountability

In a professional services or regulated environment, autonomy without accountability is a liability. 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 blocked until a human provides an explicit "Approve" or "Reject" signal.
  4. Telemetry (The Evidence): Forensic-grade audit trails that provide an immutable ledger of compliance and real-world ROI.

🗺️ Strategic Roadmap

v0.2.0: Operational Safety (Current Focus)

  • Synchronous HITL: Implementation of decoupled CLI/Slack adapters for real-time intervention.
  • The Governance Testing Suite: Comprehensive unit testing utility to verify guardrail enforcement.
  • The @tool Registry: A type-safe decorator to auto-map Python functions to policy permissions.

v0.3.0: Enterprise Connectivity

  • Cloud Telemetry Adapters: Native exporters for AWS CloudWatch and Azure Monitor.
  • Dynamic Budgeting: Real-time API pricing integration for penny-accurate cost tracking.
  • SOP Templates: A library of pre-baked policies for roles like "Legal Researcher" or "Code Auditor."

🧪 Testing & Validation

GovAgent prioritizes reliability. We maintain a dual-layer testing utility:

  • Operational Flow (test_flow.py): Ensures the "Happy Path" remains functional across library updates.
  • Governance Verification (test_governance.py): Specifically attempts to breach policy to ensure guards and HITL triggers correctly block unauthorized intent.

Run the full suite with: pytest tests/


🚧 Development Status (WIP)

GovAgent is rapidly evolving. We have successfully moved the HITL module from a passive placeholder to an active, synchronous blocking mechanism.

✅ Completed Modules

  • Governance Manifest (policy.py): Structured YAML-based policy enforcement with high-risk tool detection.
  • Forensic Telemetry (telemetry.py): Real-time ROI and audit trail generation.
  • Circuit Breakers (guards.py): Financial and operational risk mitigation logic.
  • Synchronous HITL (hitl.py): Multi-adapter manager (CLI/Slack-ready) for human intervention.
  • The Executive Loop (agent.py): An async orchestration engine that treats governance as a blocking priority.

📖 Usage Example: Controlled Execution

from govagent import ExecutiveAgent, Policy, HITLManager

# 1. Load your enterprise SOP
policy = Policy.from_yaml("market_research_policy.yaml")

# 2. Initialize the Judiciary (HITL)
hitl = HITLManager() 

# 3. Run the agent with real-time circuit breakers
agent = ExecutiveAgent(
    persona="Analyst", 
    policy=policy, 
    model_client=my_llm,
    hitl_manager=hitl
)

report = await agent.execute("Research competitor pricing and delete old logs")

print(f"Audit Trace: {report.audit_id}")
print(f"Budget Consumed: ${report.estimated_cost_usd}")

🤝 Call for Contributions

We are building GovAgent to be the industry standard for accountable AI. I welcome collaborators from both technical and strategic backgrounds.

👩‍💻 Technical Contributions

  • Slack/Teams Adapters: Help us finalize the SlackAdapter for mobile-first human approvals.
  • Cloud Exporters: Native integrations for enterprise logging stacks (ELK, CloudWatch).

👔 Strategic Contributions

  • Standard Policy Library: Help us draft pre-built policy.yaml templates for regulated industries (Finance, Healthcare, Legal).

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


Author Stamp

  • Framework: GovAgent v0.2.0 (Pre-release)
  • 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.1.5.tar.gz (26.9 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.1.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for govagent-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4b56ddb09fe4c3bf9ff44df2b0558bda698b019d559fd37f97ef3ef4e2f244b5
MD5 54a4a8d28b26d51ec36ca526dfaa2564
BLAKE2b-256 f86b49d82f7389e41000032f637c06fae65c3cc05eea2a5cd3a165e346ebf4fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: govagent-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3916e23b686356805104f6f9cd286b10332f82ae20cf156e0f6a1470c1e68b09
MD5 ff326295dbf61ce576354d92c40d00af
BLAKE2b-256 301825ed76bade03610274612a806b25b2315c3d3c3f005686c7f76c70a0dd10

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