GxP & Validation · Deep Dive
GAMP 5 in modern software projects
Many treat GAMP 5 as a synonym for ponderous documentation. The guide itself demands the opposite: a risk-based approach, use of the supplier's work, and critical thinking instead of form-filling. This deep dive translates that into the practice of iterative, automated development.
- Reading time
- approx. 6 minutes
- Last reviewed
- August 2026
- For
- QA, Validation, CSV, Engineering
GAMP 5 has a reputation the guide does not deserve: ponderous, document-heavy, incompatible with modern development. In fact it demands the opposite – a risk-based approach, use of what the supplier has already tested, and critical thinking instead of form-filling. The reputation usually comes from the implementation, not from the guide.
1. What GAMP 5 is
GAMP 5 is an ISPE industry guide for validating computerised systems in a GxP environment. It is neither law nor a standard: regulators do not require “GAMP compliance” but controlled, documented processes. GAMP 5 is a widespread and recognised way of meeting that expectation – but it is guidance, not a rule.
The regulatory basis sits elsewhere: Annex 11 of the EU GMP guidelines, 21 CFR Part 11 and the respective national requirements. The deep dive software validation under GxP describes the process in detail.
2. The software categories
The best-known part is the classification into software categories. Their purpose is not classification for its own sake but deriving an appropriate level of effort:
| Category | Example | Focus of the evidence |
|---|---|---|
| Infrastructure | operating system, database, runtime | a qualified environment, version levels |
| Non-configured | standard product as delivered | intended use, supplier assessment |
| Configured | platform with project-specific configuration | test the configuration, do not re-prove standard functions |
| Bespoke | individually developed functionality | full evidence depth across the life cycle |
The practical consequence is substantial and often overlooked: the architecture decision directly influences the validation effort. What is expressed as configuration of a proven platform is evidenced differently – and usually more cheaply – than individually programmed logic. Build a lot yourself and you buy evidence work.
In short
The category is not a label but a cost decision. It is made in the architecture, not in the validation.
3. Risk-based instead of exhaustive
The second core idea: not every function is tested to the same depth. The measure is the impact on product quality, patient safety and data integrity. A workable approach in three steps:
- List the functions – at a granularity that can still be described in domain terms, not at method level.
- Assess the impact – what happens on malfunction, how likely is it, how reliably would it be detected?
- Assign the test depth – from “regular quality assurance” to “documented test cases including negative tests”.
What matters is recording this assignment beforehand. Test depths justified after the fact look like an excuse in any inspection.
4. Using the supplier’s work
GAMP 5 explicitly allows building on the supplier's activities instead of repeating everything – provided a supplier assessment shows those activities are sound. What counts:
- a traceable development process at the supplier,
- test evidence for standard functions,
- documented versioning and release processes,
- a defined way of handling defects and security vulnerabilities,
- availability of the documentation for an inspection.
For platform vendors that means: solid statements about your own process are worth more than marketing claims about compliance – they genuinely reduce the customer's effort.
5. Iterative working and the V-model
The V-model is ubiquitous in GAMP presentations, but it describes a relationship – every specification level has a corresponding test level – not a sequence in time. That relationship can be established iteratively just as well as sequentially.
What additionally has to be settled when working iteratively:
- From which point does a requirement count as “relevant to validation”?
- How are intermediate states handled that never go to production?
- When is the validation status updated – per release or in batches?
The answers belong in the validation plan. Settled there, iterative development is no contradiction to GAMP 5.
6. Automated tests as evidence
From a GAMP perspective automated tests are attractive: reproducible, logged, re-run on every change. For them to serve as evidence, though, three things have to be controlled:
- The test environment – known, versioned, documented.
- The test data – defined and traceably produced.
- The test tool itself – assessed for fitness; the effort for that again follows the risk.
Retention comes on top: a test run whose log disappears after 30 days is not evidence. See evidence by design.
7. Where AI-assisted development fits
An AI tool in development is first of all exactly that: a tool. It changes neither the category of the resulting software nor the scope of validation, because what ships is what ships – deterministic software. What has to be added are the questions from the deep dive AI and GxP: data flows, review duties, documentation of the tool's use.
It is different when a model influences GxP-relevant decisions at runtime. That is a separate and considerably more demanding question and deserves its own assessment.
Common mistakes
- Treating everything as bespoke and thereby re-proving standard functions.
- Skipping the supplier assessment and losing the relief GAMP 5 explicitly provides.
- Writing the risk assessment afterwards to justify the test depth already chosen.
- Reading the V-model as a schedule instead of as a mapping.
- Producing documents instead of evidence – confusing volume with quality.
Checklist: applying GAMP 5 in practice
- Software categories are assigned per system component and justified.
- The risk assessment precedes test planning, not the other way round.
- A supplier assessment exists and its results are used.
- Iterative working is settled in the validation plan, including how intermediate states are handled.
- Test environment, test data and tools are controlled and the logs are retained.
- The use of AI tools is governed and documented.
Conclusion
Applied correctly, GAMP 5 reduces effort rather than creating it: through categorisation, a risk basis and the use of what the supplier has already tested. The most common mistake is not too little documentation but too much – in the wrong places.
The most effective decision is made early and outside validation: the more a system uses configured, proven platform functionality, the smaller the part that has to be evidenced individually.
Sources & further standards
-
ISPE GAMP 5 (2nd edition)
Industry guide for risk-based validation of computerised systems, including software categories; available from ISPE. -
EudraLex Volume 4 – EU GMP guidelines
In particular Annex 11 “Computerised Systems” and Annex 15 “Qualification and Validation”; European Commission. health.ec.europa.eu -
21 CFR Part 11 – Electronic Records; Electronic Signatures
US Food and Drug Administration, version as published in the eCFR. www.ecfr.gov -
FDA-Leitlinie zu Computer Software Assurance
Regulatory guidance on a risk-based, inspection-oriented approach for production and quality system software; available from the FDA guidance database.
This article explains terms and relationships. It is neither a regulatory assessment nor legal advice. Which requirements apply to your system, and which evidence is needed, depends on the intended use, the applicable regulations and your quality management system.
Further reading
Related deep dives.
GxP & Validation
GxP software development: requirements, validation and traceability
Intended use, risk-based validation, audit trails, change control.
GxP & Validation
Software validation under GxP: what teams have to evidence
The concrete scope of evidence per risk class.
Platform
How CodamAI implements these steps
MCP integration, explicit backend models, the Hub, OpenAPI and your own CI/CD.
Does CodamAI fit your engineering setup?
The most honest way to find out is a technical conversation: about your stack, your delivery and the requirements you have to evidence.