You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This handbook defines His Majesty’s Courts and Tribunals Service (HMCTS) standards for developing and operating AI-powered agents, copilots, and automations. It aligns with the HMCTS Responsible Technology Principles, the Ministry of Justice (MoJ) security baseline, and cross-government AI guidance. All contributors must follow this guidance before enabling any agent (e.g., GitHub Copilot, OpenAI assistants, Anthropic Claude, Microsoft Copilot, bespoke GPTs) within HMCTS delivery environments.
1. Overview
Ensure every AI capability is operated within approved HMCTS environments and upholds legal, privacy, and security obligations.
Require full traceability: prompts, outputs, and deployment decisions must be attributable, reviewable, and auditable.
Embed responsible AI controls into everyday engineering practice, including this Playwright test project.
2. Agent Categories
Category
Description
Example Tools
Access Level
Code Agents
Accelerate delivery through code generation, refactoring, tests, and static analysis.
GitHub Copilot, OpenAI Assistants, Cursor AI
Engineering teams
Knowledge Agents
Summarise policy, surface documentation, and answer procedural queries.
ChatGPT Enterprise, Microsoft Copilot, Custom HMCTS GPTs
HMCTS staff
Operations Agents
Automate CI/CD, monitoring, incident triage, and infrastructure tasks.
Azure Copilot, GitHub Actions Bots, PagerDuty AI
DevOps / SRE
Domain Agents
Provide domain-specific reasoning (case management, analytics, accessibility).
Power Platform Copilot, bespoke MoJ GPTs
Business & Functional units
3. HMCTS Core Governance Principles
3.1 Security
Agents operate only on HMCTS-managed infrastructure (MoJ Cloud Platform, Azure, or accredited on-prem).
Never transmit restricted data, client materials, or live case details to public endpoints.
Secrets stored in Azure Key Vault or MoJ Key Management Service; environment variables redacted in prompts.
Apply HMCTS data classification, redaction, and prompt sanitisation before model submission.
All outbound model calls traverse approved Secure API Gateways; direct internet egress for agents is prohibited.
3.2 Privacy & Compliance
Comply with UK GDPR, Data Protection Act 2018, ISO 27001, and MoJ Security Policy.