Skip to main content

Who owns the code your agency builds?

Work made for hire rarely covers contractors. Story.law explains the 2026 assignment and license terms a startup needs to actually own the software it paid for.

Lawyer reviewing IP assignment terms in a software development contract
Story LLPPublished August 25, 202613 min read

Paying a development agency to build your product feels like a straightforward transaction. You write the checks, they write the code, and the software belongs to you. That assumption is legally wrong in most situations, and discovering that error at a Series A raise or during acquisition diligence is one of the most expensive surprises a founder can face. This guide explains exactly what U.S. copyright law says about software ownership, why payment alone does not transfer rights, and what your development agreement needs to say before a single line of code is written. It covers the three ownership structures you will encounter in agency paper, the background technology carve-out and how to handle it, what diligence looks like when agency-built code is in the chain of title, open-source exposure, escrow, and a practical redline checklist. Story.law works with founders at every stage to make sure the software they paid to build is actually theirs.

The Core Surprise: Paying for Code Does Not Make You the Owner

The starting point is a rule that surprises almost every founder. Under U.S. copyright law, the author of a work is its first owner. When you hire an independent development agency, the agency's engineers are the authors. Payment changes that only if your contract says so in the right way. There is no automatic transfer.

The work-made-for-hire doctrine is the exception founders assume applies to them. Under 17 U.S.C. § 101, a work qualifies as made for hire in one of two ways: it is created by an employee within the scope of employment, or it is a specially commissioned work that falls within one of nine enumerated categories listed in the statute and is covered by a signed written agreement. Software written to spec for a client does not appear in that list of nine categories. That is not an oversight. It means that a development agency operating as an independent contractor almost never produces a work made for hire in the legal sense, regardless of what your statement of work calls it.

The practical consequence is sharp. Without a written IP assignment clause in your development agreement, the agency may retain copyright ownership over the code they wrote. You have a license to use what was built, but you do not own it, and that distinction becomes critically important during a fundraise or acquisition.

What the Three Ownership Structures Actually Give You

Every development agreement allocates IP in one of three ways: assignment, license, or a work-made-for-hire designation. Understanding what each one leaves you able to do is the foundation of any negotiation.

Assignment

An IP assignment transfers full ownership from the agency to you. Once assigned, you can reproduce the code, build derivative products, sublicense it, enforce the copyright, and sell the asset outright. The assignee acquires exclusive rights to exploit, modify, and enforce the intellectual property. Assignment is the structure that survives diligence cleanly because investors and acquirers treat it as an owned asset. It is what you should push for on all custom deliverables.

Drafting precision matters here. Courts have treated the phrase "agrees to assign" as a promise to transfer IP in the future rather than an actual transfer, which creates a gap in your chain of title. The language you need is present-tense: "Developer hereby assigns to Client all right, title, and interest." That phrasing transfers ownership immediately and by operation of law. If the developer leaves or refuses to cooperate later, a present-tense assignment does not require a second signature to be effective.

License

A license lets you use the software under defined conditions, but the agency retains ownership. Agency paper often defaults to a license structure, particularly when the agency is delivering a customized version of a platform it uses across multiple clients. Licensing is strategically desirable to developers who want to retain the ability to perform similar services for other customers. From your side, a license is inferior in almost every dimension that matters at fundraise or exit. Investors routinely apply valuation haircuts where core IP is licensed rather than owned. Licensed IP is treated as a contractual dependency, not a company asset.

If an assignment is genuinely not on the table for a particular component, push for a license that is broad, perpetual, irrevocable, sublicensable, and royalty-free. Each of those words does specific work. "Perpetual" means the license does not expire. "Irrevocable" means the agency cannot pull it back if the relationship sours or if the agency is acquired by a competitor. "Sublicensable" means you can extend the rights to an acquirer without needing the agency's consent at closing.

Work Made for Hire

Work-made-for-hire language in a contract with an independent contractor is legally unreliable for software. It does not hurt to include it as a belt-and-suspenders provision, but the assignment clause is the safety net that catches everything the work-for-hire doctrine misses, which for independent contractor engagements is most deliverables. Never rely solely on a work-made-for-hire designation in agency paper. Always pair it with an express, present-tense assignment.

What Is Background Technology in a Development Agreement, and Should You Accept the Carve-Out?

Background technology is the agency's starting inventory: pre-existing frameworks, libraries, tools, templates, and reusable modules the agency brings to your engagement. It is IP the agency owned before your contract started and developed independently of your project. The carve-out is the clause that keeps that pre-existing material outside the scope of what gets assigned to you.

