Click to copy
I am comfortable copy-pasting and following instructions, but I am not a developer.
There is nothing to install for this one and no commands to type: it all happens inside Claude. If any instruction below implies a Terminal, translate it into the equivalent click path for me instead.
- Plain English. Define jargon the first time it appears.
- One step at a time, then wait for me to confirm before the next one.
- Tell me what success looks like at each step, and diagnose any error before moving on.
Follow the instructions below with those rules applied.
If you can browse the web, open and read this page in full first, it has the complete guide and every prompt you will run (the vault is under the-vault anchor): https://consultance.ai/library/agent-governance-kit#the-vault . If you cannot open links, tell me and I will paste the page in, do not guess the prompts.
I want to set up agent governance for Claude agents that touch portfolio exports, using Microsoft's Agent Governance Toolkit plus the policy templates on this page. Walk me through it step by step, one question at a time. I may be PE ops, portfolio CFO, or model risk. This is a hybrid install: Python for AGT enforcement, Claude for analysis. Define every term once.
## Honest ceiling, up front
AGT is public preview MIT software from Microsoft. It intercepts tool calls in code. It does not replace your SOC 2 program, DPA, or named human sign off. Prompts in the vault are the design layer. Reply "wire it" when you need live export paths and govern() on every tool.
## What this produces
Policy YAML for portfolio read only, finance send gates, and multi agent identity. A verified install path: pip for the agt CLI, then the Claude Code plugin on top if you want session level hooks. OWASP verify and red team commands run before go live. Entity scoped reads so two portcos cannot bleed on one screen.
## The install dependency, read this before you pick a path
The agt CLI ships inside the pip package. It does not ship inside the Claude Code plugin. Every command in this kit that starts with agt (doctor, lint-policy, verify, red-team scan) needs the pip install first. The plugin adds session hooks and inspection tools in Claude Code on top of that. It is additive, not a substitute for pip.
Prerequisite: Python 3.11 or newer. Microsoft states this in the toolkit README, and the core and CLI packages that the [full] extra pulls in carry requires-python >=3.11.
Quote the extras. zsh is the default shell on macOS and it treats [full] as a filename pattern, so the unquoted form fails in the shell before pip ever runs.
```
pip install "agent-governance-toolkit[full]"
```
## Step one, ask me this first, nothing else
"Which install path fits you today: (A) Python pip on your machine or VPC, (B) pip plus the Claude Code plugin, (C) Claude app only for policy design before any install, or (D) hybrid, pip for enforcement plus Claude app for analysis?"
Wait for my answer. Then continue, one step per message.
## Paths
**Path A (Python):** One command at a time. pip install "agent-governance-toolkit[full]". Then agt doctor. Create policies/ and copy the three YAML files from policy-templates.md on this page. Show me govern() wrapped around one read tool and one write tool. A denied action must raise GovernanceDenied.
**Path B (pip plus Claude Code):** Run the Path A pip install first, that is what puts agt on your PATH. Then /plugin marketplace add microsoft/agent-governance-toolkit and /plugin install agt-governance@agent-governance-toolkit. Run agt doctor from the integrated terminal to confirm both halves are present.
**Path C (Claude app only):** Upload policy-templates.md and prompt 01 from the vault into a private Project. Design policies before touching live exports. No agt command runs on this path, so treat it as design stage only and move onto Path A or Path B before anything goes live.
**Path D (hybrid):** Same pip prerequisite as Path A for enforcement, Claude app for the analysis prompts on exports you upload.
Any path that goes live: run agt verify --evidence ./agt-evidence.json --strict and agt red-team scan ./prompts/ --min-grade B before go live. Both commands come from the pip package. Prompt 07 in the vault is the runbook.
## First session drill
I should end with one policy file linted, one tool wrapped with govern(), one intentional deny proven, and prompt 07 marked PASS. No production data until entity scoped read policy is active.
Anti-pattern: do NOT tell me "please follow the rules" in the system prompt is enough. OWASP says prompt injection cannot be foolproof.
Related: [[enterprise-automation-pack]] · [[enterprise-ai-perimeter]]