Contents
- An NDA keeps shared code, data, and prompts confidential, but it never transfers IP ownership.
- Purely AI-generated output has no U.S. copyright, so contracts and trade secret law must protect it.
- Contractors own their work by default; only a signed, present-tense assignment moves it to you.
- Map every AI layer, from weights to embeddings and logs, and ban vendor training on your data.
Key Takeaways
AI development IP ownership and NDA terms decide who controls your code, models, and outputs. An NDA protects what you share; only a signed IP assignment makes you the owner. Purely AI-generated output cannot be copyrighted in the U.S., because copyright requires a human author.
Founders and CTOs often discover this gap during investor due diligence. You can pay a contractor or AI development company in full yet lack title. Payment alone does not transfer IP, and standard NDAs rarely cover new work from pilots.
This guide shows who owns each AI layer and which clauses close NDA gaps. Our guide to an NDA for a mobile app idea covers the basics. This is general U.S. information, not legal advice, so have counsel review any agreement.
Who Owns AI-Generated Output Under U.S. Law?
U.S. law protects AI-assisted work only where a person made real creative choices, per the Copyright Office. Patents and trade secrets follow their own rules, and the points below show where each line falls.
- Human authorship requirement: The U.S. Copyright Office registers only works with a human author, so fully AI-generated material is unprotected.
- Thaler v. Perlmutter: A federal court in D.C. upheld the Copyright Office’s refusal to register an AI-authored work in 2023. The D.C. Circuit affirmed that ruling in 2025.
- Meaningful human contribution: AI-assisted output can be protected when a person substantially selects, arranges, or modifies it. A prompt alone is generally not enough, and copyright covers only the human-authored portions.
- Public domain risk: Purely AI-generated material may fall into the public domain. Others may then be free to reuse it.
- AI cannot be a patent inventor: U.S. patents require a natural person as inventor, as Thaler v. Vidal confirmed. USPTO guidance now requires a significant human contribution to the invention’s conception.
- Trade secret fallback: The Defend Trade Secrets Act (DTSA) has no human-creation requirement, so unprotected code can still qualify. Only confidentiality preserves that status, and an open shared drive or public AI tool can end it.
- Records of human involvement: Commit history, design documents, and code review logs show where people made the decisions in AI software development. These records help defend later copyright or patent claims.
Because the law leaves these gaps, your contracts carry most of the weight. The next question is who holds the contract rights by default.
Who Owns a Custom AI Model You Pay to Build?
Paying for a custom AI model does not make you its owner; the builder’s legal relationship to you decides. U.S. law treats employees and outside builders very differently. The table shows the default owner in each situation and what changes it.

| Situation | Default owner with no contract | What secures it for you |
|---|---|---|
| An employee builds it within their job | Your company, as “work made for hire” under 17 U.S.C. § 101 | An invention assignment clause, since work made for hire does not cover patents |
| A freelancer or independent contractor builds it | The contractor | A signed, present-tense written assignment |
| An AI development company builds it | The company, which owns its engineers’ work | An assignment from the company to you, flowed down from its subcontractors |
| Augmented staff work inside your sprints | Each contractor, even on your tools and repositories | An individual assignment signed before the first commit |
| Your team uses an AI coding tool | Set by the tool’s terms; pure AI output may have no owner | A review of output terms and records of human edits |
| Co-founders build before incorporation | Each founder personally | An assignment of pre-incorporation code and models to the company |
- Payment is not a transfer: Paying in full does not move IP rights to you. Only a signed writing does.
- Present-tense wording: “Hereby assigns” transfers rights as the work is created. “Agrees to assign” only promises a future transfer.
- Teams outside the U.S.: Work made for hire is a U.S. legal concept. For offshore or nearshore teams, an explicit assignment is the safer route.
- Subcontractors and AI tools: Require your vendor to obtain equivalent assignments from anyone it uses. Ask it to disclose which AI coding tools touch your code.
- Coding assistant terms: Some tools, such as GitHub Copilot, state in their terms that suggestions belong to the user. Read each tool’s terms, because they set your rights to inputs and outputs.
Our comparison of an AI development company vs. a freelancer covers the wider trade-offs. Ownership is only half of the contract. Confidentiality is the other half, and that is the NDA’s job.
Get Custom AI Built Under a Signed NDA
Space-O Technologies signs an NDA before kickoff. All source code, data, and IP move to you at completion, with milestone payments tied to deliverables.

What Does an NDA Protect, and What Doesn’t It?
An NDA protects the trade secrets, data, prompts, and code you share, but it does not transfer ownership. Confidentiality and ownership are separate legal jobs. Treating one as the other is a common gap in AI projects.