The carve-out is reasonable in principle. An agency should not be required to forfeit tools it developed over years and uses across dozens of clients just because it deployed them on your project. You are not trying to own the agency's framework. The problem arises when the definition of background technology is written broadly enough to capture work created during your engagement.

Here is what that looks like in practice. An agency paper defines background technology as "all technology owned or developed by the Agency, including technology developed or improved in connection with any client engagement." That language is broad enough to pull the deliverables you paid for back out of your assignment. If the agency refines a module while building your product, that refinement arguably falls inside the carve-out, not inside your assignment. What you paid for is now licensed to you instead of owned by you.

Your negotiating position is this: accept a background technology carve-out only if it is limited to material that is genuinely pre-existing and unrelated to your project. Push for language that ties the definition to a specific date, typically the contract effective date, and that expressly excludes any technology first created, modified, or improved in connection with your engagement. Ask the agency to schedule its background technology in an exhibit attached to the agreement. A named list is far safer than a broad definitional category.

Wherever something is carved out and licensed back rather than assigned, insist on a backup license that is broad, perpetual, irrevocable, and sublicensable. That license is your insurance policy if the agency changes ownership, shuts down, or tries to leverage the carve-out in a dispute.

Common IP Problems in Diligence When Code Was Built by an Agency

Most software startup IP problems are not dramatic stolen-patent stories. They are chain-of-title, open-source, contractor, and process problems that become visible only when a financing, a major customer deal, or an acquisition forces the company to explain exactly who built what and under what rules. Understanding the failure modes before they appear in a diligence request list is the entire game.

Missing or Defective Assignment Language

The most common problem is an agreement that has no assignment clause at all, or one that uses "agrees to assign" language instead of "hereby assigns." If the assignment is a future promise rather than a present transfer, legal title remains with the agency until a subsequent assignment document is signed and executed. If the agency has disbanded, if individual engineers who contributed have scattered, or if the agency was acquired by a competitor, getting that second signature may be impossible. Title stays with whoever wrote the code.

Overbroad Background Technology Carve-Outs

When the background technology definition sweeps in work created during the engagement, you end up holding a license to your own product. Sophisticated buyers and investors identify this immediately. The question they ask is whether the license is perpetual and irrevocable. If the answer is no, or if the license contains conditions that could be triggered or terminated, the IP position is treated as a liability rather than an asset.

Subcontractor Gaps

Agencies frequently use subcontractors to deliver projects. If the agency's agreement with its subcontractors does not include a valid assignment of the subcontractor's work to the agency, the agency cannot assign to you rights it does not hold. The chain of title breaks before it reaches you. In diligence, you will be asked to represent that you own your software. If a subcontractor two levels deep holds an unassigned copyright in a core module, that representation is false.

Open-Source Disclosure Obligations

Developers routinely incorporate open-source libraries without disclosing the license terms. The risk with copyleft licenses like the GPL is exposure: once your product is distributed with a GPL dependency, you may be required to publish your full source code. For SaaS companies, the AGPL version 3 is especially dangerous because it triggers the same disclosure obligation when users simply access the software over a network. License compliance issues show up during acquisition diligence and can affect valuation or kill the deal entirely. The 2024 Synopsys Open Source Security and Risk Analysis report found that 53% of audited commercial codebases contained open-source license conflicts. Require the agency to disclose all open-source components and their licenses, prohibit copyleft inclusion without your written approval, and get a representation and warranty in the agreement that the deliverables are free of undisclosed license obligations.

No Source Code Access or Escrow

When a license rather than an assignment governs a key component, you need to address what happens if the agency goes dark. If the agency ceases operations, is acquired, or simply stops supporting the software, your ability to maintain and modify the product depends on access to the source code. A source code escrow agreement places the source code with a neutral third-party agent who releases it to you upon defined trigger events such as the agency's insolvency, acquisition, or material breach of the support obligation. Require a source code escrow whenever your agreement is license-based and the software is mission-critical. The cost of establishing escrow is modest relative to the operational risk of losing access to code your business runs on.

What to Look for in an IP Clause in a Development Agreement

The quality of your IP position comes down to specific language in specific clauses. Before you sign an agency agreement, read the IP section against this framework.

Necessary Provisions in the IP Clause

Present-tense assignment: The clause should read "Developer hereby assigns" not "Developer agrees to assign." Present-tense language transfers ownership immediately. Future-tense language creates only a contractual obligation that must be separately enforced and can be defeated if the developer is unavailable.

