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"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.
- Run
pip show agent-governance-toolkitand read the version.
Little by little, you're building something great.