I'm building "Continuity Agent," a hybrid token-efficient AI routing system for the AMD Developer Hackathon ACT II (Track 1). It's an offline-first backend that helps small Ethiopian businesses keep recording sales during internet or mobile payment outages.
# 🔌 Continuity Agent
### *Keeping small business sales alive when the internet — or the payment network — goes down.*
---
### 🚀 Quick Links
🏠 Live Demo •
📚 API Docs •
⚡ Quick Start •
🧠 How It Works •
🗺️ Roadmap
---
## 📸 Screenshots & Demo
### Interactive Dashboard
The React dashboard provides real-time transaction monitoring, manual sync control, and a built-in code explorer.
**Note:** the React dashboard is a UI/UX concept demo. Core functionality (offline queue, hybrid AI routing, sync engine) is fully implemented and verifiable directly via the FastAPI backend at /docs (Swagger UI).
Live transaction table with AI routing status indicators
### API Documentation
FastAPI automatically generates interactive API documentation at `/docs`.
Swagger UI with all endpoints and live testing
### Hybrid Routing in Action
Watch transactions flow through the two-tier AI system:
1. **Llama 3.1 8B** classifies each transaction (simple/complex)
2. **Llama 3.1 70B** generates audit notes for flagged transactions
3. **Rule-based fallback** ensures continuity when API is unavailable
---
## 🎯 The Problem
In Addis Ababa and across Ethiopia, small businesses — shops, restaurants, hotel front desks — depend on mobile networks and payment rails like **Telebirr** and **CBE Birr** to record every sale. When the internet drops or a payment provider goes down (a frequent, well-documented occurrence), sales simply stop being recorded. Merchants fall back to paper, memory, or lost revenue. Reconciliation is manual, error-prone, and costly.
**This isn't a hypothetical** — it's a daily operational risk for millions of small merchants across emerging markets, wherever mobile-first commerce has outrun infrastructure reliability.
### Real-World Impact
- 📉 **Lost Revenue**: Sales during outages often go unrecorded
- 📝 **Manual Reconciliation**: Hours spent matching paper records to digital systems
- ❌ **Accounting Errors**: Human mistakes in manual data …