- Confidentiality is not ownership: An NDA controls who may see and use information. An IP assignment agreement decides who owns the resulting work.
- New IP from early collaboration: Standard NDAs rarely address ownership of new IP from brainstorming, an AI app discovery workshop, or pilots. Settle those terms in the NDA or a separate document before collaboration starts.
- Foreground and background IP: Foreground IP is the new work created in your project, and background IP is what each party brought. Assign the foreground to you and license the background.
- Hidden IP grabs: Some NDAs carry license or assignment language that favors the party who drafted them. Read every NDA for ownership terms before you sign.
- No default joint ownership: Silence on ownership can leave both parties with unclear or shared claims. Allocate every deliverable in writing instead.
- Chatbot breaches: Pasting information received under an NDA into a public AI chatbot is likely a breach. Your team and your vendor’s team both need that rule.
- High-level first calls: A first conversation about goals and budget rarely needs an NDA. Sign one before you share code, data, prompts, or business plans.
Where standard NDAs fall short on AI
Most NDAs were written before AI tools sat inside development workflows, so they miss how AI providers handle your information. McKinsey’s State of AI research tracks how organizations manage AI-related risks. The eight gaps below are the ones to close first.
- “Third party” left undefined: Traditional NDAs rarely say whether AI providers, cloud hosts, or subcontractors count as third parties. Your data may reach them without a technical breach.
- Prompts outside the definition: Many confidential-information definitions list documents and code but not prompts or AI outputs. Prompts often hold your most sensitive business logic.
- Training on your inputs: AI vendors may retain inputs or use them to train models. Your code, data, and prompts could end up shaping someone else’s model.
- Broad “business purpose” language: Loose purpose wording may let a vendor argue that fine-tuning on your data is permitted. The permitted purpose must exclude model training.
- Carve-outs for derived data: Carve-outs for “feedback,” “service improvement,” or “aggregated or de-identified” data can let vendors learn from your records. Training a new model on your model’s outputs can sidestep deliverable clauses in the same way.
- Return-or-destroy blind spots: Standard deletion clauses cover files, not prompt logs, embeddings, model weights, or derived datasets. Those artifacts can outlive the contract.
- Blanket “no AI” clauses: A total ban on AI tools can make an NDA unworkable in daily practice. A common compromise bars public generative AI tools and allows controlled enterprise-grade systems.
- Zero data retention left unstated: Some AI API providers offer zero-data-retention settings. Your NDA can require them for any tool that touches confidential data.
Our guide to AI agent security best practices covers the wider technical controls. With the gaps named, the next step is deciding which document fixes each one.
Which Clauses Belong in the NDA Versus the Development Agreement?
Confidentiality terms belong in the NDA; ownership and licensing terms belong in a standalone IP assignment or development agreement. A separate assignment keeps ownership in force if the NDA expires or ends. It also avoids conflicting terms in your master services agreement (MSA) or statement of work (SOW). An AI app development contract checklist helps you review both.

| Clause | Where it lives | What it does |
|---|---|---|
| Expanded confidential-information definition | NDA | Covers prompts, embeddings, model weights, outputs, and derived data |
| Covered recipients | NDA | Binds AI providers and sub-processors as named recipients |
| Training-use prohibition | NDA and development agreement | Bars the vendor and its AI providers from training on your code, data, or prompts |
| Pre-collaboration IP terms | NDA or a separate pre-pilot agreement | Allocates new IP from discovery, brainstorming, or pilots |
| Present-tense assignment | Standalone IP assignment | Uses “hereby assigns” instead of relying on work-for-hire wording alone |
| Output ownership with a caveat | Development agreement | Grants all rights the law recognizes, plus contractual ownership where copyright may not attach |
| Background license, foreground assignment | Development agreement | Assigns new work to you and licenses the vendor’s reusable tooling perpetually |
| Sub-processor and tool disclosure | Development agreement | Lists every AI provider, cloud host, and subcontractor, with a right to object |
| Certified deletion at termination | NDA and development agreement | Deletes prompt logs, embeddings, RAG databases, and retained models, confirmed in writing |
| Audit rights | Development agreement | Lets you verify data-handling and deletion terms on reasonable notice |
| Model-extraction and distillation ban | Development agreement | Stops any party from extracting, copying, or distilling your model, weights, or outputs |
| Infringement indemnification | Development agreement | Covers claims from the vendor’s work, including models trained on infringing data |
Here is a sample present-tense assignment, for discussion with your counsel only:
“Developer hereby assigns to Client all right, title, and interest in the Deliverables as they are created. This includes all intellectual property rights. Where a Deliverable is not protectable by copyright, Developer assigns to Client all contractual rights and control in it. Developer will obtain equivalent written assignments from its personnel and subcontractors.”
Clauses decide ownership on paper. Where your data and models physically run decides how much risk those clauses must carry.
How Do Public and Private LLMs Change Ownership Risk?
Public large language models (LLMs) weaken exclusivity, while private or enterprise deployments give you more defensible IP. A public tool runs on someone else’s infrastructure, under someone else’s terms. Open-source code and third-party data add separate license risks.
- Public consumer tools: Free and consumer chat tools may retain inputs under their own terms. Samsung employees exposing confidential code to ChatGPT is the case most guides cite.
- Enterprise APIs with zero data retention: Enterprise API terms with zero data retention limit what the provider stores from your traffic. Confirm the training opt-out in the provider’s terms before confidential data flows.
- Private, VPC, or on-premises models: Models in your own virtual private cloud (VPC) or data center keep weights and logs under your control. That control is easier to defend as a trade secret.
- Sub-processors behind the provider: API providers often rely on their own sub-processors. Require a list for any provider that touches your data.
- Copyleft snippets: AI-generated code can reproduce GPL or AGPL snippets. Those licenses can require you to release source code, so scan components before release.
- Data provenance: Training data without clear rights can expose you to infringement claims. Gartner lists lineage and trusted sources among the requirements for AI-ready data, so record where each dataset came from. Sound data management for AI app development makes that record routine.
Each of these choices changes the default owner and protection of a different layer. The matrix below puts every layer in one place.
AI Asset Ownership Matrix: Who Owns Each Layer?
An AI build is a stack of assets, and each one has its own default owner, protection, and security clause. Hiring a developer does not automatically give you every layer. The matrix shows each layer’s default under U.S. law when no contract exists.

