Under Russian law, rights in AI-written code arise only for a human whose creative work shows in it: the author is a citizen whose creative labour created the work (Articles 1228 and 1257 of the Civil Code), so an AI model cannot be one. Code from a one-line prompt may well be unprotected; if you designed the architecture, wrote the specs and selected and rewrote the output, your position is much stronger. AI providers claim no rights in outputs, but none promises protection.
This guide is for developers outside Russia who built an app, SaaS, game or Telegram bot with Cursor, Claude Code, Lovable, Bolt or Replit (vibe coding) and plan to sell to Russian users directly or through a company in Kazakhstan.
Who owns AI-written code under Russian law
Programs are protected as literary works, including source code, object code and preparatory materials (Articles 1259 and 1261), with no registration required. Ideas, methods and programming languages are not, so you own the code, not the functionality.
There is no special rule on AI code. Supreme Court Plenum Resolution No. 10 of 23 April 2019 (para. 80) says creativity does not depend on whether a work was made by hand or with technical means, but output produced by technology without human creative activity is not a copyright work.
Case law is thin. In case No. A40-200471/2023 the courts treated a deepfake as an editing tool and recognised the scriptwriters and camera crew as authors; the Intellectual Property Court upheld this in August 2024. Conversely, as ComNews reported in August 2026, Moscow's Presnensky District Court held that AI-modified versions of the Mona Lisa and a Statue of Liberty photo were not copyright works: commanding a program to apply a known idea is not a creative contribution. The claimant appealed; we have not found the outcome.
From 1 March 2027, Article 10 of Federal Law No. 243-FZ on AI requires providers of large foundation models to tell users who owns rights in the results, but sets no protectability test. The US Copyright Office took a similar line in January 2025: prompts alone are not enough.
How to prove your human contribution
Para. 110 of the same resolution notes there is no closed list of evidence of authorship. For code, use the development trail:
- architecture decisions, data model and specs stored in the repository;
- exported agent chats showing concrete decisions, not a single request;
- git history with your own commits, reviews and rewrites;
- pull requests and tracker tasks for integration and testing.
What AI tool terms say about code ownership
Terms cannot make code protectable but do show whether the provider claims it. As of October 2026:
| Service and terms | Rights in output | Watch out for |
|---|---|---|
| Cursor, 3 Sep 2026 | assigns its rights, if any | output may match other users'; no training competing models |
| Claude consumer plans, 8 Oct 2025 | assigns its rights, if any, subject to compliance | no competing products or models |
| Claude API and business plans, 17 Jun 2025 | customer owns outputs | defence against third-party IP claims for paid use, with exclusions |
| OpenAI, 1 Jan 2026 | user owns output | output may not be unique |
| GitHub Copilot, section J, 27 Apr 2026 | no ownership claimed | may resemble open-source code; licence checks are on you |
Access matters too. Russia is not on Anthropic's supported regions list, and the version of that policy effective 12 November 2026 also excludes entities majority-owned or controlled by persons in unsupported regions, which may catch a Kazakh company owned by Russian residents. Russia is not on OpenAI's API country list, and GitHub states that Copilot may not be exported to Russia without authorisation. As Anthropic's assignment depends on compliance with its terms, breaching regional limits risks your account and, in our view, the assignment.
Open-source licences an agent can pull in
Copilot can block suggestions matching public GitHub code or show them with licence details; GitHub says matches occur in under one percent of suggestions, and code hosted elsewhere is not checked.
Russian law treats open licences, including share-alike terms, as adhesion contracts, and the licensor may terminate if you pass on rights on other terms (Article 1286.1). Key risks:
- GPL v3: distributing the program (store app, desktop, game build) means licensing the whole work under GPL; network interaction without a copy is not distribution;
- AGPL v3: a modified version must offer its source to users interacting with it over a network, which hits SaaS;
- dependencies the agent installed: check package.json, requirements.txt and lock files.
Export an SPDX SBOM from GitHub's dependency graph and run ScanCode Toolkit, license-checker or pip-licenses before release.
Securing rights before you sell in Russia or via Kazakhstan
Pick the entity that will sell, for example your Kazakh LLP, and move all rights to it. An assignment of exclusive rights must be in writing or it is void, and a paid assignment without a price is treated as not concluded (Articles 1234 and 1285). A freelancer who personally wrote the code keeps the rights unless the contract expressly assigns them (Articles 1288 and 1296(5)). The exclusive right in employee code belongs to the employer if it was written within job duties (Article 1295).
Registering the program with Rospatent is optional (Article 1262). Rospatent checks the filing, not authorship, but registry data is presumed accurate until proven otherwise. The state duty is 5,000 rubles and the standard term is 62 working days; later transfers must also be registered. Foreign companies and individuals living outside Russia deal with Rospatent through a registered Russian patent attorney (Article 1247(2)).
Keep closed source as know-how with confidentiality measures (Article 1465) and protect the product name with a trade mark. From 1 January 2027, Federal Law No. 296-FZ extends industrial design protection to visual displays for human interaction with a program, so a distinctive interface may be patentable.
Pre-launch checklist
- Store specs and a decisions log in the repository and export agent chats.
- Review the terms, plan and regional limits of every AI tool.
- Generate an SBOM, scan licences and remove GPL and AGPL from closed code.
- Get written assignments with a price from co-founders and freelancers to the selling entity.
- Fix the date with a notary or Rospatent registration.
- File a trade mark and assess the interface for a 2027 design patent.
Common mistakes
- No written assignment from a co-founder or freelancer: the author keeps the rights and can claim compensation of 10,000 to 10,000,000 rubles (Article 1301).
- An assignment without a price: not concluded, so nothing transfers.
- Relying on "you own the output" in AI terms: it only means the provider will not claim it.
- GPL or AGPL in a closed product: the licensor may terminate, leaving you to open the code or rewrite parts.
- Using a tool from an unsupported region: a blocked account takes your prompt history with it.
We check these points before release, not after the first complaint.
Frequently asked questions
Can an AI be listed as a co-author? No. Only a citizen can be an author under the Russian Civil Code, so contracts and Rospatent filings name people.
Is my code protected if I only wrote prompts? It depends on their content. Detailed specs plus selecting and editing output support authorship; a one-line request does not, and there is no case law on code yet.
Do I have to register the program in Russia? No, rights arise without registration. Registration creates a presumption that helps in deals and disputes.
Can I sell a vibe-coded product or raise investment? Yes, if one entity holds all rights under written contracts. Buyers will ask who wrote the code and which AI tools and licences were used.
How GPR can help
As part of our turnkey launch for vibe-coded projects, we audit who wrote the code and with which AI tools. We build the chain of title from co-founders, freelancers and employees to your selling entity in Russia or Kazakhstan, draft assignments and NDAs, and review dependency licences with your developer. We prepare the program registration with Rospatent and the trade mark application, working with a registered patent attorney where the law requires one, and assess your interface for a design patent. Describe your project in the form below, add a demo link and tell us where and how you want to get paid.
This material is for general information and is not individual legal advice. Applicability depends on the facts and changes with the law, so please confirm the position before acting.
