Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Who Owns AI-Assisted Research Code or Designs?

Using AI to write research code or create designs does not automatically determine who owns them. Copyright protection, human contributions, institutional agreements, AI service terms, and third-party licenses may all affect the rights researchers can claim.

839
AI-Assisted Code and Design Ownership Guide 839 of 1196
01 · The Question

If AI Helps Write Your Research Code or Create a Design, Who Owns the Result?

You are developing software for a research project and use generative artificial intelligence to write functions, debug algorithms, or construct a data-processing pipeline. Perhaps you use an AI image generator to develop a scientific illustration, prototype interface, or engineering design.

The resulting work becomes an important part of your research. You may want to publish the code, deposit it in a repository, license it to other researchers, or commercialize the technology.

But who owns what AI helped create? Do you automatically hold the copyright because you supplied the prompts? Could your university claim the work? Does the AI provider retain rights, and can you legally distribute the generated material?

Answering these questions requires distinguishing ownership from copyright protection, contractual permissions, and the rights of third parties.

02 · The Short Answer

AI Assistance Does Not Automatically Establish Ownership

In Brief

Using AI to generate research code or designs does not automatically establish that the researcher, university, or AI provider owns the resulting work. The applicable rights depend on copyright law, the extent of human authorship, employment and institutional agreements, AI service terms, and any third-party intellectual-property rights.

AI-assisted works may contain copyright-protected human contributions, while purely AI-generated elements may lack copyright protection in jurisdictions requiring human authorship. Permission to use an AI output commercially is also not equivalent to having exclusive copyright or freedom from third-party licensing obligations.

03 · What You Need to Know

How Intellectual-Property Rights Apply to AI-Assisted Research Code and Designs

Research code and designs can involve different intellectual-property rights

Research software and technical designs may be protected through different legal mechanisms, depending on what has been created and the jurisdiction involved.

Copyright may protect original computer code, technical drawings, illustrations, and other forms of expression. Patent law may protect qualifying technical inventions. Trade secret law may protect certain confidential information, while contracts may govern access, use, ownership, and distribution.

These rights are not interchangeable.

Type of work or information Potential protection Important limitation
Research source code Copyright in original expression Copyright generally does not protect the underlying idea, algorithm, or method as such.
Scientific illustrations and graphical designs Copyright in qualifying original expression Human authorship requirements and other exclusions may limit protection.
Novel technical mechanisms or processes Patent protection where legal requirements are satisfied Patentability requires a separate assessment beyond ownership of code or drawings.
Confidential algorithms or technical know-how Trade secret protection where applicable requirements are met Protection may depend on maintaining secrecy through appropriate measures.
Research software developed under an institutional agreement Copyright and contractual rights The institution or another party may hold rights under applicable law or enforceable agreements.

For example, a researcher may hold rights in original source code without having exclusive rights to the mathematical method implemented by that code.

Similarly, owning a technical drawing does not automatically establish ownership of a patent covering the device depicted.

Can AI-generated research code receive copyright protection?

Potentially, but the answer depends on human authorship and the applicable jurisdiction.

In the United States, the Copyright Office has maintained that copyright protection requires human authorship. Its January 2025 report on copyrightability concluded that generative AI outputs may receive protection where a human author determines sufficient expressive elements.

Human-authored material incorporated into an AI-assisted work may be protected. Creative human modifications or arrangements may also qualify, depending on their nature.

However, merely supplying prompts does not necessarily establish copyright authorship of the resulting output.

This distinction matters for research code generated largely through conversational instructions.

A researcher who independently develops original program structure, writes substantial portions of the implementation, and creatively revises AI suggestions may have protectable human-authored contributions.

By contrast, a researcher who accepts a complete AI-generated script without meaningful human authorship should not automatically assume exclusive copyright protection over the generated expression.

The United States Copyright Office's position is jurisdiction-specific. Other countries may apply different statutory approaches to computer-generated works.

Does writing the prompt make you the copyright owner?

Not automatically.

A prompt may express the researcher's intentions, specifications, or desired functionality. However, specifying the outcome is not necessarily equivalent to authoring the expressive elements of the resulting code or design.

For example, asking an AI system to create a Python script that cleans survey data establishes the requested functionality. It does not necessarily mean the researcher determined the particular source-code expression produced by the system.

Similarly, requesting a scientific illustration showing a laboratory instrument does not automatically establish authorship of every visual element in the generated image.

The analysis becomes more nuanced when the researcher exercises substantial creative control, contributes original material, or meaningfully modifies the output.

