What it is and what it is for
It is the policy that sets how your engineering team uses AI coding assistants: which tools are approved, which secrets, data and code must not go into them, how generated code is reviewed and what limits apply to agent modes. It also covers licensing and ownership of generated code, work for clients and third parties, security and metrics-based oversight.
It is an instrument of the “Policy” kind (policies and internal rules). What they are: Rules your organization approves and staff follow: what is allowed, what is not and who decides.
Value: what it brings to the company
What changes in practice when your company has it and uses it.
- It reduces the risk of keys, credentials or confidential code ending up in an external tool.
- It sets human review of generated code, which keeps quality and security in the team's hands.
- It clarifies the licensing and ownership of generated code, which matters when you deliver software to clients.
- It sets limits on agent modes, which can make changes on their own in the code or the environment.
- It lets you track use with metrics and adjust the rules as the team learns.
Which companies, who uses it and who is accountable
Three different questions: which companies it is for, who uses it day to day and who answers for it to management.
- Which companies
- Engineering teams using AI coding assistants.
- Who uses it day to day
- Engineering, security, IT and legal
- Who is accountable
- IT; Chief Technology Officer
- Type of instrument
- Policy · Policies and internal rules
- Area
- Governance
- Document length
- about 5 pages
Detail, for those who need it
Its contents, where a law requires it or a guide recommends it, with each provision, and its value as evidence. Each block opens on its own.
What it contains or should contain
The sections of the reference version, titles only. Use them as a guide to what your instrument should cover, even if you write it your own way.
Framework and tools
What it solves: Why it exists, what it covers, which terms it uses and which tools are approved.
- Purpose
- Scope
- Definitions
- Approved tools
Data, uses and licensing
What it solves: What must not go into the assistant, which uses are allowed and who owns the code.
- Secrets, data and confidential code
- Allowed and prohibited uses
- Licensing and ownership of code
Review, clients and agents
What it solves: How code is reviewed, what applies with clients and third parties and what limits agent modes have.
- Human review and quality
- Clients and third parties
- Agent modes
Security, training and metrics
What it solves: What to do about incidents, how the team is trained and how use is measured.
- Security and incidents
- Training
- Oversight and metrics
Exceptions and review
What it solves: How exceptions are approved, what happens when the rules are not followed and when it is reviewed.
- Exceptions and non-compliance
- Review
Laws and regulations: what they require and where
What a legislature or regulator issues with the force of law, from the registry provisions that link this instrument. A law almost never requires a document by name: it requires a duty. Each provision is read in one of two ways, never added up: as the main instrument (the provision asks for what this instrument documents) or only as support (it helps with a related duty but is not the main instrument to document it). Spain includes what comes from the EU, and each US state what comes from the federal level.
No law in the registry names it. The registry is not exhaustive: this does not mean that no law asks for something similar.
Frameworks and good practices: where it is recommended
Authority guides and criteria, voluntary frameworks and baseline good-management rules. They are not binding by themselves: they say where it is recommended (recommended) and in which cases it is worth having (desirable).
Recommended: authority guides and voluntary frameworks
SpainAn authority recommends it
- AEPD AI guides: Internal generative AI use policy · Regulator guidance · supporting
Desirable: baseline good-management rules
“Coding assistants need their own rules on approved plans, secrets, licenses and human review of generated code.”
When: use of AI: Code is written with AI help
Value as evidence
What an instrument can contribute if your company has to explain what it did to an authority, a customer or a court.
It can serve as evidence of diligence and good faith in an audit, a complaint or an investigation, because it leaves a dated record of which coding assistants were approved, under which rules on secrets, licensing and review, and which incidents were recorded.
Its value depends on it being applied for real, on the governing law and on the facts of each case. An approved document that is not followed, or that records a problem left unaddressed, can count against you; and what you write can be requested by an authority or in litigation. For sensitive documents (bias assessments, incidents), ask an attorney how to prepare and keep them. It is not legal advice and not a substitute for the advice of an attorney.
How to get it
Do it with your team using this page: the sections above are the guide to what it should cover, and its value and the rules tell you what for and why.
Or start from the already drafted document: see it in AI Policy Generator (opens an external site) (paid)
Provisions last checked on October 31, 2026 · Registry data: version 1.0.1, as of November 20, 2026