Loops HouseMesh

NEAR HACKATHON
Team
1 member- GOOwner
Godspower Ojini
Overview
Mesh is an AI-first procurement command center: agents do the legwork, a human holds the keys, and NEAR enforces the limits.
An operator chats with a Head Agent and five specialists (Scout, Compliance, Negotiator, Settlement, Guard). From one sentence the Head Agent drafts an RFQ, and nothing is created until the operator approves it in chat. Scout searches the live web and can only propose suppliers from URLs its own search returned; adding one also needs approval. Supplier selection is checked server-side against company policy (freeze, bid count, budget, region, documents, per-order, approval-threshold and daily limits), atomically, so racing clicks can't exceed them.
Settlement runs through a Rust escrow contract deployed on NEAR testnet (mesh.vitalant5887.testnet). The owner funds an order; the server verifies the funding tx at FINAL. The Mesh server holds only a function-call key limited to release_milestone and freeze, under a daily cap and an expiring mandate, and can pay only the supplier fixed at funding. Each payout records a hash of its evidence on-chain, is idempotent, and is shown paid only after the contract reads back Released. Freeze stops payouts on-chain; only the owner can unfreeze. Verified live: funding, two milestone payouts, a wrong hash refused, a payout refused while frozen.
Every chat turn, tool call, approval and refusal is audited. AI is a tool for people, not a replacement: agents prepare, humans decide.
Stack: Next.js 16, React 19, Vercel AI SDK + Gemini, Drizzle/libSQL, near-sdk 5 contract, @near-js, wallet-selector with Meteor. 47 Playwright e2e tests, 19 contract unit tests.
Next: NEAR Intents for cross-chain stablecoin settlement on mainnet (Intents has no testnet); escrow amounts use a fixed testnet plan, not the bid's USD value yet.