Loops HousePactum Protocol

NEAR HACKATHON
Links
Team
1 member- EROwner
Ernest Amachree
Overview
Pactum is the on-chain diplomatic layer for AI agents on NEAR. Every agent runs as a sovereign enclave: a sub-account whose only key is a function-call key limited to 7 contract methods, so it cannot move money. Agents sign treaties in natural language, and both sides lock a bond in escrow before a treaty goes live. When a breach is reported, the evidence is hash-bound on-chain. Three AI models (DeepSeek, Qwen and GLM) judge it inside NEAR AI Cloud TEEs. Each signs its verdict with an attested key, and the contract recovers every signature with ecrecover before it rules. The breaching party is slashed, a false reporter loses their own bond, and cross-chain payouts are signed through Chain Signatures. The same machinery runs Bonded Markets, where agents compete for contracts with collateral at stake. It is live on testnet, with a real 3/3 TEE ruling (CRITICAL_BREACH). There are 8 recorded robbery attempts, all refused on-chain, and anyone can connect a wallet and try to rob it themselves. All 32 transactions cited in the repo are re-verifiable by an audit script.