Defra AI Tool Guidance
Version 1.1
This repository contains guidance for the use of artificial intelligence (AI) tools within the Department for Environment, Food & Rural Affairs (Defra) and its associated organisations.
What you’ll get from this guidance
You’ll learn how to:
- choose the right AI tool for your work
- handle data safely when using AI
- follow privacy and compliance requirements
- configure tools with best practice settings
Use only approved AI tools
You must only use AI tools that appear in this guidance. This guidance contains vetted and approved tools for use across Defra.
Why we have approved tools
Using approved tools helps ensure:
- compliance with government security standards
- data protection requirements are met
- tools work effectively within Defra’s technical environment
AI tools by approval status
Approved
These tools are approved for use within Defra when you follow the tool guidance advice.
- Amazon Q for Developers - Summary • Detailed guide
- AWS Bedrock - Summary • Detailed guide
- Azure AI Foundry - Summary • Detailed guide
- Cursor - Summary • Detailed guide
- GitHub Copilot - Summary • Detailed guide
Approved with restrictions
You may use these AI tools, but be cautious about what data you share. You must not enter or share anything that is not already published in the public domain.
- ChatGPT - Summary • Detailed guide
- Google Gemini - Summary • Detailed guide
Under review
These tools are not currently approved for use. We are reviewing them for potential approval, but cannot commit to if or when this might happen.
- Aider - Summary • Detailed guide
- Claude - Summary • Detailed guide
- Claude Code - Summary • Detailed guide
- JetBrains AI Assistant - Summary • Detailed guide
- Windsurf - Summary • Detailed guide
AI playbooks and further guidance
- AI Insights: AI Coding Assistants for developers in HMG - guidance for using AI coding assistants within HMG
- Artificial Intelligence Playbook for the UK Government - overarching principles for adopting AI across UK government services
- Defra AI in the SDLC playbook - a practical resource for adopting AI-enabled workflows, including tool use and prompt libraries
Contributing
Read our contributing guidelines to help improve this guidance.