| Asset | Default holder with no contract | Protection available | Clause that secures it | Verify at handover and termination |
|---|---|---|---|---|
| Developer-written code | The contractor or development company | Copyright | Present-tense assignment to you | Full repository and commit history transferred |
| AI-assisted code | The contractor for human-authored parts; pure AI parts may have no owner | Copyright for human parts; trade secret and contract for the rest | Assignment of all rights, plus contractual ownership of AI-generated parts | Records showing human review and edits |
| Third-party base model or API | The model provider | Third-party license | Disclosure of every model used and its license terms | Licenses held in your company’s name |
| Fine-tuned weights | Unclear; subject to the base model license | Trade secret and contract | Assignment of weights and an exclusivity commitment | Weights delivered; developer copies deleted |
| Training and fine-tuning datasets | The owner of the underlying data; a compilation may belong to whoever built it | Trade secret and contract | Your data stays yours; built datasets assigned to you | Datasets returned; certified deletion of copies |
| Prompts and system instructions | Whoever wrote them | Trade secret and contract | Prompts defined as confidential and assigned to you | Prompt library and versions delivered |
| RAG index and vector embeddings | Unclear; derived from your data | Contract only | Embeddings defined as confidential and derived from your data | Index exported; developer copies deleted |
| Generated outputs | Often no copyright owner; tool terms apply | Contract and trade secret | Output ownership with a statutory caveat | Tool terms reviewed for output rights |
| Developer’s background IP and tooling | The developer | Copyright and trade secret | Perpetual license to background IP inside your product | List of background components in the deliverable |
| Open-source components | Each component’s licensor | Its open-source license only | Disclosure of every component, with no GPL or AGPL code without approval | Component and license list delivered |
| Prompt and inference logs | Whoever runs the infrastructure or API | Contract only | Retention limits and deletion at termination | Written deletion certificate |
One limit applies to every row: an assignment cannot create copyright the law withholds. A contract can give you control, exclusivity, and confidentiality over pure AI output. It cannot make that output copyrightable, so trade secret practice protects the rest.
- Base model limits: You license a base model; you do not own it. Our guide to prebuilt vs custom AI models covers how that shapes derived work.
- Data versus model: Owning training data never implies owning the model trained on it. Your contract must address each one separately.
- Embeddings and logs: Embeddings and logs derive from your documents and inputs. Name them in the deletion clause, or they can survive a standard return-or-destroy clause.
- Background license scope: A developer’s reusable libraries usually stay with the developer. Your license must let you run, change, and sell the product without the original team.
With the layers mapped, the remaining choice is how you engage the team that builds them.
Confirm Every AI Layer Before You Sign
We can map code, weights, prompts, and embeddings to written assignments before work starts. Share your project scope, and we will outline which layers your contract must cover.
How Do Engagement Models Compare on IP and Confidentiality?
Every engagement model needs the same written NDA and assignment; what changes is where ownership gaps tend to appear. Buyers often assume a dedicated team or staff augmentation changes who owns the work. It does not, because anyone outside your payroll is still a contractor.
Space-O Technologies offers four engagement models: Dedicated Team, Time & Material, Fixed Cost, and Staff Augmentation. Under each one, we sign an NDA before starting a project. All source code, data, and IP built during the project transfer to you at completion. We do not train models on client data, and we mask personally identifiable information (PII) in AI workflows. Since 2010, we have served 1,200+ clients and built 300+ software solutions with 140+ in-house developers.
| Engagement model | Who directs daily work | Main IP watch-out | What to confirm in writing |
|---|---|---|---|
| Dedicated Team | Typically you, through a team focused on your product | Vendor tooling mixed into long-running work | A background IP list and a perpetual license |
| Time & Material | Shared, as scope evolves | Work outside the original SOW left unassigned | An assignment covering all work as created, not only listed deliverables |
| Fixed Cost | The vendor, against a fixed scope | Deliverables defined too narrowly | A deliverables list naming weights, prompts, embeddings, and configurations |
| Staff Augmentation | You, inside your own sprints | Contractors treated as if they were employees | Individual assignments signed before the first commit |
Whichever model you choose, the checklist below covers what to confirm before signing.
Pre-Signing Checklist for an AI Vendor Engagement
Before you sign with an AI vendor, confirm these points in writing so ownership never rests on assumptions. Most ownership disputes trace back to one unchecked item. Work through this list with your counsel.