Scope of the assignment: The assignment should cover all copyrights, patent rights, trade secrets, moral rights (to the extent waivable), and other intellectual property in the deliverables, including source code, object code, documentation, and design materials. Broad scope prevents disputes over what exactly was transferred.

Subcontractor flow-through: The clause should obligate the agency to obtain equivalent assignments from all subcontractors and to flow those rights to you. Without this, the chain of title breaks the moment a subcontractor contributed code.

Background technology definition tethered to a date: The carve-out should be limited to technology existing as of the contract effective date and not related to your project. An exhibit listing specific background technology items is the most defensible approach.

Backup license on background technology: For any background technology incorporated into the deliverables, the clause should grant you a perpetual, irrevocable, royalty-free, sublicensable license to use it as embedded in the deliverables. This license must survive termination of the agreement.

Open-source disclosure and restriction: The clause should prohibit incorporation of copyleft-licensed open-source code without written approval and require the agency to provide a complete software bill of materials identifying all open-source components and their licenses.

Power of attorney: Include a clause authorizing you, as attorney-in-fact, to execute assignment documents on the agency's behalf if the agency fails or refuses to cooperate. This is a standard backstop.

Escrow trigger (where applicable): For license-based components, the clause should either reference a concurrent escrow agreement or obligate the agency to enter one upon your request.

Redline Checklist: Phrases to Flag in an Agency IP Clause

These are the phrases that require attention before you sign. Each one signals a potential ownership gap.

"Agrees to assign" or "shall assign": Flag and replace with "hereby assigns." The future-tense version is a promise, not a transfer.

"Background technology" without a date or exhibit: Flag and negotiate to tie the definition to the contract effective date and to attach a schedule. An open-ended definition can capture work done during your engagement.

"Technology developed or improved in connection with any client engagement": This language is designed to pull deliverables back into the background technology carve-out. Strike "improved" and add "prior to the effective date of this agreement."

"Non-exclusive license": Flag. If you are receiving only a license rather than an assignment for any deliverable, confirm the license is perpetual, irrevocable, and sublicensable. If any of those words are absent, add them.

"May incorporate open-source software": Flag. Replace with a requirement for prior written approval for any copyleft-licensed components and an obligation to provide a software bill of materials.

"Agency retains ownership of all tools, frameworks, and methodologies": This is a background technology carve-out in narrative form. Apply the same analysis as above.

"Assignment is contingent on receipt of final payment": Flag. Payment contingencies on IP assignment create a window during which you do not own what you believe you own. Negotiate payment milestones that coincide with assignment delivery, or separate the IP transfer from the payment obligation.

"This agreement constitutes a work made for hire": This language is not sufficient on its own for software built by an independent contractor. It needs to be paired with a present-tense assignment clause.

What the Law Requires vs. What You Push for in Negotiation

These two things are not the same, and conflating them is a source of confusion in contract negotiations.

What the law requires is a signed, written agreement for copyright ownership to transfer from an independent contractor to a client. That is the floor. No writing, no transfer. The law does not require any particular form, specify present-tense language, or mandate a background technology exhibit.

What you push for in negotiation goes significantly further than the legal minimum. Present-tense assignment language is a negotiating ask, not a statutory requirement. An exhibit limiting background technology to pre-existing, listed items is a negotiating ask. A perpetual, irrevocable, sublicensable backup license on carve-out technology is a negotiating ask. Subcontractor flow-through obligations are a negotiating ask. Source code escrow is a negotiating ask.

Marking these items as asks is important because it helps you prioritize. The present-tense assignment and the open-source disclosure obligation are the highest-priority items. Without them, the ownership structure is either defective or undisclosed. The background technology exhibit and the subcontractor flow-through are important but sometimes easier to negotiate once the assignment structure is agreed. Escrow is most critical when the assignment structure does not fully cover a component you depend on.

Agencies that build software across many clients will resist a full assignment because they want to reuse what they build. That is a legitimate business interest. The resolution is a precisely scoped background technology carve-out, not a license in place of an assignment for all deliverables. Push for the narrowest carve-out you can negotiate, require the backup license on whatever is carved out, and make sure the deliverables definition in the assignment is broad enough to capture everything created specifically for you.

Best Practices and Expert Recommendations for Founders

Story.law has seen how these agreements perform in practice, at fundraises, in acquisitions, and in disputes. These are the approaches that hold up.

Get the agreement signed before work starts: An assignment clause in a contract signed before development begins is legally cleaner than one added after the code exists. Some courts require the writing to predate the work. Do not let an agency begin a sprint under a letter of intent or verbal agreement.

