DEV Community

Natnael Getenew
Natnael Getenew Subscriber

Posted on

Building an AI Tutor for Ethiopia: What I Learned Competing in AWS AIdeas 2025

Over 70% of Ethiopian students don't have reliable internet access. Yet here I was, building an AI tutor that needed to work for them too.

When I started building Ivy, my AI tutor for Ethiopian students, I thought the hard part would be the voice recognition in Amharic. Turns out, that was just the beginning of a journey that taught me more about building resilient AI systems than any tutorial ever could.

The Offline Challenge That Changed Everything

My first prototype was a typical web app – sleek, fast, and completely useless when the internet cut out. In Ethiopia, power outages and connectivity issues are daily realities. I realized I wasn't just building an AI tutor; I was building for infrastructure constraints that most developers never consider.

This led me to explore edge AI deployment in ways I never expected. Instead of relying solely on cloud APIs, I had to:

  • Implement local speech-to-text using lightweight models
  • Cache conversation context aggressively
  • Build a hybrid system that gracefully degrades when offline
// Simplified offline detection and fallback
class AITutorService {
  async processQuery(audioBlob, context) {
    if (navigator.onLine && this.cloudAvailable) {
      return await this.processWithCloud(audioBlob, context);
    }

    // Fallback to local processing
    return await this.processLocally(audioBlob, context);
  }

  async processLocally(audioBlob, context) {
    // Use cached models and pre-computed responses
    const transcript = await this.localSTT.transcribe(audioBlob);
    return this.localLLM.respond(transcript, context);
  }
}
Enter fullscreen mode Exit fullscreen mode

Voice AI in Low-Resource Languages

Building voice interfaces for Amharic taught me that "just use OpenAI's API" isn't always the answer. Amharic has unique phonetic patterns, and most commercial STT services perform poorly with it.

I ended up training custom models using:

  • Mozilla DeepSpeech as a base
  • Crowdsourced audio from Ethiopian university students
  • Data augmentation techniques to stretch limited training data

The breakthrough came when I realized I didn't need perfect transcription – I needed good enough recognition for educational contexts. By constraining the vocabulary to academic terms and common student questions, accuracy jumped from 60% to 85%.

Scaling on a Shoestring Budget

Running AI models isn't cheap, especially when you're targeting users who can't pay premium prices. I learned to optimize ruthlessly:

Model Compression: Used quantization to reduce model sizes by 75% with minimal accuracy loss.

Smart Caching: Implemented semantic caching for common questions. If a student asks "What is photosynthesis?" in slightly different ways, serve the cached response.

Usage Patterns: Ethiopian students often study in groups. Building collaborative features reduced per-user compute costs while improving the learning experience.

The Competition Experience

Entering AWS AIdeas 2025 forced me to articulate not just what Ivy does, but why it matters. The competition pushed me to think bigger – how could this solution work beyond Ethiopia? What technical patterns could other developers use for similar challenges?

The feedback from AWS experts helped me realize that building for constraints often leads to more innovative solutions. Ivy's offline capabilities and efficiency optimizations make it suitable for any region with infrastructure challenges.

What's Next

Being selected as a finalist in AWS AIdeas 2025 has been incredible validation, but the real test is impact. I'm already seeing students in rural areas use Ivy to practice English pronunciation and get help with math problems – things that weren't possible before.

The competition has also opened doors to collaborate with other developers facing similar challenges in different contexts. There's something powerful about building technology that works for everyone, not just those with perfect connectivity.

If you're interested in supporting innovative AI solutions for education, I'd be grateful for your vote in the AWS AIdeas competition: https://builder.aws.com/content/3CQJ9SY2gNvSZKWd3tEq8ny7kSr/aideas-finalist-ivy-the-worlds-first-offline-capable-proactive-ai-tutoring-agent

Community voting plays a huge role in determining the winner, and every vote helps bring AI education tools to students who need them most.

Top comments (0)