NDAI agreements: inspecting an invention without taking it
In 1714 the British Parliament offered a fortune to whoever could find longitude at sea. John Harrison, a clockmaker, built the marine chronometer that did it. Once he had shown the Board of Longitude how it worked, the Board had little reason to pay him, and for decades it didn't. He received most of the money forty years later, after George III intervened in person.
Kenneth Arrow and Richard Nelson described the general problem: to sell an idea you have to show it, and once you have shown it the buyer no longer needs to pay. NDAI Agreements models this problem and shows that AI agents running in trusted execution environments (TEEs) can remove it.
Why NDAs and patents fall short
Inventors have two ways to protect themselves today, and both are expensive.
The first is to withhold. A founder who fears being copied shows an investor less, or nothing, and the deal that would have helped both of them doesn't happen. In a study of 1,600 start-ups looking for corporate investment, Dushnitsky and Shaver found that many relationships never formed because the entrepreneur was wary of disclosing the invention.
The second is to rely on the law after the fact: NDAs, patents, trade-secret claims. To enforce them the injured party has to notice the misuse, prove it and win in court, and misuse of knowledge is hard to see and harder to prove. Weak enforcement makes the protection worth little. Aggressive enforcement punishes innocent parties, as patent trolls show.
Enforcement during the negotiation
The paper proposes a third option, enforcement during the negotiation. The seller's agent and the buyer's agent meet inside a TEE. The seller's agent discloses the invention in full. The buyer's agent evaluates it against the buyer's instructions and decides whether to pay. If they agree, a contract releases the invention to the buyer and the payment to the seller together. If they don't, the invention and the whole conversation are deleted without ever leaving the enclave.
Disclosure then depends on agreement. The buyer can't learn the invention without paying for it, so there is nothing to monitor afterwards and nothing to litigate. Harrison's agent could have shown the Board's agent that the chronometer worked, and the Board could have paid him the same afternoon.
What the model shows
The paper treats disclosure as a choice of how much to reveal, made before either side knows whether a deal exists.
- Without protection, the seller withholds to avoid being expropriated, and gains from trade are lost.
- With a secure TEE, full disclosure is an equilibrium, the transfer is efficient and both sides are better off.
- Real TEEs are not perfectly secure. The paper models a secret split across several TEEs with threshold encryption, where a conspiracy to break it is caught with some probability and pays a penalty if caught. Below a value that depends on those numbers, nobody profits from breaking in. Above it, partial disclosure still beats none.
- Real agents make mistakes. A buyer's agent might overpay, and a seller's agent might misreport. A budget cap on the buyer's side and an acceptance threshold on the seller's side contain these errors, and most of the gains survive even with frequent mistakes.
Why it matters to us
The setting is invention and investment, but the same structure appears whenever one party has to look at something before buying it: a dataset, an evaluation set, a trading signal, an expert's judgement on a deal. In each case the buyer wants to check the goods, and checking them gives them away.
That is the transaction Safe Hivemind's agents are built to run. The questions the paper raises are the ones that matter in practice. How much can a given enclave be trusted with? What happens when an agent gets the price wrong? How do both sides confirm the code they're relying on? Most of our later work addresses one of these.
The paper is on arXiv.