ArcAgent: my first hackathon, one week, and a voice note that sends money
I signed up for my first ever hackathon, teamed up with two people on another continent, built a WhatsApp payment agent in a week, and somehow walked out with Best ElevenLabs Integration.
I'd never done a hackathon before. I always had a reason not to: no time, no team, no idea, "next one for sure". Then lablab.ai announced one about AI agents on Arc with USDC, and for once I just clicked "register" before I could talk myself out of it.
A week later we had a working product, a demo video, and a prize: Best ElevenLabs Integration. My first hackathon, and we won something. I'm still a little surprised.
The team
I signed up solo, which on lablab means you end up in the team-matching channels saying hi to strangers. I ended up with two people from Africa, a few time zones away from me, so our "standup" was whenever our hours overlapped and the rest was async messages and voice notes. (Fitting, as you'll see.)
My part was the architecture and the code: I designed how the whole thing fits together and built the backend and the frontend in that one week. It was a lot. It was also the most fun I've had programming in a long time.
The idea: money, inside the chat you already use
The pitch is simple: send USDC from WhatsApp, by just saying it. No app to download, no seed phrase, no copying addresses between three tabs. You open the chat and type, or say, "send 5 dollars to Juan".

Here's what it does:
- Sign up by saying "Hi". The bot creates your account and sends you a one-time link to set a PIN. The PIN never goes through the chat.
- A real wallet behind the scenes. It creates a Circle wallet for you on the Arc testnet.
- Talk to it like a person. "What's my balance?", "send 1.00 to 0x91f2…", "show my last transactions".
- Confirm before anything moves. Every payment needs a
CONFIRM(orCANCEL) first. - Voice notes, both ways. Send a voice note and it understands it. It can answer with a voice note too.

How it's built (the short version)
I promised myself this wouldn't be a 4,000-word architecture doc, so here's the tour:
WhatsApp → Twilio → Cloudflare Worker (the "brain")
↓ tool calls
FastAPI backend → Temporal workflows → Circle / Arc
↕
ElevenLabs (voice in, voice out)
- Twilio connects WhatsApp to the rest. Every message arrives as a webhook.
- A Cloudflare Worker running Llama 3.1 decides what you want. It doesn't parse text with regex. It has a set of tools (
sendMoney,checkBalance,confirmAction…) and the model picks which one to call. - FastAPI is the backend those tools talk to: users, PINs, wallets, all in Postgres.
- Temporal runs the important stuff, like signing up and sending payments, as workflows. This was the decision I'm proudest of. Payments touch three external services, and any of them can fail halfway. With Temporal, every step retries on its own and a flow can wait (for example, for your
CONFIRM) without me writing a pile of state-machine code. - Circle handles the wallets and the USDC transfers on Arc.
- Next.js for the landing page, with the demo and the pitch.
The whole backend comes up with one docker-compose up: Postgres, Temporal, its UI, the API and the worker. In a one-week hackathon, being able to reset everything in thirty seconds saves you more than once.
The ElevenLabs part (a.k.a. the part that won)
To be honest, the ElevenLabs integration was one of the parts I was most excited about. I've been a fan of the company since they started, and I'd been dying to get my hands on their APIs.
In much of the world, voice notes are how people use WhatsApp. Lots of people would rather record 40 seconds of audio than type a sentence. So if the assistant lives in WhatsApp, it should understand voice notes.
The flow:
- You record "send two dollars to my brother".
- Twilio hands me a link to the audio. The backend downloads it and sends it to ElevenLabs Scribe (speech-to-text).
- The text goes to the agent as if you had typed it. Everything after that is the same as a text message.
- The reply goes through ElevenLabs text-to-speech (the multilingual model) and comes back to you as a voice note.
The funny part is how little code this needed once the rest was in place. Because the agent only cares about text, voice was a layer on top: audio in, text through the middle, audio out. Most of the work was the boring stuff, like WhatsApp sending audio in a format I didn't expect, and having to upload the generated audio somewhere Twilio could fetch it.
Sending a voice note and watching a real transaction show up on the explorer a few seconds later never got old.
Things I learned in one week
Pick boring infra and a spicy idea. The idea was a bit wild (an AI moving money from a chat app). Everything under it was proven: Postgres, FastAPI, Docker, Temporal. When something broke late at night, it was always my code, never some new tool's bug I'd have to work around.
Make the LLM choose, not do. The model never moves money. It just decides "this looks like sendMoney, $1, this address". Then the backend checks everything and a human confirms. Small models get things wrong now and then, so that's how it should be.
Retry everything, because the free tiers will fail. The AI calls fail sometimes, webhooks time out, testnets get slow. Temporal on the backend and a simple retry with backoff on the AI calls were the difference between "demo works" and "demo works on the second try, live, in front of judges".
Time zones are a feature. I'd hand off at night and wake up to feedback. It felt like the project was being worked on for 24 hours a day.
Just sign up. I almost didn't. That's the real lesson.
Take a look
The code is all on GitHub: github.com/andyanalog/arc-agent. The README walks through setup (you'll need Twilio, Circle and Cloudflare accounts, plus an ElevenLabs key for voice). It runs on testnet, so the money is fake, but the fun is real.
It's hackathon code, so there are rough edges and a TODO: remove every hardcoded value I'm still looking at. But it works, it won, and it was my first one. Not a bad start.