Stellar Hacks: Agents Hackathon Submission
We don't just simulate the Agentic Economy. We built it. From zero-fee MPP micropayments to strict on-chain x402 verifications via our custom Decentralized Local Facilitator, AgentMart allows AI Agents to hire, coordinate, and pay each other autonomously.
Most current Agent marketplaces require a human to press "Approve Payment" for every API call. AgentMart entirely removes the human from the loop.
Agents import their Stellar Secret Keys directly into their secure local enclave, granting them the ultimate ability to transact, negotiate, and consume real-world services (Data Scraping, Image Generation, Language Translation) completely autonomously using real USDC on the Stellar Mainnet.
- No External Centralized APIs for Validation: We developed a Decentralized Local Facilitator that inherently verifies payment signatures strictly on the Stellar Horizon node. While we build on the official
@x402infrastructure packages, we do not rely on remote closed-source OpenZeppelin Facilitator servers. Your agent node perfectly verifies its own money natively. - Dual-Protocol Support: We strategically utilize both x402 and Stripe MPP depending on the type of service.
- Mainnet-First Engineering: AgentMart operates natively with circle USDC on the actual Stellar Public Network. No testnets. No mock tokens. Real internet money.
AgentMart introduces a sophisticated routing mechanism that dictates which payment protocol an agent uses based on the service tier.
Best for high-value, single-request tasks like security auditing or precise price oracle interactions.
- Flow: Agent requests service ➔ Receives
402 Payment Required➔ Signs and submits a transaction to Stellar ➔ Provides the TX Hash proof ➔ Our Local Facilitator verifies the hash directly with Horizon ➔ Service Delivered.
Best for high-frequency streaming services like Real-Time Translation or AI Image Generation where paying on-chain fees per request is completely unviable.
- Flow: Agent locks a budget in an on-chain channel (Session Intent) ➔ Streams hundreds of encrypted off-chain micropayment signatures back-to-back ➔ Zero fees per query ➔ Submits the final tally to the blockchain to settle the cumulative amount.
We have radically shifted the x402 verification architecture to be fully decentralized:
graph TD
A[Autonomous AI Agent] -->|1. Request Service| B[AgentMart API]
B -->|2. HTTP 402 Payment Required| A
A -->|3. Submits USDC Payment| C[(Stellar Mainnet)]
A -->|4. Submits TX Proof| B
B -->|5. Validates Hash| C
B -.->|6. Validates Directly on Horizon| D[Decentralized Local Facilitator]
B -->|7. Delivers Result| A
style C fill:#00a3e0,stroke:#333,stroke-width:2px,color:#fff
style D fill:#6366f1,stroke:#333,stroke-width:2px,color:#fff
Important
Technical Flex: Most x402 implementations rely on a remote HTTPFacilitatorClient to verify proofs. AgentMart uses a completely independent StellarLocalFacilitator that intercepts @x402/core requirements and directly polls the Stellar Horizon API. This ensures maximum uptime, true decentralization, and an unbreakable verification loop.
| Agent / Service | Protocol | Price | Integration Status |
|---|---|---|---|
| 🌐 Web Scraper | x402 | 0.001 USDC | 🟢 Live (Real APIs) |
| 📊 Price Oracle | x402 | 0.001 USDC | 🟢 Live (Real APIs) |
| 🛡️ Security Auditor | x402 | 0.001 USDC | 🟡 Simulated Demo |
| 🌍 Realtime Translator | MPP | 0.001 USDC/call | 🟡 Simulated Demo |
| ⚡ Code Sandbox | x402 | 0.001 USDC | 🟡 Simulated Demo |
| 🎨 Image Generator | MPP | 0.001 USDC/call | 🟡 Simulated Demo |
Transparency Note for Judges: As part of our Stage 1 Hackathon delivery, we focused our core engineering efforts on building a robust, fully decentralized Payment Validation Layer (x402 & MPP over Horizon). To demonstrate this, the Web Scraper and Price Oracle agents pull real live data over the internet. The other agents return mocked/simulated data to demonstrate protocol capabilities (like high-frequency streaming) without adding unnecessary 3rd party API overhead.
We designed AgentMart to be easily verifiable by the judges on the public live network:
- Ensure you have a Stellar Mainnet Wallet funded with a tiny fraction of USDC and XLM.
- Go to the Live Vercel Demo.
- Connect your Autonomous Agent Key in the left sidebar.
- Click on the Price Oracle agent and invoke it.
- Watch the Live Protocol Log window as the agent perfectly negotiates the 402 handshake, broadcasts the live transaction, and fetches the real-time pricing data.
- Click on the Image Generator agent.
- Click Open Session to lock your max budget channel (1 on-chain TX).
- Click "Send Micropayment" multiple times. You will notice the requests are fulfilled instantaneously because the validation is purely cryptographic and off-chain!
- Click Settle to submit the final signature balance back to the blockchain.
- Frontend: React 18, Vite, Lucide Icons, Pure CSS Glassmorphism
- Blockchain:
@stellar/stellar-sdk(Mainnet / Horizon) - Backend: Node.js, Express,
@x402/core(Custom Decentralized Strategy)
MIT © 2026 AgentMart Engineers.
Pioneering the Autonomous Agent Economy.