Loops House



ByLaw

NEAR HACKATHON
Links
Team
1 member- TAOwner
Tanmay Gaikwad
Overview
ByLaw makes a company's constitution executable. Members write a bylaw, AI agents run the business inside it, and a NEAR contract enforces it. Humans only set the constraints.
The company is owned by a Sputnik DAO (council of two, both must vote). Five AI agents (sales, two analysts, reviewer, treasurer) are sub-accounts, each holding only a function-call key scoped by the NEAR protocol to its own role's methods. The ByLaw contract enforces sliding-window budgets, per-transaction caps, a vendor allow list, escrowed jobs and a revenue-split waterfall. Agents and revenue-share seats are NFTs (NEP-171), and seat holders earn dividends from each job.
Live on testnet: two real jobs settled end to end with no human after posting. A customer pays, the analysts bid, the lowest reputation-weighted bid wins, the reviewer recomputes the report's facts from RPC and rejects mismatches, and the payout splits automatically. The treasurer's two attacks (over-cap spend and a non-allow listed payee) were rejected on-chain. A guardian froze an agent instantly and only a DAO vote could unfreeze it.