Human authorship should be evaluated through the actual creative contribution rather than the number or complexity of prompts alone.

What if you substantially modify AI-generated code?

Human modifications may qualify for copyright protection if they contain sufficient original expression under the applicable law.

Suppose an AI system generates a preliminary data-analysis script. The researcher then restructures the program, writes original functions, develops a distinctive software architecture, and revises the implementation to support a particular research methodology.

Those human-authored contributions may be protectable even if some AI-generated material remains in the final program.

However, copyright protection does not necessarily extend to every element of the combined work.

Common programming patterns, functional requirements, mathematical principles, and other unprotectable elements may remain outside copyright protection.

The relevant question is not simply how many lines the researcher changed. It is whether the human contribution contains qualifying original expression.

Does the AI provider own the generated code or design?

Not automatically. The answer depends partly on the applicable service agreement.

Some AI providers state that they do not claim ownership of generated outputs or assign whatever rights they may have to users. However, these contractual provisions do not necessarily establish that the output is copyrightable or that the user possesses exclusive rights against everyone else.

GitHub, for example, states in its Copilot documentation that it does not claim ownership of suggestions. It also acknowledges that whether a suggestion can be owned depends on factors such as applicable law and the nature of the generated material.

The provider's position should not be confused with a legal determination that every suggestion is an original, copyright-protected work.

Researchers should also examine whether service terms permit commercial use, impose restrictions, or grant the provider licenses relating to submitted inputs and generated outputs.

These arrangements may differ between consumer services, institutional subscriptions, and enterprise agreements.

Can your university own AI-assisted research code?

Yes. A university may hold rights in research software under applicable law, employment arrangements, intellectual-property policies, sponsored research agreements, or assignments.

However, university ownership is not universal.

Different rules may apply to faculty research software, student projects, employee-developed systems, independently created software, and work produced under external funding.

For example, software developed as part of assigned employment duties may be subject to different ownership arrangements from software created independently outside those duties.

The use of university equipment or an institutional AI subscription may be relevant under particular agreements, but neither fact automatically determines ownership in every jurisdiction.

Researchers should review the applicable documents rather than relying on assumptions about academic freedom or the identity of the person who wrote the prompts.

Where the software implements a potentially patentable technical invention, ownership of the research invention may require an additional analysis separate from copyright in the source code.

Can AI-generated code infringe someone else's copyright?

Potentially. AI-generated code may resemble existing copyrighted software or incorporate material subject to third-party licensing conditions.

Similarity does not automatically establish infringement. The legal analysis depends on the nature and amount of protected expression, applicable exceptions, licensing arrangements, and other circumstances.

Nevertheless, researchers should not assume that generated code is free of intellectual-property obligations simply because it was produced by an AI system.

GitHub's Copilot documentation recognizes that generated suggestions may resemble existing code and provides mechanisms for identifying certain matching public-code references.

These mechanisms can support review, but they do not guarantee that all relevant third-party rights will be detected.

For research software intended for publication or commercialization, code review should include appropriate license-compliance checks alongside security and functional testing.

What happens when AI-generated code resembles open-source software?

Open-source software is not necessarily free from copyright restrictions. Its licenses grant permissions subject to particular terms.

Some licenses require preservation of copyright notices or attribution. Others impose conditions concerning redistribution, source-code availability, or derivative works.

If generated code reproduces protectable material from an existing project, the relevant license and legal obligations may need to be considered.

However, the mere resemblance of a short functional code fragment to an open-source implementation does not automatically establish that a license applies.

Researchers should assess the nature of the similarity and the applicable legal requirements.

When substantial matching code is identified, the safest practical response may be to investigate its provenance, examine the relevant license, and seek appropriate guidance before redistribution.

Can you release AI-assisted research code under an open-source license?

Often, yes, provided that you have the necessary rights and authority to license the material.

However, applying an open-source license does not create copyright ownership over material that is not legally protectable or that belongs to someone else.

A researcher may be able to license qualifying human-authored portions of a program while other elements remain subject to different rights or restrictions.

Institutional ownership policies may also require authorization before public release.

For example, a researcher cannot necessarily place university-owned software under a permissive license simply because the code repository is maintained through a personal account.

Before release, verify the rights holder, applicable third-party licenses, and any sponsor or institutional obligations.

Are AI-generated engineering designs treated the same as AI-generated code?

Not necessarily. Technical designs may involve copyright, patent rights, registered industrial designs, trade secrets, or combinations of these protections.