Audit the agreement at every milestone, not just at signing: Statements of work added to a master services agreement often do not include their own IP clauses. If the MSA IP clause references only the original engagement scope, new statements of work for feature development or platform extensions may fall outside it.

Require a software bill of materials: Ask the agency to deliver, with each major milestone, a list of all open-source libraries used, the license governing each, and a confirmation that no copyleft-licensed component is statically linked to your proprietary code. Run a software composition analysis tool against the delivered repository before final payment.

Treat the background technology schedule as a living document: If the engagement runs for more than a few months, the agency's background technology inventory changes. Agree at signing that the schedule will be updated at defined intervals and that any new entries require your written consent.

Document the chain of title for diligence: Maintain a file containing every signed development agreement, every statement of work with an IP clause, every subcontractor flow-through agreement, and every software bill of materials. Diligence at a Series A round or acquisition will ask for exactly this documentation. Producing it quickly and completely signals that your IP position is clean.

Do not wait for a problem to get retroactive assignments: If you have legacy agreements that are missing an assignment, or that use defective future-tense language, approach the agency now to sign a confirmatory assignment. Doing this proactively, while the relationship is functional and the agency is still operating, is far less expensive than trying to resolve it under time pressure during a live deal.

Engage legal counsel before the first SOW, not after: Story.law reviews and negotiates development agreements for founders who want the IP structure done correctly from the first engagement. Fixing it retroactively costs more, takes longer, and sometimes is not fully achievable.

Advantages of Getting Your Development Agreement Right

A correctly structured development agreement is not a legal formality. It is the document that determines whether the asset you are building actually belongs to your company.

Clean chain of title at fundraise: Investors require representations and warranties that the company owns its IP. A properly documented assignment from every developer and agency in your history makes those representations accurate. Title gaps discovered at Series A are one of the most common reasons a round is delayed or restructured.

Full commercial control: Ownership means you can modify, sublicense, enforce, and sell the software without asking anyone's permission. A license, even a broad one, keeps the agency in a position of ongoing relevance to your business. An assignment eliminates that dependency.

Preserved exit valuation: In an acquisition, buyers price IP as an owned asset or as a contractual dependency. The valuation difference can be material. Agencies that hold copyright in your core product can use that leverage at the worst possible moment.

Reduced open-source liability: Requiring disclosure and approval for all open-source components during development prevents the copyleft contamination that forces source code disclosure and suppresses valuation. Discovering a GPL-licensed dependency embedded in a core module late in diligence has cost founders both time and deal economics.

Business continuity through escrow: A source code escrow agreement ensures that if the agency stops operating, you retain access to the source code and can assign another team to maintain and extend the product. Without escrow, a license to software you cannot touch or modify is of limited operational value.

Key Takeaways and How to Get Started

The default rule under U.S. copyright law puts ownership in the hands of whoever writes the code. Paying for development does not override that default. Work-made-for-hire does not cover most software built by independent contractors. An assignment clause with present-tense language is the mechanism that transfers ownership to you, and the background technology carve-out is the provision most likely to undermine it if it is defined too broadly.

Get the assignment language right before work starts. Require a software bill of materials with every milestone delivery. Limit the background technology carve-out to pre-existing, listed material and back it with a perpetual, irrevocable, sublicensable license. Address subcontractor flow-through. Audit legacy agreements before your next fundraise.

Story.law can generate your development agreement, review agency paper, or help you clean up a legacy IP position.

How Story.law Helps Founders Get This Right

Story.law is built by an AI-enabled law firm to give founders BigLaw-quality legal counsel that is affordable and free of the unpredictable invoices and delays of a traditional firm. Story LLP serves startups and growing companies that need professional legal support structured around how early-stage businesses actually operate.

At the center of Story.law’s offering is Aegis, a lawyer-in-the-loop legal AI platform that applies consistent, high-quality analysis to commercial agreements including development contracts, IP assignments, and vendor terms. Aegis identifies risk, suggests negotiating positions, and accelerates review without sacrificing rigor. Licensed attorneys supervise every output and handle the judgment calls, strategy, and negotiations where experienced counsel makes the greatest difference.

For founders engaging a development agency, Story.law reviews the proposed agreement against the framework in this guide, identifies the ownership gaps and carve-out risks specific to your contract, and drafts the redline that protects your chain of title. For founders who already have legacy agency agreements, Story LLP audits the existing documentation, identifies what is missing, and prepares the retroactive assignments and confirmations needed to clean up the record before a fundraise or exit.

