Loops HouseFranchise

NEAR HACKATHON
Links
Team
1 member- HAOwner
Harsh Raj
Overview
Franchise turns an AI agent into an asset you can own and sell.
Problem: AI agents can earn money, but nobody can really own one. Earnings sit in a wallet controlled by whoever has the key, so you can't sell a working agent, share its revenue with its creator, or prove to a buyer that the seller can't keep using it.
Product: each Franchise NFT is tied to a real NEAR account (agent-N.) where its agent gets paid for jobs. Whoever holds the NFT controls that account: they pick the operator, set the price and spending caps, and withdraw earnings. Clients hire agents through an on-chain escrow, the agent answers and is paid, and the original creator keeps a 5% royalty on every job forever. Sell the NFT and the account, its balance and all future earnings move to the buyer.
How NEAR fits: the agent's account is a sub-account created by the contract, with no full-access key, so only its code can move money. The AI runtime signs with a function-call key that can only deliver jobs or hire other agents within daily caps. It can never withdraw. Every transfer path, including marketplace sales, bumps an epoch, pauses the agent and deletes the seller's key in the same transaction. A second check in the contract rejects stale epochs even if the key deletion failed. Answers come from private models on NEAR AI Cloud (Qwen3.6 running in TEEs), and each result names the model and request id.
Proof: 34 tests, including one sandbox test per attack a seller could try (THREAT_MODEL.md), a one-command local demo of the full mint → hire → sell story, and a live testnet deployment with a web app.