You are helping an enterprise architect design an AI agent governance framework that establishes oversight models, approval workflows, audit requirements, and compliance mappings for autonomous AI agent programs.
User Input
$ARGUMENTS
Instructions
Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.
Identify the context: The user should specify:
- Project name/number or agent ID
- Scope of governance (single agent, multi-agent system, or full program)
- Applicable regulatory frameworks (if known)
Read Available Documents:
MANDATORY (warn if missing):
- AAGI (Agent Inventory) — Extract: Agent list, capabilities, risk levels
- If missing: warn user to run
$arckit-agent-inventory first
- AAGR (Agent Design) — Extract: Design patterns, decision-making autonomy, integration points
- If missing: warn user to run
$arckit-agent-design first
RECOMMENDED (read if available, note if missing):
- PRIN (Architecture Principles) — Extract: Governance principles, human oversight requirements
- If missing: warn user to run
$arckit-principles first
- BORD (Board Review) — Extract: Board-approved policies, risk appetite, compliance mandates
- If missing: note that board context is limited
Read the template (with user override support):
- First, check if
.arckit/templates-custom/agent-governance-template.md exists in the project root
- If found: Read the user's customized template (user override takes precedence)
- If not found: Read
.arckit/templates/agent-governance-template.md (default)
- Then, read
.arckit/templates/_partials/RENDERING.md and resolve the template's <!-- DOC-CONTROL-HEADER --> marker to the Document Control partial it selects, applying the ${organisation_name} and ${default_classification} substitutions. Remove the marker and its comment from the output — a rendered artefact must never contain either.
Tip: Users can customize templates with $arckit-customize agent-governance
Read external documents and policies:
- Read any regulatory requirements in
projects/000-global/external/ — extract compliance frameworks, governance standards, audit mandates
- Read any existing governance policies in
projects/{project-dir}/governance/ — extract current oversight models, approval hierarchies
- If no governance context found, ask: "Please provide governance requirements or confirm this is a new governance framework. I can work with minimal context to generate a baseline framework."
Read agent inventory and design:
- From AAGI: Extract all agents, their risk classifications, capabilities, and operational domains
- From AAGR: Extract decision-making patterns, autonomy levels, and integration architectures
- If AAGI/AAGR not available: ask user for agent details and risk assessments
Generate governance framework:
A. Oversight Model Design
Define oversight tiers based on risk assessment:
- Tier 1 (Human-in-the-loop): For critical decisions affecting safety, compliance, or significant business impact
- Tier 2 (Human-on-the-loop): For routine operations with continuous monitoring and intervention capability
- Tier 3 (Human-out-of-the-loop): For fully automated, auditable tasks with post-facto review
For each agent, assign oversight tier based on:
- Risk classification (Critical, High, Medium, Low)
- Decision domain (safety, financial, operational, informational)
- Regulatory requirements (specific mandates for human oversight)
- Historical performance and reliability data
B. Approval Matrix
Design approval workflows by risk tier:
- Critical: Named person + Board approval, formal sign-off, documented rationale
- High: Team lead approval with director oversight, time-bound SLAs
- Medium: System-level automated approval with human monitoring
- Low: Fully automated with anomaly detection and escalation triggers
Define SLAs, escalation paths, and delegation authorities for each tier.
C. Audit Requirements
Establish audit program with three layers:
- Full audit (Quarterly): Comprehensive review of all agent actions, decisions, and outcomes
- Spot check (Weekly): Random sample of outputs for quality assurance
- Security audit (Monthly): Focused review of security-relevant actions and access patterns
Define scope, retention periods, and reporting requirements for each audit type.
D. Monitoring KPIs
Define measurable indicators for governance effectiveness:
- Approval rate: Percentage of automated decisions approved without modification
- Escalation rate: Percentage of decisions requiring human escalation
- Mean time to audit: Average time from action to audit completion
- Compliance score: Percentage of regulatory requirements met
- Oversight response time: Average time for human oversight to respond to escalations
E. Escalation Procedures
Design escalation workflow:
- Low-risk anomaly: Log, continue operation, schedule review
- Medium-risk: Notify human monitor, increased logging, short-term watch
- High-risk: Halt operations, escalate to incident response, notify stakeholders
- Critical: Immediate halt, emergency procedures, regulatory notification
F. Incident Response Plan
Define incident response lifecycle:
- Detection: Automated monitoring triggers and thresholds
- Containment: Isolation procedures and scope limitation
- Assessment: Impact analysis and root cause identification
- Resolution: Fix deployment and verification
- Post-mortem: Root cause analysis, preventive measures, timeline
G. Compliance Mapping
Map governance framework to applicable regulatory frameworks:
- UK AI Playbook: Risk-based approach, human oversight, transparency
- EU AI Act: Risk categories, conformity assessment, post-market monitoring
- NIST AI RMF: Govern, Map, Measure, Manage functions with specific controls
For each framework, identify specific requirements, compliance status, and evidence sources.
Risk Assessment:
Identify governance risks:
- HIGH: No human oversight for critical decisions, missing audit trails, regulatory non-compliance
- MEDIUM: Inadequate escalation procedures, insufficient monitoring coverage, audit gaps
- LOW: Documentation inconsistencies, minor process gaps, reporting delays
Generate Governance Document:
Create comprehensive governance framework with:
- Executive summary of oversight model and compliance status
- Detailed oversight assignments and justification
- Approval matrix with SLAs and escalation paths
- Audit program with schedules and retention policies
- Monitoring KPIs with targets and current baselines
- Escalation procedures with decision trees
- Incident response plan with timelines
- Compliance mapping with evidence
- Traceability links to upstream documents
CRITICAL - Auto-Populate Document Control Fields:
Before completing the document, populate ALL document control fields in the header:
Construct Document ID:
- Document ID:
ARC-{PROJECT_ID}-AAOV-v{VERSION} (e.g., ARC-001-AAOV-v1.0)
Populate Required Fields:
Auto-populated fields (populate these automatically):
[PROJECT_ID] → Extract from project path (e.g., "001" from "projects/001-project-name")
[VERSION] → "1.0" (or increment if previous version exists)
[DATE] / [YYYY-MM-DD] → Current date in YYYY-MM-DD format
[DOCUMENT_TYPE_NAME] → "Agent Governance Framework"
ARC-[PROJECT_ID]-AAOV-v[VERSION] → Construct using format above
[COMMAND] → "arckit.agent-governance"
User-provided fields (extract from project metadata or user input):
[PROJECT_NAME] → Full project name from project metadata or user input
[OWNER_NAME_AND_ROLE] → Document owner (prompt user if not in metadata)
- Classification → comes from the resolved Document Control header, not from a placeholder.
_partials/RENDERING.md fixes the ladder from the artefact's own regime; ${default_classification} applies only where that regime falls through to user config.
Calculated fields:
[YYYY-MM-DD] for Next Review → Current date + 90 days (quarterly review cycle)
Pending fields (leave as [PENDING] until manually updated):
[REVIEWER_NAME] → [PENDING]
[APPROVER_NAME] → [PENDING]
[DISTRIBUTION_LIST] → Default to "Agent Governance Board, Compliance Team, Architecture Team" or [PENDING]
Populate Revision History:
| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-agent-governance` command | [PENDING] | [PENDING] |
Populate Generation Metadata Footer:
The footer should be populated with:
**Generated by**: ArcKit `$arckit-agent-governance` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]
Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the AAOV per-type checks pass. Fix any failures before proceeding.
Quality Checks:
Verify the governance framework meets minimum standards:
- ≥3 oversight tiers defined with clear criteria
- Approval matrix covers ≥3 risk tiers with specific approvers
- Audit requirements define frequency, scope, and retention
- ≥3 monitoring KPIs with measurable targets
- Escalation procedures cover low, medium, and high risk scenarios
- Incident response plan includes all phases (detection through post-mortem)
- Compliance mapping covers ≥2 regulatory frameworks
- Traceability links established to AAGI and AAGR documents
Write output:
projects/{project-dir}/ARC-{PROJECT_ID}-AAOV-v1.0.md - Full governance framework
- Update traceability matrix with governance references
CRITICAL - Show Summary Only:
After writing the file, show ONLY a brief summary with key governance metrics (oversight tiers assigned, compliance status, pending approvals). Do NOT output the full governance document content in your response.
Example Usage
User: $arckit-agent-governance research-agent
You should:
- Read AAGI (agent inventory) for research-agent project
- Read AAGR (agent design) for design patterns and autonomy levels
- Generate oversight model:
- ✅ Tier 1 assigned to AGT-001 (Critical - financial decisions require human approval)
- ✅ Tier 2 assigned to AGT-002 (High - operational decisions with monitoring)
- ✅ Tier 3 assigned to AGT-003 (Medium - automated data processing)
- Generate approval matrix with 4 risk tiers and specific approvers
- Define audit program: quarterly full audits, weekly spot checks, monthly security audits
- Establish KPIs: approval rate >95%, escalation rate <5%, audit completion <24h
- Map to UK AI Playbook (Req IDs), EU AI Act (Annex requirements), NIST AI RMF (Functions)
- Status: GOVERNANCE FRAMEWORK ESTABLISHED
- Key findings:
- ✅ 3 oversight tiers defined with agent assignments
- ✅ Approval matrix covers all risk levels
- ✅ Compliance mapping to 3 frameworks (2 with partial compliance)
- Write to
projects/001-research-agent/ARC-001-AAOV-v1.0.md
Important Notes
- Governance is a LIVING framework — review and update quarterly or after significant agent changes
- Be thorough on regulatory compliance (gaps are BLOCKING for deployment)
- All oversight decisions must reference specific agent capabilities and risk assessments
- Human oversight requirements increase with agent autonomy and decision impact
- Audit trails must be immutable and cryptographically verifiable
- Compliance evidence must be traceable to specific governance controls
- Escalation procedures must be tested regularly (drill schedule recommended)
- Governance framework feeds into agent security requirements — handoff to
$arckit-agent-security after completion
- Markdown escaping: When writing less-than or greater-than comparisons, always include a space after
< or > (e.g., < 5% escalation rate, > 95% approval) to prevent markdown renderers from interpreting them as HTML tags or emoji
Suggested Next Steps
After completing this command, consider running:
$arckit-agent-security -- Align security controls with governance requirements
1---2name: arckit-agent-governance3description: Design AI agent governance — oversight models, approval workflows, audit requirements, compliance mapping4---56You are helping an enterprise architect design an AI agent governance framework that establishes oversight models, approval workflows, audit requirements, and compliance mappings for autonomous AI agent programs.78## User Input910```text11$ARGUMENTS12```1314## Instructions1516> **Note**: Before generating, scan `projects/` for existing project directories. For each project, list all `ARC-*.md` artifacts, check `external/` for reference documents, and check `000-global/` for cross-project policies. If no external docs exist but they would improve output, ask the user.17181. **Identify the context**: The user should specify:19 - Project name/number or agent ID20 - Scope of governance (single agent, multi-agent system, or full program)21 - Applicable regulatory frameworks (if known)22232. **Read Available Documents**:2425 **MANDATORY** (warn if missing):26 - **AAGI** (Agent Inventory) — Extract: Agent list, capabilities, risk levels27 - If missing: warn user to run `$arckit-agent-inventory` first28 - **AAGR** (Agent Design) — Extract: Design patterns, decision-making autonomy, integration points29 - If missing: warn user to run `$arckit-agent-design` first3031 **RECOMMENDED** (read if available, note if missing):32 - **PRIN** (Architecture Principles) — Extract: Governance principles, human oversight requirements33 - If missing: warn user to run `$arckit-principles` first34 - **BORD** (Board Review) — Extract: Board-approved policies, risk appetite, compliance mandates35 - If missing: note that board context is limited3637 **Read the template** (with user override support):38 - **First**, check if `.arckit/templates-custom/agent-governance-template.md` exists in the project root39 - **If found**: Read the user's customized template (user override takes precedence)40 - **If not found**: Read `.arckit/templates/agent-governance-template.md` (default)41 - **Then**, read `.arckit/templates/_partials/RENDERING.md` and resolve the template's `<!-- DOC-CONTROL-HEADER -->` marker to the Document Control partial it selects, applying the `${organisation_name}` and `${default_classification}` substitutions. Remove the marker and its comment from the output — a rendered artefact must never contain either.4243 > **Tip**: Users can customize templates with `$arckit-customize agent-governance`44453. **Read external documents and policies**:46 - Read any **regulatory requirements** in `projects/000-global/external/` — extract compliance frameworks, governance standards, audit mandates47 - Read any **existing governance policies** in `projects/{project-dir}/governance/` — extract current oversight models, approval hierarchies48 - If no governance context found, ask: "Please provide governance requirements or confirm this is a new governance framework. I can work with minimal context to generate a baseline framework."49504. **Read agent inventory and design**:51 - From AAGI: Extract all agents, their risk classifications, capabilities, and operational domains52 - From AAGR: Extract decision-making patterns, autonomy levels, and integration architectures53 - If AAGI/AAGR not available: ask user for agent details and risk assessments54555. **Generate governance framework**:5657 ### A. Oversight Model Design5859 Define oversight tiers based on risk assessment:60 - **Tier 1 (Human-in-the-loop)**: For critical decisions affecting safety, compliance, or significant business impact61 - **Tier 2 (Human-on-the-loop)**: For routine operations with continuous monitoring and intervention capability62 - **Tier 3 (Human-out-of-the-loop)**: For fully automated, auditable tasks with post-facto review6364 For each agent, assign oversight tier based on:65 - Risk classification (Critical, High, Medium, Low)66 - Decision domain (safety, financial, operational, informational)67 - Regulatory requirements (specific mandates for human oversight)68 - Historical performance and reliability data6970 ### B. Approval Matrix7172 Design approval workflows by risk tier:73 - **Critical**: Named person + Board approval, formal sign-off, documented rationale74 - **High**: Team lead approval with director oversight, time-bound SLAs75 - **Medium**: System-level automated approval with human monitoring76 - **Low**: Fully automated with anomaly detection and escalation triggers7778 Define SLAs, escalation paths, and delegation authorities for each tier.7980 ### C. Audit Requirements8182 Establish audit program with three layers:83 - **Full audit** (Quarterly): Comprehensive review of all agent actions, decisions, and outcomes84 - **Spot check** (Weekly): Random sample of outputs for quality assurance85 - **Security audit** (Monthly): Focused review of security-relevant actions and access patterns8687 Define scope, retention periods, and reporting requirements for each audit type.8889 ### D. Monitoring KPIs9091 Define measurable indicators for governance effectiveness:92 - **Approval rate**: Percentage of automated decisions approved without modification93 - **Escalation rate**: Percentage of decisions requiring human escalation94 - **Mean time to audit**: Average time from action to audit completion95 - **Compliance score**: Percentage of regulatory requirements met96 - **Oversight response time**: Average time for human oversight to respond to escalations9798 ### E. Escalation Procedures99100 Design escalation workflow:101 - Low-risk anomaly: Log, continue operation, schedule review102 - Medium-risk: Notify human monitor, increased logging, short-term watch103 - High-risk: Halt operations, escalate to incident response, notify stakeholders104 - Critical: Immediate halt, emergency procedures, regulatory notification105106 ### F. Incident Response Plan107108 Define incident response lifecycle:109 - Detection: Automated monitoring triggers and thresholds110 - Containment: Isolation procedures and scope limitation111 - Assessment: Impact analysis and root cause identification112 - Resolution: Fix deployment and verification113 - Post-mortem: Root cause analysis, preventive measures, timeline114115 ### G. Compliance Mapping116117 Map governance framework to applicable regulatory frameworks:118 - **UK AI Playbook**: Risk-based approach, human oversight, transparency119 - **EU AI Act**: Risk categories, conformity assessment, post-market monitoring120 - **NIST AI RMF**: Govern, Map, Measure, Manage functions with specific controls121122 For each framework, identify specific requirements, compliance status, and evidence sources.1231246. **Risk Assessment**:125126 Identify governance risks:127 - **HIGH**: No human oversight for critical decisions, missing audit trails, regulatory non-compliance128 - **MEDIUM**: Inadequate escalation procedures, insufficient monitoring coverage, audit gaps129 - **LOW**: Documentation inconsistencies, minor process gaps, reporting delays1301317. **Generate Governance Document**:132133 Create comprehensive governance framework with:134 - Executive summary of oversight model and compliance status135 - Detailed oversight assignments and justification136 - Approval matrix with SLAs and escalation paths137 - Audit program with schedules and retention policies138 - Monitoring KPIs with targets and current baselines139 - Escalation procedures with decision trees140 - Incident response plan with timelines141 - Compliance mapping with evidence142 - Traceability links to upstream documents143144---145146**CRITICAL - Auto-Populate Document Control Fields**:147148Before completing the document, populate ALL document control fields in the header:149150**Construct Document ID**:151152- **Document ID**: `ARC-{PROJECT_ID}-AAOV-v{VERSION}` (e.g., `ARC-001-AAOV-v1.0`)153154**Populate Required Fields**:155156*Auto-populated fields* (populate these automatically):157158- `[PROJECT_ID]` → Extract from project path (e.g., "001" from "projects/001-project-name")159- `[VERSION]` → "1.0" (or increment if previous version exists)160- `[DATE]` / `[YYYY-MM-DD]` → Current date in YYYY-MM-DD format161- `[DOCUMENT_TYPE_NAME]` → "Agent Governance Framework"162- `ARC-[PROJECT_ID]-AAOV-v[VERSION]` → Construct using format above163- `[COMMAND]` → "arckit.agent-governance"164165*User-provided fields* (extract from project metadata or user input):166167- `[PROJECT_NAME]` → Full project name from project metadata or user input168- `[OWNER_NAME_AND_ROLE]` → Document owner (prompt user if not in metadata)169- **Classification** → comes from the resolved Document Control header, not from a placeholder. `_partials/RENDERING.md` fixes the ladder from the artefact's own regime; `${default_classification}` applies only where that regime falls through to user config.170171*Calculated fields*:172173- `[YYYY-MM-DD]` for Next Review → Current date + 90 days (quarterly review cycle)174175*Pending fields* (leave as [PENDING] until manually updated):176177- `[REVIEWER_NAME]` → [PENDING]178- `[APPROVER_NAME]` → [PENDING]179- `[DISTRIBUTION_LIST]` → Default to "Agent Governance Board, Compliance Team, Architecture Team" or [PENDING]180181**Populate Revision History**:182183```markdown184| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-agent-governance` command | [PENDING] | [PENDING] |185```186187**Populate Generation Metadata Footer**:188189The footer should be populated with:190191```markdown192**Generated by**: ArcKit `$arckit-agent-governance` command193**Generated on**: {DATE} {TIME} GMT194**ArcKit Version**: {ARCKIT_VERSION}195**Project**: {PROJECT_NAME} (Project {PROJECT_ID})196**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]197**Generation Context**: [Brief note about source documents used]198```199200---201202Before writing the file, read `.arckit/references/quality-checklist.md` and verify all **Common Checks** plus the **AAOV** per-type checks pass. Fix any failures before proceeding.2032048. **Quality Checks**:205206 Verify the governance framework meets minimum standards:207 - ≥3 oversight tiers defined with clear criteria208 - Approval matrix covers ≥3 risk tiers with specific approvers209 - Audit requirements define frequency, scope, and retention210 - ≥3 monitoring KPIs with measurable targets211 - Escalation procedures cover low, medium, and high risk scenarios212 - Incident response plan includes all phases (detection through post-mortem)213 - Compliance mapping covers ≥2 regulatory frameworks214 - Traceability links established to AAGI and AAGR documents2152169. **Write output**:217 - `projects/{project-dir}/ARC-{PROJECT_ID}-AAOV-v1.0.md` - Full governance framework218 - Update traceability matrix with governance references219220 **CRITICAL - Show Summary Only**:221 After writing the file, show ONLY a brief summary with key governance metrics (oversight tiers assigned, compliance status, pending approvals). Do NOT output the full governance document content in your response.222223## Example Usage224225User: `$arckit-agent-governance research-agent`226227You should:228229- Read AAGI (agent inventory) for research-agent project230- Read AAGR (agent design) for design patterns and autonomy levels231- Generate oversight model:232 - ✅ Tier 1 assigned to AGT-001 (Critical - financial decisions require human approval)233 - ✅ Tier 2 assigned to AGT-002 (High - operational decisions with monitoring)234 - ✅ Tier 3 assigned to AGT-003 (Medium - automated data processing)235- Generate approval matrix with 4 risk tiers and specific approvers236- Define audit program: quarterly full audits, weekly spot checks, monthly security audits237- Establish KPIs: approval rate >95%, escalation rate <5%, audit completion <24h238- Map to UK AI Playbook (Req IDs), EU AI Act (Annex requirements), NIST AI RMF (Functions)239- **Status**: GOVERNANCE FRAMEWORK ESTABLISHED240- **Key findings**:241 - ✅ 3 oversight tiers defined with agent assignments242 - ✅ Approval matrix covers all risk levels243 - ✅ Compliance mapping to 3 frameworks (2 with partial compliance)244- Write to `projects/001-research-agent/ARC-001-AAOV-v1.0.md`245246## Important Notes247248- Governance is a LIVING framework — review and update quarterly or after significant agent changes249- Be thorough on regulatory compliance (gaps are BLOCKING for deployment)250- All oversight decisions must reference specific agent capabilities and risk assessments251- Human oversight requirements increase with agent autonomy and decision impact252- Audit trails must be immutable and cryptographically verifiable253- Compliance evidence must be traceable to specific governance controls254- Escalation procedures must be tested regularly (drill schedule recommended)255- Governance framework feeds into agent security requirements — handoff to `$arckit-agent-security` after completion256- **Markdown escaping**: When writing less-than or greater-than comparisons, always include a space after `<` or `>` (e.g., `< 5% escalation rate`, `> 95% approval`) to prevent markdown renderers from interpreting them as HTML tags or emoji257258## Suggested Next Steps259260After completing this command, consider running:261262- `$arckit-agent-security` -- Align security controls with governance requirements