Ownership, UK law
Who owns the code: employees, contractors, clients and old jobs
Updated
A company can license only the code it owns: in UK law that is code its employees wrote at work and code any contractor assigned to it in signed writing.
Code employees wrote
Section 11 of the Copyright, Designs and Patents Act 1988: where a work is made by an employee in the course of employment, the employer is the first owner of the copyright, subject to any agreement to the contrary. Code you wrote at a former job is that employer's, and aitrainer.work says the same on its own page.
Source: Copyright, Designs and Patents Act 1988, section 11 (read 28 October 2026)
Code contractors and agencies wrote
A contractor is not an employee, so the copyright starts with them. Section 90 says an assignment of copyright is not effective unless it is in writing signed by or on behalf of the person assigning it. Code a contractor wrote without a signed assignment is not yours to license.
Source: Copyright, Designs and Patents Act 1988, section 90 (read 28 October 2026)
Code you built for clients
An agency that wrote code for a client owns what its contract with that client leaves with it. Gramian takes only repositories a seller owns or is authorised to license, so a repository built for a client needs the client's contract read first.
Source: What codebase buyers ask for (read 2 November 2026)
Code written on your own time
Section 11 reaches only work made in the course of employment. Whether code written on your own time, with or without AI tools, falls outside it turns on your employment contract, which is the document to read before you offer it.
Source: Copyright, Designs and Patents Act 1988, section 11 (read 28 October 2026)