About Resources Disclaimer rd (at) patentbusinesslawyer (dot) com
AI agents · intellectual property · ownership

AI Agent Intellectual Property: Who Owns the Code, Model, Data and Outputs?

Map the patent, copyright, trade-secret, contractual and third-party rights behind an AI-agent product before licensing, marketplace distribution, investment or acquisition.

Save or follow this source
AI agent intellectual property, code ownership, model rights and data rights
AI-agent ownership is usually layered, not singular.Patents · copyright · contracts · data · models · APIs · trade secrets
Direct answer

Who owns an AI agent?

There may be no single owner of every layer in an AI-agent product. The seller may own the application code and proprietary workflow while using a third-party foundation model, external APIs, licensed datasets, open-source components and customer-provided information. Patents, copyright, trade secrets and contracts can protect or control different layers. A reliable ownership analysis therefore asks who created each component, what was assigned, what is merely licensed, what the provider retains, and which rights can legally be passed to customers or buyers.

Primary-source basis: WIPO treats intellectual property as an economic asset that can be exploited directly, licensed or transferred, while the exact legal right depends on the asset and jurisdiction. WIPO IP valuation guidance.

AI-agent IP is a stack, not one right

ComponentPotential protection or controlKey ownership questionCommercial risk
Agent source codeCopyright, trade secret, contractWho authored it and were rights assigned?Founder, employee or contractor ownership gap
Technical architecturePatent, trade secretIs there a qualifying technical invention and who owns it?Public disclosure or weak chain of title
Workflow and orchestrationPatent, copyright, trade secret, contractIs the workflow proprietary or derived from third-party material?Overstated exclusivity
Foundation modelProvider IP and contractIs the model owned, licensed, hosted or accessed by API?Seller confuses application ownership with model ownership
Input and retrieval dataCopyright, database rights, contract, privacy rightsWas commercial processing and reuse authorized?Technical access without sufficient legal permission
OutputsContract plus applicable statutory lawWhat rights are allocated contractually and what protection exists by law?Contractual ownership confused with statutory exclusivity
APIs and MCP toolsProvider contract, copyright, patentCan the agent embed, resell or expose the tool downstream?Dependency or sublicensing restriction
Brand and agent identityTrademarkWho owns and can use the product name or mark?Clearance or ownership conflict

Application ownership and foundation-model ownership are different

A company can own its own application code while receiving only contractual access to the external model on which the product depends. Commercial provider terms illustrate this separation. OpenAI's current business terms allocate customer inputs and outputs between the parties while retaining OpenAI's rights in the underlying services. Anthropic's commercial terms likewise separate customer content from Anthropic's underlying technology and service rights.

OpenAI: The Services Agreement distinguishes customer content from OpenAI's own services and permits business customers to integrate the service into customer applications subject to the agreement. OpenAI Services Agreement.

Anthropic: Anthropic's commercial terms similarly distinguish customer content rights from Anthropic's own intellectual property. Anthropic Commercial Terms.

Contractual ownership of output does not automatically create statutory copyright

Provider contracts can allocate output rights between provider and customer, but copyrightability is a separate legal question. In the United States, the Copyright Office continues to require human authorship for copyright protection and distinguishes protected human-authored elements from material generated by artificial intelligence without sufficient human authorship.

U.S. Copyright Office: Current guidance states that AI-assisted works can receive protection for sufficiently human-authored elements, while mere prompting does not by itself establish copyright in generated material. U.S. Copyright Office AI report update.

Patent inventorship is also separate from provider ownership

For patent rights, the relevant questions include whether a qualifying invention exists, who conceived the claimed invention and who owns the application or resulting patent. The USPTO's current position is that only natural persons may be named inventors, while artificial intelligence systems are treated as tools in the inventive process.

USPTO: Revised inventorship guidance confirms that ordinary inventorship law applies to AI-assisted inventions and that only natural persons may be inventors. USPTO revised inventorship guidance.

Research and decision framework

Map ownership, access and control separately

Three questions should be kept distinct. Ownership asks who holds the relevant legal or contractual right. Access asks whether a party can technically reach or use the component. Control asks who can change, suspend, terminate or constrain that access. An agent may be fully controlled by the seller at the application layer while remaining dependent on an external model API that the seller does not own and cannot guarantee indefinitely.

Copyright in source code starts with authorship and chain of title

Human-authored software can attract copyright protection where the jurisdictional requirements are satisfied. For commercialization, the practical issue is often not whether source code can be protected, but whether the company can prove that it owns the relevant rights. Employment agreements, founder assignments, contractor agreements, repository history and third-party contributions should be reviewed before licensing or acquisition.

Patent rights can protect qualifying technical inventions

An AI-agent product can include technical features that merit patent analysis, such as orchestration, persistent state, secure tool execution, identity and authorization, distributed agent coordination, device control or resource optimization. Patentability depends on the actual claims and jurisdiction. The dedicated AI-agent patents page should own the detailed international comparison rather than repeating it here.