- NDA signed first: The NDA is signed before you share code, data, prompts, or business plans.
- Assignment in place: A standalone, present-tense assignment covers every layer in the matrix.
- Training ban written: The vendor and its AI providers may not train on your data. The clause leaves no carve-outs for feedback or de-identified data, so your information stays off training sets.
- Tools disclosed: The vendor lists every AI tool, model, sub-processor, and subcontractor that touches your project.
- Accounts in your name: Repositories, hosting, domains, cloud accounts, and API keys sit in your company’s name.
- Open-source scan done: A component and license list confirms there is no unapproved GPL or AGPL code.
- Exit terms set: Weights, prompt libraries, embeddings, and configurations transfer at handover, with certified deletion of vendor copies.
Are you hiring a developer, or building in-house? Either way, we can map which layers your contract must cover before work starts. Share your AI project scope with Space-O Technologies and get a clear view of your ownership terms.
Frequently Asked Questions
Why do investors check who holds title to a startup’s AI code and models?
Ownership gaps in AI code and models tend to surface during investor due diligence. The company, not individual founders or contractors, should hold title to the core IP. Contractors keep their work by default unless a signed written assignment transfers it. Co-founders who built before incorporation need to assign that work to the company.
Can you patent an AI?
Not as an inventor: no AI system can be listed on a U.S. patent, so the real question is what your people contributed. A patent is only realistic when a named person helped conceive the invention. That is why design documents and review logs matter at filing time. Where that bar is not met, as is common with fine-tuned weights, rely on trade secret and contract instead.
Can AI-generated content be copyrighted?
Only the parts a person shaped. If someone on your team substantially selected, arranged, or modified the output, protect and document those parts. If content came from a prompt, treat it as unprotected and secure it through contract and confidentiality. The D.C. Circuit’s 2025 ruling in Thaler v. Perlmutter leaves little room to argue otherwise.
What should happen to prompts, embeddings, and logs when a project ends?
The developer should delete them and confirm the deletion in writing. Standard return-or-destroy clauses cover files, not prompt logs, embeddings, RAG databases, or model weights. Name each artifact in the contract. Set retention limits and deletion at termination. Have weights, prompt libraries, and embeddings delivered to you before the vendor’s copies are deleted.
What can an NDA realistically control when an AI tool touches my data?
An NDA controls who sees and uses your information, but it cannot create or transfer ownership. Drafted for AI, it can name AI providers and sub-processors as covered recipients. It can list prompts, outputs, embeddings, model weights, and derived data as confidential. It can also exclude model training and require zero data retention.
Do I really need an NDA for every contractor?
Yes, sign an NDA before you share code, data, or business plans with any outside developer. The NDA only protects confidentiality. Ownership of what the contractor builds moves to you only through a separate written assignment. Have it signed before they commit code.
Who owns code written by AI tools under U.S. law?
Purely AI-generated code has no copyright owner in the U.S., because copyright requires a human author. Human-edited portions can be protected. Your contract and the AI tool’s terms then set your rights. Keep commit history and review logs as proof of human input.
Should the IP assignment sit inside the NDA or in a separate agreement?
Keep the IP assignment in a separate agreement from the NDA. Ownership terms then survive if the NDA expires or ends. It also avoids conflicting terms between the two documents. Use present-tense “hereby assigns” wording.