FAQs About Code Ownership and Development Agency Agreements

  • Do I own the code a development agency builds for me?

    Not automatically. Under U.S. copyright law, the author of a work is its first owner, and a development agency is the author of the code its engineers write. Payment does not transfer ownership. You own the software only if your development agreement contains a valid, signed IP assignment from the agency to you. Story.law reviews and negotiates development agreements to make sure that assignment is present, correctly drafted, and covers all deliverables including work by subcontractors.

  • What is the work-made-for-hire doctrine, and does it apply to agency-built software?

    Work made for hire is a statutory exception under 17 U.S.C. § 101 that makes the hiring party the copyright owner from the moment of creation. It applies automatically when the creator is an employee. For independent contractors, it applies only when the work falls within one of nine enumerated categories listed in the statute and the parties have signed a written agreement. Custom software built to a client’s spec does not appear in those nine categories, so the doctrine does not cover most agency-built software. Never rely on work-made-for-hire language alone in a contractor agreement. Always pair it with a present-tense assignment.

  • What is background technology, and should I accept the carve-out in an agency agreement?

    Background technology is the pre-existing IP the agency brings to your project: frameworks, libraries, reusable tools, and templates it developed before your engagement and uses across multiple clients. A carve-out that limits the assignment to exclude this pre-existing material is reasonable in principle. The problem arises when the definition is broad enough to capture work created during your engagement. Story.law advises founders to accept the carve-out only when the definition is tied to the contract effective date, references specifically listed items in an exhibit, and expressly excludes anything first created or modified during the engagement. Wherever something is carved out, require a perpetual, irrevocable, sublicensable backup license.

  • What IP problems come up in diligence when code was built by an agency?

    The most common problems are missing assignments, future-tense assignment language that never fully transferred ownership, overbroad background technology carve-outs that pulled deliverables out of the assignment, subcontractor gaps where the agency used developers whose work was never properly assigned up the chain, and undisclosed open-source components with copyleft obligations. A disputed line of code or an unresolved chain-of-title gap is one of the primary reasons startups fail diligence before a Series A round. Story.law audits legacy development agreements and prepares the retroactive documentation needed to clean up the record before a financing or acquisition.

  • Do I need a written IP assignment from a contractor?

    Yes. Without a written assignment, the contractor likely owns the copyright, and you hold only a license. That is true regardless of what you paid, what the project was called, or how clearly both parties understood the intent. The Copyright Act requires a writing for copyright ownership to transfer from an independent contractor. Verbal agreements and implicit understandings do not satisfy that requirement. The writing also needs to use present-tense assignment language to be effective immediately, rather than creating only a future obligation. Story.law drafts and reviews these agreements for founders at every stage.

  • What is the difference between an IP assignment and a license for my software?

    An assignment transfers full ownership. Once assigned to you, the software is a company asset you can modify, sublicense, enforce, and sell without the agency’s involvement. A license allows you to use the software under defined conditions, but the agency retains ownership. Investors treat assigned IP as an owned asset and licensed IP as a contractual dependency. That distinction affects valuation, exit flexibility, and the representations you can make in a financing. Where an assignment is not available for a component, push for a license that is broad, perpetual, irrevocable, and sublicensable.

  • What should I do if my existing development agreements are missing an IP assignment?

    Approach the agency now to sign a confirmatory assignment agreement. This is far easier to accomplish while the relationship is active and the agency is still operating than during a live diligence process under time pressure. If individual engineers contributed to the project, you may also need assignments from them directly, particularly if they were subcontractors rather than employees of the agency. Story.law identifies the gaps in existing agreements and prepares the retroactive documentation needed to establish a clean chain of title before your next fundraise or acquisition.

We're lawyers, remember? Please read this important note:

Story LLP is a law firm, and Story's lawyers built Aegis to deliver better, standard legal services at scale so founders can choose between top-tier specialized lawyers and standardized process automations that replicate those lawyers according to their needs and budget. By definition, a standardized process may not be perfect for you. Please review our Policies page to better understand the difference, as well as how we use AI and how we manage conflicts, privilege, etc.


As a law firm, we must screen clients for conflicts of interest, and we treat all correspondence with clients seeking legal advice as privileged and confidential to the maximum extent possible in consideration of any conflicts. However, Story's law firm or our Attorney Allies do not represent you or your company as your lawyer, do not have an attorney-client relationship with you or your company, and do not provide you with legal advice absent a formal Engagement Letter signed between you and the Story LLP law firm. Please don't confuse the free knowledge we offer on this site with legal advice for you.