Agent Governance Toolkitagent-governance-toolkit 4.1.0 · Python 3.10+
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
28 small wins to finish your pathNext lesson

Installation and setup

The toolkit installs from PyPI with an extra that brings the runtime packages. Its policy engine is plain Python, so it needs no API key or cloud account.

agent-governance-toolkit[full] 4.1.0

The base package is an installer and a handful of static checks; the runtime governance lives in companion distributions that come in through the [full] extra. Pin the version: this is a public preview and the APIs move between releases.

pip install "agent-governance-toolkit[full]==4.1.0"
Example
from importlib.metadata import version

print(version("agent-governance-toolkit"))

No key for the policy engine

Deciding whether a tool call is allowed is pure logic, so every lesson runs offline. The agent you govern may still call a model; its key belongs to that agent's own framework, such as OPENAI_API_KEY for the OpenAI Agents SDK. Some parts of the wider stack, such as the sandbox providers, need Docker or Azure.

Try it yourself
  • Run pip show agent-governance-toolkit and read the version.

Little by little, you're building something great.