Share this file with participants at least 48 hours before the session. Everyone should complete all steps before arriving.
- Laptop with internet access
- macOS, Linux, or Windows 10/11 (WSL2 strongly recommended on Windows)
- At least 2 GB of free disk space
Check your version:
python --version # should print Python 3.10.x or higherIf you need to install or upgrade Python, visit https://www.python.org/downloads/.
Windows users: install Python from python.org and tick "Add Python to PATH" during setup. Alternatively, use
winget install Python.Python.3.11in PowerShell.
Any editor works. Recommended options:
- Visual Studio Code with the Python extension
- PyCharm Community (free)
Create a virtual environment and install the required packages:
# 1. Create a virtual environment (do this once)
python -m venv agt-workshop
source agt-workshop/bin/activate # macOS / Linux
# agt-workshop\Scripts\activate # Windows PowerShell
# 2. Install packages
pip install agent-os-kernel agentmesh-platform agent-governance-toolkitVerify the install:
python -c "from agent_os.policies import PolicyEvaluator; print('✅ agent-os-kernel OK')"
python -c "from agentmesh import AgentIdentity; print('✅ agentmesh-platform OK')"
python -c "import agent_governance; print('✅ agent-governance-toolkit OK')"All three lines should print ✅ with no errors.
Clone or download the workshop lab files:
# Option A — clone the full repository
git clone https://github.com/microsoft/agent-governance-toolkit.git
cd agent-governance-toolkit/docs/workshop/labs
# Option B — download only the labs folder
# (ask your facilitator for a zip if git is unavailable)No prior knowledge of AI governance is required. You should be comfortable with:
- Running Python scripts from the command line (
python script.py) - Reading and editing Python files (variables, functions, dictionaries)
- Installing packages with
pip - Basic YAML syntax (key: value pairs, lists with
-)
Run this script to confirm everything is working:
python -c "
from agent_os.policies import PolicyEvaluator
e = PolicyEvaluator()
print('Policy engine:', type(e).__name__)
from agentmesh import AgentIdentity, RiskScorer
a = AgentIdentity.create(name='TestAgent', sponsor='you@example.com', capabilities=[])
print('Agent DID:', a.did)
from agentmesh.governance.audit import AuditLog
log = AuditLog()
print('Audit log:', type(log).__name__)
print()
print('All prerequisites satisfied. See you at the workshop!')
"Expected output (DIDs will differ):
Policy engine: PolicyEvaluator
Agent DID: did:mesh:...
Audit log: AuditLog
All prerequisites satisfied. See you at the workshop!
Open a discussion in the repository or contact your facilitator before the session.