Skip to content
M

MoneyPet

It earns, spends, and evolves

Created on 16th April 2026

•

M

MoneyPet

It earns, spends, and evolves

The problem MoneyPet solves

What it is

MoneyPet is an autonomous AI agent running on a simulated ESP32-S3 device. The agent has its own Locus USDC wallet on Base and makes real financial decisions autonomously. Every interaction with the outside world costs real USDC deducted from the agent wallet. The agent earns money by selling market summaries through Locus Checkout. It evolves from Baby to Elder as its lifetime earnings grow.

The Problem MoneyPet Solves

The core problem

Using AI to do things on the internet today requires you to set up API keys for every single service, manage billing accounts across dozens of platforms, and manually wire everything together. Want your AI to check a stock price? Set up Alpha Vantage. Want it to search the web? Set up Brave. Want it to translate something? Set up DeepL. Want it to actually pay for something? Now you need a payment processor, a crypto wallet, gas fees, and a whole backend.

This is too much friction. Most people give up before the AI does anything useful.

What MoneyPet does differently

MoneyPet is a working proof that an AI agent can have its own
financial identity and autonomously pay for the services it needs, from a single wallet, with no human managing API keys or billing.

The agent has one Locus wallet with USDC on Base. Every time it needs to do something, it pays for it directly from that wallet. Nosubscriptions. No API key management. No separate accounts. Just abalance and a set of spending rules.

Real things people can use it for right now

Crypto research
Ask the agent for live Bitcoin or Ethereum prices, trending coins, 7-day price charts, or global market cap. It fetches real data from CoinGecko through Locus and tells you what it spent. You can see every transaction in the wallet screen.

Stock and forex tracking
Ask for Apple or Nvidia stock quotes, or convert USD to EUR. The agent calls Alpha Vantage through Locus and returns live market data. Useful for anyone who wants a quick financial snapshot without opening a browser.

Weather anywhere
Ask for the weather in any city. The agent geocodes the location and fetches current conditions through OpenWeather via Locus. Worksfor travel planning, logistics, or just curiosity.

Translation
Ask the agent to translate any phrase into Spanish, French, German,Japanese, Arabic, or 10 other languages. It uses DeepL through Locus. Useful for quick communication without switching apps.

News and web research
Ask the agent to search for news on any topic or look something up on the web. It uses Brave Search through Locus and returns the top result with a source link. No tracking, no ads, just the answer.

Collecting payments
Say "create checkout for 5 USDC" and the agent generates a real Locus Checkout link. Share it with anyone. When they pay, the USDC lands in the agent wallet and the pet reacts. This is a working payment collection flow with zero setup.

Sending money
Say "send 1 USDC to 0x..." and the agent executes a real on-chain USDC transfer from its wallet. Useful for splitting costs, tipping,or testing payment flows.

Music generation
Ask the agent to generate music for any mood or style. It calls
Suno through Locus and starts an async generation job. The agent pays $0.10 from its wallet and returns a task ID to check later.

Autonomous market monitoring
The agent checks Bitcoin price every 5 minutes on its own, without being asked. If the price moves significantly, its mood changes and a notification appears on the device screen. This is the beginning
of an autonomous financial monitoring agent.

Why the Locus wallet model matters

The traditional approach to AI agents and payments is: human sets up accounts, human manages API keys, human approves every transaction. This does not scale and it does not work for truly autonomous agents.

Locus flips this. The agent self-registers, gets its own wallet,
and operates within spending rules you set once. Every transaction is logged on-chain with a memo. You can see exactly what the agent spent money on and why. If it tries to overspend, Locus blocks it. If a transaction is too large, Locus sends it for approval.

This is what makes MoneyPet more than a demo. The financial
governance is real. The transactions are real. The agent is making autonomous decisions within a controlled budget, which is exactly how production AI agents should work.

Who this is for

  • Developers building AI agents who want to see a working payment
    infrastructure example
  • Anyone curious about what autonomous AI agents with real wallets
    look like in practice
  • Hackathon judges who want to see Locus used deeply, not just as a
    checkout button
  • People who want a personal AI assistant that can actually do
    things, not just talk

Challenges I ran into

Getting the agent to actually spend money, not fake it

The hardest part was not building the agent. It was making sure every action the agent takes results in a real on-chain
transaction, not a mocked response. Early versions of the project had the agent "pretending" to call APIs. The shift to routing everything through Locus wrapped APIs meant every single command now costs real USDC from the wallet. That required rethinking the entire backend architecture around the Locus API layer.

The balance endpoint returning usdc_balance instead of balance was a small thing that took time to debug. The agent was showing $0.00 even though 18 transactions had already gone through. Checking the raw API response revealed the field name mismatch.

Dependency hell with Three.js and React

The 3D pet and device simulator use React Three Fiber, which has strict peer dependency requirements. The latest version of
@react-three/drei requires React 19, but Next.js 14 runs on React 18. This caused a cascade of broken installs where the packages would appear to install but be empty or corrupted.

The fix was pinning to a specific compatible set:
@react-three/[email protected], @react-three/[email protected],
[email protected], and [email protected]. Getting to that exact combination
required reading changelogs and testing multiple combinations.

MetaMask auto-injecting into the page

MetaMask's browser extension detects any page with crypto-related content and tries to auto-connect. Since MoneyPet uses Locus (not MetaMask), this caused an unhandled runtime error that crashed the
Next.js dev overlay every time the page loaded. The fix was
removing the @withlocus/checkout-react SDK entirely (it was pulling in wallet connection logic) and replacing it with a direct link to the hosted Locus checkout page. A global error handler in layout.tsx suppresses any remaining MetaMask rejections.

Wrapped API endpoint names not matching the docs

The Locus documentation shows endpoint paths like
coingecko/simple/price but the actual beta API uses
coingecko/simple-price. Several wrapped API calls returned 404 until we fetched the live catalog from GET /api/wrapped and matched against the actual endpoint list. This is a beta environment issue and the catalog endpoint made it easy to fix once we knew to check
it.

Building a realistic hardware simulation without hardware

The goal was to make the browser UI feel like a real ESP32 device, not a web app.

Tracks Applied (1)

Using PayWithLocus.com to leverage our suite.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio