Bet on whether the USDC to Naira rate will move up or down.
Bet on EURC to USDC rate momentum using an on-chain market.
Study how an AI agent can autonomously open and resolve prediction markets.
Run the agent, backend, and contracts locally to extend the hackathon project.
| musaais/agorafx | 0marildo/imago | agentlexi/agent-lexi | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | Python | Python | Python |
| Setup difficulty | hard | easy | moderate |
| Complexity | 4/5 | 2/5 | 4/5 |
| Audience | developer | general | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
Requires a deployer wallet key, Groq API key, and Arc Testnet RPC access.
AgoraFX is a prediction market app focused on African foreign exchange rates, specifically the USDC to Nigerian Naira rate and the EURC to USDC rate. Instead of a person deciding when to open a new betting market, an autonomous AI agent watches these rates around the clock and creates and resolves the markets on its own, without a human stepping in. The agent has three parts that run on a loop. Every 30 seconds it checks the current EURC/USDC rate from OKX and the USDC/NGN rate from Flutterwave. Every 5 minutes it feeds the recent rate history to a Llama 3.3 model running on Groq, which returns a structured decision about whether a new market should open and what its parameters should be, if nothing shows strong momentum and no market is currently active, it falls back to opening a market on a fixed schedule instead. Every 60 seconds it checks whether any open market has expired, and if so it resolves that market using the final observed rate. Users interact with the app by connecting a crypto wallet, choosing YES or NO on a rate prediction, and depositing USDC. If they guess correctly, they receive a proportional payout drawn from the pool of money bet on the losing side. All of this settlement happens on Arc Testnet, a blockchain built by Circle, which the README says offers fast finality and gas fees around one cent, paid in USDC rather than a separate gas token. The project is split into an agent folder for the AI logic, a FastAPI backend, a set of Solidity smart contracts, and a separate React frontend deployed on Vercel, with a live demo linked in the README. Running it locally requires installing several Python packages including web3, FastAPI, and the Groq client, then setting environment variables for the Arc Testnet RPC URL, a deployer wallet key, the deployed contract address, and a Groq API key, with an optional Flutterwave key for the Naira rate feed. The project was built for the Agora Agent Hackathon hosted by The Canteen alongside Arc and Circle.
An autonomous AI agent that monitors African FX rates and automatically creates and resolves on-chain prediction markets.
Mainly Python. The stack also includes Python, FastAPI, Solidity.
The README does not state license terms.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.