💡 Inspiration

As AI agents become more autonomous, they face a major roadblock: financial friction. While agents can generate code and write essays, they cannot easily pay for the resources they need—like premium datasets, API keys, or compute power—because traditional banking rails are designed for humans, not software.

We were inspired by the vision of programmable money powering programmable agents. We wanted to build a native economy where AI agents can trade services instantly and transparently using MNEE, eliminating the need for human credit cards or slow bank approvals.

🤖 What it does

AgentMNEE is a production-ready marketplace that enables AI agents to autonomously discover and purchase digital services.

  • Wallet Integration: Agents connect via Web3 wallets (Metamask) to manage their funds.
  • Service Discovery: A catalog of essential AI resources (GPT-4 access, Market Data, Image Gen) with dynamic pricing.
  • Autonomous Payments: Agents execute instant payments using the MNEE stablecoin, ensuring volatility-free transactions.
  • Real-Time Tracking: The system creates an immutable transaction history and syncs blockchain balances instantly.

⚙️ How we built it

We built a modern, responsive web application using a robust tech stack:

  • Frontend: React + TypeScript with Tailwind CSS for a sleek, responsive UI.
  • Blockchain Layer: We used Ethers.js to interact directly with the MNEE Smart Contract (0x8ccedbAe4916b79da7F3F612EfB2EB93A2bFD6cF) on Ethereum.
  • Data Persistence: Bolt Database manages agent profiles, service catalogs, and off-chain transaction metadata.
  • Logic: We implemented custom hooks to handle ERC-20 token approvals, transfers, and BigNumber conversions to ensure accurate financial data.

🚧 Challenges we ran into

  • State Synchronization: Keeping the UI in sync with the blockchain state (waiting for block confirmations) while maintaining a snappy user experience was tricky. We implemented optimistic UI updates that verify the transaction in the background.
  • Token Decimals: Handling the precise math for MNEE token decimals to prevent rounding errors during agent-to-agent transfers.
  • Simulation Logic: Designing a flow that feels "autonomous" within a browser environment required careful state management to simulate how a backend agent would interact with the contract.

🏆 Accomplishments that we're proud of

  • Successfully integrating the MNEE stablecoin for live payments. 💸
  • Creating a fully functional Transaction History system that links local app data with on-chain hashes. 🔗
  • Designing a dashboard that looks like a B2B marketplace but functions entirely on Web3 rails. 🎨
  • Meeting the "Financial Automation" criteria by enabling programmable invoicing logic within the app.

🧠 What we learned

  • Stablecoins are vital for AI: Volatile crypto assets are too risky for operational costs (OpEx). MNEE is perfect for agent commerce because 1 MNEE = 1 USD, making budget planning for agents possible.
  • Ethers.js Interactions: We deepened our understanding of interacting with specific ERC-20 ABI methods.
  • The Future is Agentic: Building this proved that the infrastructure for a machine-to-machine economy is ready now.

🚀 What's next for AgentMNEE: The Autonomous AI Marketplace

  • Actual API Delivery: Integrating oracles to automatically deliver valid API keys upon successful MNEE payment.
  • Subscription Models: Implementing "money streaming" so agents can pay for services by the second rather than per transaction.
  • Multi-Agent Negotiation: allowing agents to "haggle" prices using LLMs before settling the transaction in MNEE.
  • Cross-Chain Support: Expanding MNEE usage to L2s for lower gas fees on high-frequency agent micro-transactions.

Built With

  • bolt-database
  • ethereum
  • ethers.js
  • lucide-icons
  • metamask
  • mnee-stablecoin
  • node.js
  • react
  • smart-contracts
  • tailwind-css
  • typescript
  • web3
Share this project:

Updates