A two-dimensional engineering drawing may contain copyright-protected expression, while the functional device depicted may raise separate patent questions.

A graphical user interface may contain protectable visual expression without necessarily giving its creator exclusive rights to the underlying software functionality.

Similarly, an AI-generated product shape may require assessment under industrial-design law rather than copyright alone.

The relevant legal framework depends on what is being protected.

Researchers should distinguish the visual or textual representation of a design from the underlying technical invention.

The separate question of patentability of an AI-assisted technical invention becomes relevant when the design embodies a novel functional solution.

Does AI-assisted code ownership affect reproducibility or publication?

Potentially. Intellectual-property restrictions may determine whether researchers can publish source code, distribute executable software, or provide access to proprietary implementations.

A journal or funder may encourage code sharing, but researchers must still consider applicable licenses, confidentiality obligations, and institutional policies.

Where public release is restricted, alternative reproducibility arrangements may sometimes be possible, such as controlled access, detailed methodological documentation, or independently developed implementations.

These alternatives should not be presented as equivalent to unrestricted code availability.

Researchers should also document relevant AI assistance when required by the journal, institution, or funder. Such documentation supports transparency but does not itself resolve copyright ownership.

04 · A Practical Example

A Researcher Uses AI to Develop a Data-Analysis Application

Hypothetical Example

An AI-assisted application for analyzing educational data

A university researcher develops a software application for analyzing student engagement data. The researcher designs the analytical workflow and uses an AI coding assistant to generate preliminary Python functions and interface components.

Over several weeks, the researcher rewrites substantial portions of the code, develops original data-validation procedures, and integrates the components into a functioning application.

The researcher now wants to publish the software on GitHub under an open-source license.

Step 1: Identify the components and their origins The researcher reviews which portions were independently written, generated through AI assistance, adapted from existing libraries, or obtained from other sources.
Step 2: Examine human authorship The researcher identifies original expressive contributions, including the program's implementation and substantial revisions, without assuming that every AI-generated line is independently copyrightable.
Step 3: Review institutional ownership The researcher checks the university's intellectual-property policy and employment arrangements to determine whether public licensing requires institutional authorization.
Step 4: Check third-party licensing obligations The researcher examines imported libraries, reused code, and any identified similarities between generated suggestions and existing open-source implementations.
Step 5: Choose an appropriate release arrangement If the necessary rights and permissions are established, the researcher selects an appropriate software license, documents dependencies, and releases the application with accurate attribution and usage information.

The use of AI does not automatically prevent the researcher from releasing the application. However, the researcher must distinguish the right to use generated suggestions from the authority to license the complete software project.

The outcome may differ if the application was developed under a sponsored research agreement or contains proprietary institutional software.

05 · What Researchers Often Get Wrong

Common Misconceptions About AI-Generated Code and Design Ownership

Misconception

If AI Generated the Code, I Automatically Own Its Copyright

AI-generated material may lack copyright protection where legally sufficient human authorship is absent. Contractual permission to use an output does not automatically create exclusive copyright rights.

Misconception

If I Wrote the Prompt, I Am the Author of Everything Produced

Prompt authorship does not necessarily establish authorship of the generated expression. The relevant assessment concerns the human creative contributions to the resulting work.

Misconception

If the AI Provider Does Not Claim Ownership, Nobody Else Has Rights

A provider's ownership disclaimer does not eliminate third-party copyrights, open-source licensing obligations, institutional rights, or other applicable restrictions.

Misconception

Open-Source Code Has No Copyright

Open-source software generally remains subject to copyright and is distributed under licenses granting specified permissions. License terms may impose conditions on copying, modification, or redistribution.

Misconception

Publishing Code on GitHub Automatically Makes It Open Source

Making a repository publicly accessible does not necessarily grant others broad legal permission to reuse its contents. An appropriate license and authority to grant that license remain important.

Misconception

Owning the Source Code Means Owning the Underlying Invention

Copyright in code and patent rights in a technical invention are distinct. Ownership of a software implementation does not automatically establish exclusive rights to the method or technology it implements.

06 · What This Means for You

Establish Your Rights Before Publishing, Licensing, or Commercializing AI-Assisted Work

The practical starting point is to identify what you want to do with the code or design.

Using software internally for research may raise different questions from distributing it publicly, selling licenses, or incorporating it into a commercial product.

Ownership, permission to use, and permission to redistribute should be assessed separately.

A simple decision framework

