Agent Governance ToolkitAgent Governance Toolkit 4.1.0 · Python 3.10+
Dashboard
0%

Installation and setup

Installing the Agent Governance Toolkit is one pip command that pulls the meta-package and its core, CLI and protocol layers, pinned to 4.1.0.

Last updated: 14 Oct, 2026 · Agent Governance Toolkit 4.1.0

The toolkit ships as several distributions under one name. The meta-package installs the layers the course uses: the runtime and policy engine (core), the agt command line (cli), and the MCP and identity protocols (protocols). Pin the version. The docs track the development branch and describe calls the wheel does not have.

Installing with pip

Syntax: the extras in square brackets name the layers to pull in alongside the meta-package.

pip install "agent-governance-toolkit[core,cli,protocols]==4.1.0"

No model key is needed anywhere in this course. The governance code is plain local Python.

Checking the install

One import and one printed version confirm the package is there. The version to trust is the one the package manager recorded, read with importlib.metadata.

ExampleThe toolkit imports and reports its version
import warnings; warnings.simplefilter("ignore")   # hush the deprecation warning while you learn
import importlib.metadata as meta
from agent_os.lite import govern

print("installed:", meta.version("agent-governance-toolkit"))
print("govern is", type(govern).__name__)

Reading the Python floor

The meta-package says it needs Python 3.9 or newer, but its own core and CLI layers ask for 3.11. Install on 3.11 or later and all four layers resolve. This course was built and run on 3.14.

Watch out. The first import prints a DeprecationWarning telling you agent-os-kernel is deprecated and to use agent-governance-toolkit-core. You already installed the new name; the warning comes from an inner package whose own version string was never updated. The versions lesson at the end of this part takes that apart. Silence it with warnings.simplefilter("ignore") while you learn.
Try it yourself
  • Run the check with warnings.simplefilter("ignore") removed and read the deprecation warning in full.
  • Print importlib.metadata.version("agent-governance-toolkit-core") and compare it with the meta-package version.
  • Import agent_os and print agent_os.__version__. Note it does not match the installed 4.1.0.

Little by little, you're building something great.