Loops House



TesorerIA
The group's treasury, without a treasurer.

Agents on Open Rails Hackathon
Links
Team
1 member- EMOwner
Emanuel Ruiz
Overview
TesorerIA is an AI treasurer for a group's shared fund in Argentine pesos (wARS) on Celo, used today by a real group: eight friends who split a football pitch every Thursday, and who opened a second fund for their Friday barbecues.
Members join from an invite link with a passkey (no seed phrase, no extension, gas sponsored) and pay their weekly dues in wARS, loaded through Ripio's ramp, or in USDT. The agent changes the USDT to pesos on Uniswap after checking the price against Chainlink, pays back the expense the group agreed on (the pitch) up to a weekly cap, and turns any other payment into a proposal the members vote on. What a member is paid back, they sell for pesos from the app: "Sell with Ripio" opens Ripio's off-ramp, which pays the pesos straight into their bank. Everything is shown in pesos, in Spanish or English.
When a week closes, the agent writes the group a summary on its own: what's in the fund, who still owes their dues and how much, what came in, what was paid back or approved, and the link to contribute. It shows up in the fund's activity for a member to send to the group's WhatsApp or copy, so nobody has to keep the accounts or chase the others. A live fund also takes new members: a newcomer asks from the same invite link, any member proposes them, and the group votes, as on anything else. Someone in more than one fund moves between them from their account.
Where the AI is, and where it isn't: the part that signs and moves money is deterministic code with its own limits, and every decision, including what it didn't do and why, goes to the fund's timeline. The weekly summary is deterministic too: fixed sentences with the same numbers as the screen. The AI is a chat with Claude where members ask about the fund and enter expenses; it never signs. The contract enforces the limits: the agent can only pay members, never above the weekly cap, and can't change the rules.
On mainnet, as of November 2: two funds of the same eight friends. The football fund has closed three weeks, and the barbecue fund its first. Together they took in 36 contributions for ARS 320,169 (23 of them in USDT, each converted to wARS) and paid out ARS 290,000, and everyone was paid up at every weekly close. The pitch costs ARS 80,000, above the agent's ARS 60,000 weekly cap: in the first week the agent paid back ARS 60,000 on its own and an ARS 20,000 proposal got 5 of 8 votes; since then the agent proposes the whole payment and the group votes. The barbecue fund's first vote added a fifth member. The agent's four weekly summaries so far match the chain to the cent. On November 6, a member sold the ARS 10,000 the agent had just paid them back through Ripio's off-ramp, from the app, and Ripio paid the pesos into their bank: from the expense to the bank, the money never left pesos. Every transaction, the agent's and the members' UserOperations, carries celo_fbe4d00a2cb4.
What's next: more groups in Argentina that share a recurring cost (a flat, a trip, a padel court), measured in groups, members, wARS moved and the share of dues paid directly in wARS (13 of 36 so far); wBRL or wMXN, with a factory of their own once a pool holds enough liquidity; and MiniPay, to reach people where they already hold stablecoins.
The football fund, read-only and with names hidden: https://tesoreria.finance/f/0x9A74F670F3c59Ae4B8450fdD477b0461b89D2dfD/publico FundFactory 0xdF3B0d9edCA58Aac7c9Db4F2931f3559daf82020, the football fund 0x9A74F670F3c59Ae4B8450fdD477b0461b89D2dfD and the barbecue fund 0x4f450A9F80B44100aC335D6185B7486870Abd42c are verified on Sourcify (exact match). Agent wallet 0x6BE3c1eB63A4edbc6C23c281F93F81B14eF3a671, ERC-8004 agent id 9887. For agents: https://tesoreria.finance/llms.txt