Related problems
agent-toolchain-coexist— Agent 工具链全家桶能一起装吗?(17 工具 57 对实测兼容清单)claude-json-multi-tool— 多个工具都写 ~/.claude.json,一起装会冲突吗?(实测兼容)
Member of combos (1)
combo-governance-stack— 开发链路治理栈(agent-governance-toolkit + code-review-graph + herdr)
No conflict-matrix pairs for this tool yet.
# Agent Governance Toolkit — Agent Guide
name: agent-governance-toolkit | version_range: 4.1.0~4.1.0 | generated: 2026-08-27
title_en: AI Agent Governance Toolkit - Policy Enforcement, Zero-Trust Identity, Execution Sandbox | desc_en: Governance toolkit for AI agents: policy enforcement, zero-trust identity and sandboxed execution.
Preflight
note: Requires Python >= 3.10.
python3 --version
预期输出: see command output
Install
note: Three real paths. Method A (pip) verified; Method B ([full]) not tested; Method C (Claude Code plugin) not tested — not logged in.
Method A: pip
note: Use the Tsinghua mirror branch in mainland China when slow; direct command when connection works.
pip install agent-governance-toolkit
agt --version
预期输出: agt, version 4.1.0
note: Mainland China acceleration branch:
pip install agent-governance-toolkit --index-url https://pypi.tuna.tsinghua.edu.cn/simple
agt --version
预期输出: agt, version 4.1.0
Method B: [full] extras bundle
note: Full capability; more dependencies; not tested in this environment.
pip install agent-governance-toolkit[full]
agt doctor
预期输出: doctor shows 8/8 packages installed
Method C: Claude Code plugin marketplace
note: Official form; depends on Claude Code login environment; not tested; commands from official marketplace.json.
/plugin marketplace add https://github.com/microsoft/agent-governance-toolkit
/plugin install agent-governance-toolkit
预期输出: agent-governance-toolkit appears in the plugin list
Operations
View command list
agt --help
预期输出: starts with Usage: agt [OPTIONS] COMMAND [ARGS]..., includes verify/doctor/lint-policy/test/integrity/red-team/cred
Install health diagnosis
agt doctor
预期输出: AGT Doctor starts, lists installed packages and config paths
Policy file check
note: Governance core; verified in this environment.
agt lint-policy ./policies
预期输出: No issues found.(有格式问题时逐行报 error)
Compliance verification
note: OWASP ASI.
agt verify
预期输出: compliance check result (guidance prompt when no policy configured)
Uninstall
note: Method A/B → pip uninstall; Method C → /plugin remove inside Claude Code.
pip uninstall -y agent-governance-toolkit || true
command -v agt >/dev/null 2>&1 && echo "agt 仍存在(方式 C 安装请执行 /plugin remove agent-governance-toolkit)" || echo "agt removed: OK"
预期输出: agt removed: OK
Facts
writes: pip packages (Method A/B); Claude Code plugin config (Method C) | runtime: Python >= 3.10, pip | notes: no background process; [full] extras install many sub-packages (uninstall per FAQ); possible-conflict with omc in Claude plugin form (~/.claude.json, not tested)
Source: agent-governance-toolkit · validated 2026-08-27 · v4.1.0~4.1.0