Agent guide ✓ 实测验证

agent-governance-toolkit — Agent Guide

本页内嵌 #trove-entity JSON(本条目全量结构化数据);全库数据见 /agent/trove.json。

Version4.1.0~4.1.0Categorygate
Verified2026-08-27Conflictsoh-my-claudecode: Possible conflict (inferred)
Installpip install agent-governance-toolkit && agt --version

Related problems

Member of combos (1)

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

← Agent index