Unified installer and runtime policy enforcement for agent governance. Version 4.0.0 (public preview). Supports Python >=3.9. Maintained by Microsoft with monthly releases.
pip install agent-governance-toolkitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client and apply a policy using the v4 API.
Replace `import agent_governance` with `from agent_governance_toolkit import ...`.
Change `Policy.from_dict(data)` to `Policy.from_json(data)`.
Pass a `DefaultAzureCredential()` from azure-identity, or set the AZURE_CLIENT_SECRET environment variable.
Always validate JSON schema using Policy.validate(json_data) before applying.