Read the AI Agent Patents guide →

Inputs and customer content require their own rights analysis

A customer may own information supplied to the agent, but the seller still needs the contractual authority to process that information through its systems and relevant providers. OpenAI and Anthropic both place responsibility on business customers to possess the rights or permissions needed for supplied content. That requirement does not establish that every downstream use of the data is permitted.

Data ownership, processing, training and reuse should not be collapsed into one concept

For each important dataset or knowledge source, ask who owns or controls it, whether the seller may process it, whether a model or service provider may retain or use it for training, and whether outputs or retrieved material may be redistributed commercially. Microsoft Azure AI documentation is useful because it distinguishes customer data storage and service processing from use of customer material for foundation-model training.

Microsoft: Azure AI documentation states that customer fine-tuning data is not used to train foundation models without the customer's permission or instruction and explains customer data handling across relevant services. Microsoft Azure AI data privacy guidance.

Open-source and open-weight components can create different obligations

Public availability is not the same as unrestricted commercial use. Model repositories and software ecosystems contain permissive, copyleft, research-only, non-commercial and other licenses. Each material component should be reviewed individually before the seller promises unrestricted enterprise deployment or sublicensing.

License taxonomy: Hugging Face lists a broad range of software, model and data licenses, including MIT, Apache, GPL-family, OpenRAIL and Creative Commons variants, showing why individual license review is necessary. Hugging Face repository licenses.

Trade-secret protection can preserve valuable non-public implementation knowledge

Where technical know-how is not easily observable from the product and disclosure is not required for patent strategy, confidential orchestration logic, internal evaluation methods, operational tuning, deployment know-how or customer-specific implementation methods may have trade-secret value subject to applicable law and reasonable secrecy controls. Patent and trade-secret strategy should be coordinated because patent filing requires disclosure while trade-secret protection depends on secrecy.

Trademarks protect market identity, not the underlying agent functionality

The product name, logo or other source identifier may be protectable as a trademark if legal requirements are met. Trademark rights should therefore be considered separately from rights in software, models, patents and data. A company acquiring an AI-agent business may need both the technical assets and the market identity that customers recognize.

Acquisition diligence should test whether the important rights can actually transfer

When an AI-agent company or product is sold, the transaction may need to address patents and applications, source code, domains, trademarks, confidential know-how, customer contracts, datasets, model-provider arrangements, APIs, marketplace accounts and third-party licenses. Some rights can be assigned freely, some require consent, and others may be non-transferable. The buyer's economic value can therefore depend on contract portability as much as nominal ownership.

AI Agent IP Chain-of-Title Checklist

  • Confirm founder, employee and contractor assignments for source code and inventions.
  • Identify all patent applications and determine the correct applicant, assignee and inventors.
  • Review model-provider agreements and distinguish service access from model ownership.
  • Identify all external APIs, MCP tools and integrations that are material to the product.
  • Review open-source and open-weight licenses used in production.
  • Confirm rights in training data, retrieval corpora and customer-provided content.
  • Document provider and customer positions on generated outputs.
  • Identify trade secrets and verify reasonable confidentiality controls.
  • Check trademark ownership and clearance for the product identity.
  • Confirm that material customer, marketplace and vendor contracts can survive investment or acquisition.

Frequently asked questions

Who owns an AI agent built on OpenAI, Anthropic or Azure?

The application developer may own its own code and other proprietary assets, while the external provider retains rights in its own model or service. The exact position depends on the relevant contracts, contributions and applicable law.

Does owning AI output mean the output is copyrighted?

Not necessarily. A provider contract can allocate rights between provider and customer, while statutory copyright protection is determined separately under applicable law. In the United States, human authorship remains central to copyright protection.

Who owns a fine-tuned AI model?

The answer depends on the technical implementation and provider terms. Fine-tuning can involve customer-provided data and configuration layered onto provider-controlled technology, so ownership and control should be checked rather than assumed.

Can contractors retain rights in AI-agent code?

Potentially, depending on the contract and applicable law. Companies should use written agreements that clearly address ownership and assignment of relevant work product and inventions.

Can an AI-agent business be sold if it relies on third-party models?

Potentially, but buyers will examine whether the relevant provider, API, data, marketplace and customer contracts can continue or transfer after the transaction. Dependency portability can affect valuation and deal structure.

Featured Work & Insights
Dr. Rahul Dev
Expert authority

AI-agent value depends on defensible ownership and transferable rights.

Dr. Rahul Dev · Founder / Expert Authority

International Patents connects international patent strategy with technology commercialization, IP ownership, licensing, investment readiness and cross-border technology transactions.

About the platform and authority structure →

Discuss AI-agent IP ownership, patent strategy or licensing.

Email: rd (at) patentbusinesslawyer (dot) com

Email Dr. Rahul Dev