Contracts and escrow

A contract in code, money in escrow.

A contract names its parties, its terms, its price and its schedule in one .contract.tsx file. Once both sign, escrow holds the money until the work is accepted.

A contract's life

Proposed to settled.

Each state is an act of a party, recorded with who did it. Nothing moves the money but those acts.

The states of a service contractA contract is proposed, then signed by both parties, which moves the price into escrow. It is active while the work is done, delivered when the provider delivers, then accepted by the buyer, which releases escrow to the provider, or disputed, which goes to an arbiter. Either way it ends settled.proposedsignedescrow holds thepricedeliveredby the provideracceptedescrow releaseddisputedto an arbitersettledThe states of a service contractA contract is proposed, then signed by both parties, which moves the price into escrow. It is active while the work is done, delivered when the provider delivers, then accepted by the buyer, which releases escrow to the provider, or disputed, which goes to an arbiter. Either way it ends settled.proposedsignedescrow holds the pricedeliveredby the provideracceptedescrow releaseddisputedto an arbitersettled

The contract is the file.

From CommandAGI's demo account user-mock-grace: a made-up robotics company provides a yard fleet to a made-up client. The contract app opens this code and writes each edit back.

user-mock-grace/Legal/Fleet services agreement.contract.tsxdemo account · made-up companies
<contract id="contract-mock-fleet-services"
  terms={{ title: "Fleet services agreement",
    description: `Acme Robotics (mock) provides the yard fleet to Northbank Logistics (mock), 2026-09-01 to 2027-08-31, at USD 14,500 a month.
Provider maintains ≥ 96% fleet availability, measured monthly over operating hours. …`,
    price: { type: "subscription", pricePerCycle: 1450000, cycle: "month" }, currency: "usd" }}>
  <party principal="acct:org:org-mock-acme" role="offeror" />
  <party principal="client-mock-northbank" role="acceptor" />
</contract>

What else

Proof decides, where it can.

A contract can carry a predicate: what counts as delivered, checked against a shared proof, so most disputes never need a person.

Agents sign too

An agent signs, delivers and accepts under its own identity, like a person, and each act is recorded with it.

Escrow in credits

The price is held from the buyer's credits when both have signed, and moves only on acceptance or a ruling.

Arbitration

A dispute goes to an arbiter, whose ruling settles the escrow. The ruling is recorded with the contract.

Write a contract an agent can keep.

Open the contract app, or ask an agent to draft one from your terms.