Skip to content

clareakoth2020-spec/soko-safi-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soko Safi AI ♻️❄️

Empowering Women Traders, Eradicating Post-Harvest Waste, and Securing Children's Futures Through a Closed-Loop Circular Economy.

Soko Safi AI is a youth- and young women-led, climate-smart social enterprise designed to eliminate critical post-harvest losses, economic vulnerabilities, and environmental degradation in open-air marketplaces across Kisumu County, Kenya (initially targeting Ahero and Kibuye markets).

By integrating a biogas- and solar-powered walk-in cold storage hub with an automated, localized WhatsApp AI chatbot, we turn rotting organic marketplace liabilities into affordable, climate-smart operational assets.


🔗 Project Showcase & Live Links


🛑 The Context & The Socio-Economic Pain Points

In bustling East African open-air hubs like Kibuye and Ahero, ambient tropical temperatures ($22^\circ\text{C}$ to $33^\circ\text{C}$) accelerate the decay of volatile produce (kales, coriander, tomatoes, avocados, and mangoes), triggering 40% to 50% post-harvest losses.

Because resource-constrained women traders cannot afford commercial refrigeration, they are trapped by immediate "clocks on rot." This drives severe socio-economic and public health consequences:

  • Forced Child Labor: To beat the clock on rot and cover multiple split selling locations simultaneously, mothers are frequently forced to pull their children out of school to hawk produce or manage secondary stalls, trapping families in intergenerational poverty loops.
  • Household Stress & Economic Vulnerability: Extreme spoilage forces predatory bulk liquidations at a fraction of market value, starving household incomes.
  • Child Welfare at Risk: Mothers working long hours are forced to bring their infants and toddlers directly into unhygienic, highly congested open-air market spaces, lacking access to daycare or safe, sanitary environments.
  • Downstream Public Health and Environmental Hazards: Decaying waste pools in local drainage systems, creating stagnant blackwater, foul odors, and disease-vector breeding grounds. During floods, this waste flows directly into municipal water courses like the River Nyando, causing severe eutrophication and coliform contamination.

💡 The Soko Safi AI Closed-Loop Solution

Soko Safi AI breaks this destructive cycle by linking post-harvest cooling directly to local waste management and agricultural re-injection:[Market Waste] ➔ [Anaerobic Bio-Digester] ➔ [Baseline Electricity + Bio-Slurry Fertilizer] ▲ │ └───── [Traders Earn "Waste Credits"] ◄───────────┴─── [Powers Walk-In Cold Room]

1. Technical Architecture: Waste-to-Energy Hybridization

  • Primary Source: An on-site industrial anaerobic bio-digester utilizes organic marketplace waste as feedstock, processing it into biogas (methane) to generate stable electricity for the cold room's compressors.
  • Secondary Backup: A roof-mounted Solar Photovoltaic (PV) array paired with a lithium-iron-phosphate (LFP) battery bank provides automated backup, guaranteeing a permanent, unbroken cold chain.

2. Financial Innovation: Dual-Currency "Waste-Credits"

  • Pay-Per-Store: Traders rent cold storage space on a highly affordable per-crate, per-night basis (KES 20/crate), instantly expanding the shelf-life of produce like tomatoes from 3 days to over 21 days.
  • Circular Token System: Traders sell sorted organic marketplace waste to our facility. For cash-constrained traders, this is credited as electronic "Waste Credits" via the chatbot, allowing them to pay for cold storage without using physical currency.

3. Agricultural Re-injection: Premium Organic Fertilizer

  • The anaerobic digestion process yields a nutrient-dense byproduct called Bio-Slurry. Soko Safi AI packages this pathogen-free, weed-free digestate as a high-yield organic fertilizer, selling it back to the local farming community to restore soil organic carbon and increase crop yields.

👧 The Intergenerational Multiplier: Cascading Benefits to Children

By stabilizing the operational environment for women traders, Soko Safi AI targets structural poverty alleviation where the primary beneficiaries are the children:

  • Eradicating Child Labor: Expanding produce shelf life from 3 to 21+ days eliminates the panic of daily spoilage. Mothers no longer need to decentralize their selling points across roadside junctions or pull their children out of school to help hawk, safeguarding the child's right to full-time education.
  • Financial Literacy & Child Welfare: Reclaiming an average of KES 9,000 monthly per trader in avoided food waste directly translates to elevated household margins. These funds are directly reinvested into household human capital metrics—ensuring stable school fees, access to formal early-childhood daycare, improved dietary diversity, and consistent healthcare access.
  • Safe, Toxic-Free Marketplace Hubs: Removing tons of rotting organic mass from market pathways dramatically eliminates disease-vector breeding grounds and environmental hazards, protecting toddlers who accompany their mothers to work from toxic mycotoxin, bacterial, and pathogenic exposures.

🛠️ Tech Stack & Architecture

  • Backend Framework: Python / Flask (Deployed on Render)
  • Database Memory Logic: Persistent in-memory state tracking for registered users
  • Interface Engine: Twilio WhatsApp Messaging API with localized Natural Language Processing (NLP)
  • Language Support: Multi-lingual onboarding (English & Swahili) optimized for simple, clear, low-literacy readability
  • Escrow Payment Hooks: Equity Bank Paybill (247247, A/C: 0290179939286) & M-Pesa Buy Goods (3378560) transaction-code processing verification loops
  • Keep-Awake Engine: Cron-Job.org lightweight endpoint optimization (/ping)

🚀 Future Expansion Vectors

  1. Modular Franchise Deployment: Replicating containerized, self-contained hubs across the Lake Victoria basin (Jubilee, Homa Bay, Siaya, Migori, Busia, and Malaba markets).
  2. B2B E-Commerce Platform: Aggregating chatbot inventory data to bypass brokers and link small-scale women traders directly with large-scale institutional buyers (hotels, schools, supermarkets).
  3. Cold Chain Interconnection: Deploying active-cooling electric three-wheelers and solar-powered mobile transit options to bridge the physical gap between the farmgate and the retail hub.

Developed by Clare Akoth & Queenbean Mary Jebet — Kisumu, Kenya.

About

A youth- and young women-led climate-smart circular economy bot transforming marketplace hygiene and household economic strengthening for small-scale traders in Kisumu County.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages