Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

📚 Tutorials

Step-by-step guides for every layer of the Agent Governance Toolkit — from your first policy rule to production-grade observability. Each tutorial includes runnable code examples, API reference tables, and cross-references to related guides.

New here? Start with Tutorial 01 — Policy Engine, then follow the numbered sequence. Each tutorial builds on concepts from earlier ones.


Core Governance

# Tutorial What You'll Learn Package
01 Policy Engine YAML rules, operators, conflict resolution, middleware integration agent-os-kernel
02 Trust & Identity Ed25519 credentials, DIDs, SPIFFE/SVID, trust scoring (0–1000) agentmesh-platform
03 Framework Integrations Govern LangChain, CrewAI, AutoGen, OpenAI Agents, Google ADK agent-os-kernel
04 Audit & Compliance Append-only audit logs, hash chains, OWASP ASI mapping agent-governance-toolkit

Policy & Security

# Tutorial What You'll Learn Package
07 MCP Security Gateway Tool poisoning detection, parameter sanitization, human-in-the-loop agent-os-kernel
08 OPA/Rego & Cedar Policies External policy backends, 3 evaluation modes, enterprise policies agent-os-kernel
09 Prompt Injection Detection 7 attack types, MemoryGuard, ConversationGuardian, red-teaming agent-os-kernel

Runtime & Execution

# Tutorial What You'll Learn Package
05 Agent Reliability (SRE) SLOs, error budgets, circuit breakers, chaos testing agent-sre
06 Execution Sandboxing 4-tier privilege rings, resource limits, termination control agentmesh-runtime
11 Saga Orchestration Multi-step transactions, DSL, fan-out, compensating actions agentmesh-runtime
12 Liability & Attribution Vouching, slashing, causal attribution, quarantine agentmesh-runtime
14 Kill Switch & Rate Limiting Emergency termination, rate limiting, ring elevation agentmesh-runtime

Trust & Networking

# Tutorial What You'll Learn Package
16 Protocol Bridges A2A, MCP proxy, IATP attestation, trust-gated communication agentmesh-platform
17 Advanced Trust & Behavior Behavior monitoring, reward engine, trust policies, shadow mode agentmesh-platform

Ecosystem

# Tutorial What You'll Learn Package
10 Plugin Marketplace Plugin signing, verification, CLI, supply-chain security agentmesh-marketplace
13 Observability & Tracing Causal traces, event bus, Prometheus, OpenTelemetry agentmesh-runtime
=======
10 Plugin Marketplace Plugin signing, verification, CLI, supply-chain security agentmesh-marketplace
13 Observability & Tracing Causal traces, event bus, Prometheus, OpenTelemetry agentmesh-runtime

bfb3bcb (fix: rename PyPI package agentmesh-runtime to agentmesh-runtime to resolve name collision) | 15 | RL Training Governance | GovernedRunner, PolicyReward, Gym-compatible environments | agentmesh-lightning | | 18 | Compliance Verification | Governance grading, regulatory frameworks, attestation | agent-governance-toolkit |

Multi-Language SDKs

# Tutorial What You'll Learn Package
19 .NET SDK GovernanceKernel, policy, rings, saga, SLO, OpenTelemetry in C# Microsoft.AgentGovernance
20 TypeScript SDK Identity, trust, policy, audit in TypeScript/Node.js @agentmesh/sdk

Learning Paths

🚀 "I want to govern my agent in 10 minutes"

  1. 01 — Policy Engine → define allow/deny rules
  2. 03 — Framework Integrations → wrap your framework
  3. 04 — Audit & Compliance → log everything

🔒 "I need production-grade security"

  1. 02 — Trust & Identity → cryptographic agent identity
  2. 09 — Prompt Injection Detection → input security
  3. 07 — MCP Security Gateway → tool call security
  4. 06 — Execution Sandboxing → privilege rings
  5. 14 — Kill Switch & Rate Limiting → emergency controls

🏢 "I need enterprise compliance"

  1. 08 — OPA/Rego & Cedar → bring existing policies
  2. 04 — Audit & Compliance → tamper-proof audit trails
  3. 18 — Compliance Verification → regulatory grading
  4. 13 — Observability & Tracing → distributed tracing

🤖 "I'm building multi-agent systems"

  1. 02 — Trust & Identity → agent credentials
  2. 16 — Protocol Bridges → cross-protocol communication
  3. 11 — Saga Orchestration → multi-step workflows
  4. 12 — Liability & Attribution → who's responsible
  5. 17 — Advanced Trust & Behavior → dynamic trust

Prerequisites

  • Python 3.10+ for Python tutorials (01–18)
  • .NET 8.0+ for the .NET tutorial (19)
  • Node.js 18+ for the TypeScript tutorial (20)

Install the full toolkit:

pip install agent-governance-toolkit[full]    # Python
dotnet add package Microsoft.AgentGovernance  # .NET
npm install @agentmesh/sdk                    # TypeScript

More Resources