If the contract doesn't spell out prompts, evals, and connectors, the ownership dispute just gets postponed until delivery day.

Key Takeaways

  • The contract should enumerate each deliverable category by category, including prompts and workflows, rather than lumping them together.
  • Tools you bring with you remain yours unless explicitly assigned, but the contract must make clear whether the client gets a license to use them.
  • The AI platform's terms are the third layer: they determine who owns the Output, training data, and feedback.

Six weeks into a project for a logistics client, the code repository already contains: a set of 400 eval cases built from real customer support tickets, 30 prompts, and a connector into the ticketing system. All of it runs on the eval framework library your company uses in every project. This is a hypothetical scenario, but a common one.

At a review meeting, the client's team lead asked a perfectly ordinary question: when the contract ends, do all of these things belong to them? That's when you realized you didn't know the answer. Worse, the contract might not say either.

By this point, the question is six weeks too late. You're not a lawyer, and you don't need to become one. What you need is to know enough to spot the gaps at project kickoff—when fixing them is still cheap—and then hand the right questions to your legal team.

Everything falls into one of two categories

The basic framework is simple. As UpCounsel explains, background intellectual property is what existed before the project began, and foreground intellectual property is what was developed during the project. Your company's eval framework library is background; the 400 cases built for the client are foreground.

The default rules for the background category are relatively lenient. Sprintlaw, a UK law firm that writes for AI automation agencies, recommends stating in the contract that pre-existing materials remain the agency's property unless explicitly assigned.

But retaining ownership is only half the story. UpCounsel points out that if the delivered connector depends on your library to run, the contract must make clear whether the client receives a license to that library.

The foreground category requires an inventory. Sprintlaw recommends precisely defining which deliverables are being assigned and naming them item by item—scripts, workflows, and prompts, for example—rather than relying on catch-all language like "all work product arising from the services." The reason is practical: prompts and evals are a new type of output, and clauses drafted from old templates may not account for them at all.

In the US, there's an additional trap. Under the definition in 17 U.S. Code § 101, a commissioned work only qualifies as a "work made for hire" if it falls into one of the categories enumerated in the statute and both parties sign a written agreement to that effect.

So "the client paid, so the client owns it" is not a reliable default assumption. There must be an explicitly written assignment clause.

One project, four outputs

Back to the logistics client. Sit down with the code repository, classify each item, and you'll end up with a table like this:

OutputCategoryQuestion for legal
Company's eval framework libraryBackgroundCan the client keep using it after the project ends? Within what scope?
400 eval cases built from real ticketsForeground, contains confidential informationWho owns it? Can we retain any version?
30 custom prompts and workflowsForegroundAre they named in the assignment list?
Connector into the ticketing systemHybrid: generic core plus custom configurationWhere is the line between core and custom?

The second row is the hardest to handle. The eval suite is the most valuable thing you produce, because it defines what counts as "correct" for this client.

But it was built with the client's data, and Sprintlaw stresses that the contract should explicitly restrict reuse of the client's confidential information.

If you want to carry the eval suite's structure into the next project, agree on that at the start—not decide it yourself in the final week.

The last row shows why you should split the code early. If the connector core lives in a separate package and the client configuration in a separate module, the IP boundary matches the boundary in the repository. If everything is mixed into one file, no clause will save you at delivery time.

The third layer: the model provider's terms

The two contracting parties aren't the whole story. Sprintlaw cautions that third-party AI platform terms may restrict assignment, resale, copying, use for training, or subsequent commercialization. You can't transfer to the client rights you don't have yourself.

Take Anthropic's commercial terms as an example. Under those terms, the customer retains all rights to Input and owns the Output, and Anthropic may not train models on Customer Content from the services. For an eval suite built from real tickets, this detail can reassure the client's security team.

But look closely at the word "Customer." The terms grant rights to the Output to the Customer, so the first step is to find out who the Customer is on the account used for the project. If it isn't your client, add another question for legal: through what mechanism does the contract pass the Output rights to the client?

The feedback clause is also worth noting: Anthropic states that it may use customer feedback with no obligations to the customer. Before attaching real eval cases to a bug report, think twice before hitting send.

What to do in week one

First, draft a list of expected outputs before writing any code: libraries you're bringing in, prompts, evals, connectors, runbook documentation. Label each row background, foreground, or hybrid, and flag every row that involves the client's confidential data.

Next, find out who the Customer is on the project's API account, and read the provider's terms on Input, Output, training, and feedback. Finally, send this table to legal with three questions: does the assignment list name the prompts, evals, and connectors; does the client get a license to pre-existing tools; and what can we reuse after the project ends.

This skill also helps when job hunting. When a Forward Deployed Engineer (FDE) job posting mentions "scoping" or "SOW," a line on your resume like "compiled an output inventory at project kickoff and completed IP classification with legal" shows you've led projects, not just written code in them.

Common Mistakes

The most common mistake is treating prompts as disposable configuration, so nobody puts them on the inventory. The second is letting internal libraries seep into client code—come delivery day, handing over the connector means handing over the company's generic tools too.

The third mistake is copying the entire eval suite into the next project on the grounds that "it's just testing anyway," when every case in it is the client's confidential data.

The last one is more subtle: assuming IP is sales' and legal's problem. They draft the clauses, but only the people writing the code know what's actually in the repository. The question the logistics team lead asked in week six is one you should have asked yourself on day one, and the answer should have already been written down in a four-row table.

Was this article helpful?

Thanks for your feedback!

5 sources

Next on the roadmap · Phase 4: Client Work The client has already bought Copilot—stop arguing about which model is better. MIT research finds AI pilot failures stem from workflow gaps rather than models; point out Copilot's blind spots and deliver within the tools employees already use.