If AI generated only small portions of a larger human-authored program
Identify the protectable human contributions and check relevant service terms and third-party licensing obligations.
If most of the code or design was generated by AI
Avoid assuming exclusive copyright protection and assess whether sufficient human authorship exists under applicable law.
If the work was developed under university employment or sponsored research
Review institutional and contractual ownership requirements before publishing or licensing the work.
If the software includes third-party libraries or potentially matching generated code
Conduct appropriate license and provenance checks before redistribution.
If the design implements a commercially valuable technical invention
Seek intellectual-property advice about patent, design, copyright, and confidentiality rights before public disclosure.

Researchers should also consider whether the work contains unpublished technical information that should not be submitted to external AI services.

The confidentiality of unpublished research inventions can be relevant even when the immediate task involves writing code or generating a design.

For commercially sensitive projects, institutional restrictions on AI use may determine which tools and deployments are authorized.

Watch Out

Do not assume that permission to use an AI-generated output means you can claim exclusive copyright, disregard open-source licenses, or independently commercialize institutionally owned research software. These are separate legal questions requiring separate verification.

07 · A Quick Checklist

Before Releasing or Commercializing AI-Assisted Research Code or Designs

Before distribution or licensing, check:
Identify which parts of the code or design were human-authored, AI-generated, or obtained from third parties.
Review the applicable AI service terms concerning ownership, output use, commercial rights, and restrictions.
Determine whether the human contributions qualify for copyright protection under the relevant jurisdiction's law.
Review employment agreements, university intellectual-property policies, and sponsored research contracts.
Check third-party libraries, reused code, and potentially matching AI suggestions for applicable license obligations.
Confirm that the person or institution releasing the work has authority to grant the intended license.
Distinguish copyright in source code or drawings from patent rights in underlying technical inventions.
Verify whether confidential research information or commercially sensitive features require protection before publication.
Maintain proportionate records of relevant human contributions, AI assistance, dependencies, and licensing decisions.
08 · Frequently Asked Questions

Frequently Asked Questions About AI-Assisted Code and Design Ownership

Do I own Python code generated by ChatGPT for my research?

You may have contractual permission to use the output, but that does not automatically establish exclusive copyright ownership. Copyrightability depends on applicable law and human authorship, while institutional and third-party rights may also matter.

Does GitHub Copilot own the code it suggests?

GitHub states that it does not claim ownership of Copilot suggestions. However, it also recognizes that whether suggestions can be owned depends on applicable intellectual-property law and other circumstances. Third-party rights and licensing obligations may still apply.

Can my university own code I developed with AI?

Yes, depending on applicable law and enforceable employment, institutional, or sponsored research agreements. Using a personal AI account or writing the prompts yourself does not necessarily override those arrangements.

Can I copyright an AI-generated scientific illustration?

Potentially, to the extent the work contains legally sufficient human-authored expression. In the United States, purely AI-generated expressive material without qualifying human authorship is not protected merely because a person requested it.

Can I publish AI-generated research code under the MIT License?

Possibly, if you have authority to license the relevant material and comply with applicable third-party rights. Applying the MIT License does not create copyright in otherwise unprotectable material or eliminate institutional ownership obligations.

Can AI-generated code violate an open-source license?

Potentially. If generated output incorporates protected material subject to licensing obligations, redistribution may require compliance with those terms. Similarity alone does not automatically establish infringement, so the circumstances must be evaluated.

Does modifying AI-generated code make the entire program mine?

Not necessarily. Original human modifications may qualify for protection, but they do not automatically establish exclusive rights over every other component of the program. Third-party and institutional rights may remain relevant.

Can I sell software that I developed using generative AI?

Potentially. Commercialization depends on the applicable service terms, ownership arrangements, third-party licenses, and other legal requirements. Researchers should verify that they have the necessary rights before selling or licensing the software.

09 · The Bottom Line

Using AI Does Not Automatically Give You Exclusive Rights to Research Code or Designs

The Bottom Line

Ownership of AI-assisted research code or designs depends on applicable intellectual-property law, qualifying human contributions, institutional and contractual arrangements, and third-party rights. AI assistance alone neither establishes exclusive ownership nor automatically prevents lawful use, licensing, or commercialization.

Before releasing or commercializing AI-assisted work, determine what rights actually exist, who holds them, and which permissions are required. A clear record of human contributions, AI-generated material, and software dependencies can make those decisions more defensible.

10 · Sources and Further Reading

Authoritative Sources on AI-Generated Code, Copyright, and Licensing

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes