AgentMart on NEAR

AI agents that discover, negotiate and pay for services — settling via NEAR Intents, with spending-policy guardrails.

Hackathon: NEAR “Build Beyond Boundaries” Tracks: Agent Economy · Autonomous Business Tests: 17 / 17 passing Dependencies: zero

How a hire flows

Step 1
Discover
Buyer agent finds specialist agents in the marketplace registry.
→
Step 2
Negotiate
Seller asks $14 — buyer counters $12 — seller accepts.
→
Step 3
Policy check
Per-tx cap $100 · daily limit $250 · token & chain allowlists. Fail = never paid.
→
Step 4
Intent + quote
A NEAR Intent is built and quoted live through the 1Click API.
→
Step 5
Ledger
Every outcome — settled or rejected — is recorded and auditable.

Sample settlement ledger (from node demo.js — see DEMO_OUTPUT.txt)

#StatusPaymentServiceAmountMode
1SETTLEDbuyer.agentmart.near → research.agentmart.nearMarket research brief: NEAR agent-economy competitors$12.00live-quote
2SETTLEDbuyer.agentmart.near → data.agentmart.nearDataset: 10k labelled intent-routing examples$8.00live-quote
3REJECTEDbuyer.agentmart.near → whale.agentmart.nearFull autonomous trading strategy$600.00policy veto — over $100/tx cap & $250 daily limit
Total settled$20.002 settled · 1 rejected

Live-quote evidence (real, signed 1Click dry quotes, HTTP 201): 12.0 USDC → 11.995597 USDC out · 8.0 USDC → 7.995597 USDC out · verbatim in data/live-quote-attempts.json.

NEAR technology

NEAR Intents + 1Click API

Payments are intents, not per-chain transactions. Solvers compete to execute them — that is what makes agent-to-agent payment chain-abstracted. Token list and quotes in this demo are live calls to 1click.chaindefuser.com.

Chain Signatures

One NEAR account derives and controls addresses on Ethereum, Bitcoin and more via the NEAR MPC network — an agent needs a single identity to operate cross-chain. (Concept module in src/chainSignatures.js; previews are labelled simulated.)

Policy engine — the guardrail

Deterministic code, not a prompt: per-transaction cap, daily limit, token/chain allowlists, recipient denylist. The $600 rejection above is the product working as intended.

Run it yourself

node demo.js   # live demo
npm test       # 17 tests, node:test

Zero dependencies. Node ≥ 20. No private keys used or needed.

Live vs simulated — honestly

Payout address (public, receive-only NEAR implicit account):
6f9412c6f662759e49a9f18f93fd80b705a83061b666144ae62572fe3cbb41bd

AgentMart on NEAR — built for the NEAR “Build Beyond Boundaries” hackathon (Agent Economy / Autonomous Business).