Today's Edition

A computer engineer from Tanzania building software, AI applications, and web systems that solve real problems.

My focus is REST APIs, RAG, and practical products that people actually use.

Outside of code, I write on Medium about technology and engineering, and about life, lessons, and who we are becoming.

Masthead

Portrait of Victor A. Kabugumila

The Developer Profile

Dar es Salaam, Tanzania

Editorial Profile

A computer engineer building software, AI, and web systems

About the Developer

I am a computer engineering graduate building software, AI applications, and web systems for real problems. I approach every project with an emphasis on clarity, structure, and practical solutions.

I work with Django, FastAPI, REST APIs, and data systems, and I now apply that same discipline to RAG: document processing, embeddings, vector search, and generated responses. The goal is software that stays reliable as it grows.

On the product side I build with React and Next.js. Alongside development I handle IT support and networking, including MikroTik Wi-Fi and day-to-day troubleshooting.

Technology Columns

Languages, AI, data, and the tools behind the work

Languages & Frameworks

PythonDjangoFastAPIJavaScriptReactNext.js

AI & Data

RAGEmbeddingsVector SearchSQLPostgreSQL

Tools & Infrastructure

GitGitHubDockerPostmanLinuxMikroTikWireshark

Applied Strengths

REST APIsIT SupportNetworkingDebuggingDocumentation

Front Page Stories

Featured projects, engineering notes, and solved challenges

LiveProduction / 2026Editor's Pick

Toovii Customer Support Chatbot

AI customer support chatbot for bilingual FAQs in English and Kiswahili, powered by RAG over a knowledge base.

Production chatbot for Toovii Tanzania: FastAPI backend with hybrid retrieval (embeddings and BM25), containerized with Docker, and live on toovii.com.

AIRAGBackendCustomer Support
Read full engineering notes

Tech Stack

  • - Python
  • - FastAPI
  • - RAG
  • - SQLAlchemy
  • - Embeddings
  • - BM25
  • - Docker

Highlights

  • - Bilingual FAQ answers in English and Kiswahili
  • - RAG pipeline with embeddings and BM25 retrieval
  • - Dockerized deployment on toovii.com

Challenges Solved

  • - Built reliable retrieval over a structured FAQ knowledge base
  • - Shipped a production-ready API for real customer support traffic
LiveEdition 05 / 2026Editor's Pick

SafariAI Tanzania

A visitor AI agent for Tanzania's 21 national parks: live TANAPA fees, park facts, and visa rules, with a citation on every answer.

A hybrid RAG agent that answers park-visitor questions in English and Kiswahili. It combines structured fee and visa lookups (synced from TANAPA twice a day) with BM25 and pgvector search, reranks by authority and freshness, and lets DeepSeek write only from tool results, with a grounding check that rejects any uncited figure.

AIRAGAgentsTourismBackend
Read full engineering notes

Tech Stack

  • - Python
  • - FastAPI
  • - PostgreSQL
  • - pgvector
  • - BM25
  • - DeepSeek
  • - Docker
  • - JavaScript

Highlights

  • - Park entry fees for travel dates and full-group trip totals via a calculator tool
  • - Hybrid retrieval: structured tools, BM25, and vector search with authority/freshness reranking
  • - Every answer cites its official TANAPA or Immigration source
  • - Bilingual (English and Kiswahili) with downloadable PDF trip summaries

Challenges Solved

  • - Kept prices exact by routing all fee math through tools instead of the model
  • - Demoted superseded tariffs so expired fees never outrank current ones
  • - Built a grounding check that rejects uncited figures and falls back to a deterministic composer
LiveEdition 01 / 2026

PastoralProtect

A climate risk platform that automates protection workflows for pastoral communities.

Built as a backend-first system replacing manual insurance with a rules-driven pipeline. It uses NDVI triggers, IPFS/Filecoin storage, and oracle validation to enable transparent, automated payouts.

BackendAPIWeb3Social Impact
Read full engineering notes

Tech Stack

  • - FastAPI
  • - Python
  • - PostgreSQL
  • - SQLAlchemy
  • - IPFS / Filecoin
  • - Solidity
  • - Next.js

Highlights

  • - End-to-end flow: enrollment → trigger → validation → payout
  • - Verifiable storage with IPFS/Filecoin and data integrity checks
  • - Role-based access for secure operations
  • - API-first design for dashboards and integrations

Challenges Solved

  • - Prevented duplicate and tampered data with validation and hashing
  • - Structured backend workflows for automated insurance logic
  • - Designed for scalability in low-connectivity environments
LiveOpen Source / 2026

mpesa-tz

A lightweight Python package for M-Pesa Tanzania payments via the Vodacom M-Pesa OpenAPI, published on PyPI.

An installable Python package (pip install mpesa-tz) that wraps the Vodacom M-Pesa OpenAPI for Django, Flask, FastAPI, or plain Python. It handles authentication and session keys, validates inputs before sending, and maps every M-Pesa response code to a clear error.

Python PackageFintechPaymentsOpen Source
Read full engineering notes

Tech Stack

  • - Python
  • - M-Pesa OpenAPI
  • - Django
  • - Flask
  • - FastAPI
  • - PyPI

Highlights

  • - STK push (C2B), B2C and B2B payments, transaction status, and reversals
  • - Ready-made Django app with payment records, admin page, and callback endpoint
  • - Sandbox and production modes plus a CLI for quick checks

Challenges Solved

  • - Hid M-Pesa session-key encryption and auth behind a simple client
  • - Caught bad phone numbers, amounts, and references before hitting the API
  • - Turned raw M-Pesa response codes into clear, actionable errors
In ProgressEdition 02 / 2026

SoshoPay

A fintech payment system prototype designed for seamless, API-driven transactions across mobile and web platforms.

Built SoshoPay as a backend-focused system to simulate real-world digital payments, handling secure transaction flows, account state management, and integration-ready APIs. The system is designed to support mobile money workflows and scalable fintech use cases.

FintechDjangoMobile PaymentsWhatsApp Integration
Read full engineering notes

Tech Stack

  • - DJANGO
  • - Python
  • - SQL
  • - JWT
  • - redis
  • - Next.js

Highlights

  • - Secure, token-based transaction endpoints
  • - Structured account and balance state management
  • - API-first design for easy third-party integration

Challenges Solved

  • - Designed idempotent transaction handling to prevent duplicate payments
  • - Built consistent validation and error handling for reliable API consumption
Private DemoTeam Hackathon / 2026

POS Web App

Point-of-sale web solution for transaction, stock, and reporting.

A full stack POS concept built with a backend-first architecture to manage products, daily sales, and transaction history for growing small businesses.

Full StackRetailAPI
Read full engineering notes

Tech Stack

  • - Django
  • - React
  • - PostgreSQL
  • - REST API

Highlights

  • - Fast product search and checkout flow
  • - Inventory updates linked to each sale
  • - Business-ready daily summary exports

Challenges Solved

  • - Balanced simple UX with strict transaction accuracy
  • - Improved reporting query performance for larger datasets
LiveEdition 03 / 2026

Career Docs Generator

Full-stack app to create CVs and professional letters with AI (DeepSeek), plus PDF and Word export.

Users build structured CVs and letters from templates, enhance copy with AI, and authenticate securely while exporting polished documents via ReportLab (PDF) and python-docx (Word). React (Vite) frontend talks to a Django REST API; deployed with the frontend on Vercel and a production-ready backend workflow.

Full StackAIDocumentsSaaS
Read full engineering notes

Tech Stack

  • - React
  • - Vite
  • - Django
  • - Django REST Framework
  • - PostgreSQL
  • - DeepSeek AI

Highlights

  • - CV builder with multiple templates and AI suggestions for summaries, experience, and skills
  • - Letter generator (cover letters, applications, recommendations, resignations) with contextual AI drafts
  • - Exports to PDF and Word from the same structured document models
  • - Token-based auth with optional Google sign-in for production setups

Challenges Solved

  • - Split frontend/backend deployment (Vercel + Render) with correct API base URL and CORS/CSRF configuration
  • - Modular AI and export services integrated with REST endpoints without coupling document storage to formatting
  • - PostgreSQL migrations on startup to avoid mismatches between local SQLite and hosted databases
LiveEdition 04 / 2026

CoffeeChain

A blockchain-based fertilizer distribution platform connecting the entire coffee supply chain from suppliers to farmers.

CoffeeChain leverages blockchain technology to bring transparency and traceability to fertilizer distribution across the coffee value chain. It connects suppliers, AMCOS (Agricultural Marketing Co-operative Societies), retailers, and farmers in a single verifiable platform, ensuring inputs reach the right hands at every stage.

BlockchainAgriTechWeb3Social Impact
Read full engineering notes

Tech Stack

  • - JavaScript
  • - Blockchain
  • - Node.js
  • - Smart Contracts

Highlights

  • - End-to-end traceability from supplier to farmer
  • - Blockchain-backed distribution records for accountability
  • - Connects suppliers, AMCOS, retailers, and farmers in one flow
  • - Transparent fertilizer allocation and delivery tracking

Challenges Solved

  • - Designed a multi-role system covering all supply chain actors
  • - Used blockchain to prevent fraud and ensure fertilizer integrity
  • - Built for rural contexts where accountability gaps are most severe
Private DemoFIELD PROJECT / 2025

DHIS2 SQL Visualizer

SQL query visualization helper for health data interpretation.

A tooling project inspired by DHIS2-related workflows to help inspect SQL output and improve clarity while working with health information datasets.

HealthTechSQLBackend
Read full engineering notes

Tech Stack

  • - Typescript
  • - React
  • - SQL
  • - Data Visualization
  • - Tailwind CSS

Highlights

  • - Query result previews with contextual notes
  • - Cleaner debugging flow for SQL-based reports
  • - Improved interpretation for non-specialist users

Challenges Solved

  • - Made dense SQL output easier to communicate
  • - Built reusable query helpers for repeat workflows
PrototypeEdition 03 / 2025

Land Registry

A secure Django-based prototype for managing land records in Tanzania using blockchain technology.

A blockchain-backed land registry system that ensures immutable record storage and prevents disputes through RSA digital signatures. Addresses critical land security challenges in Tanzania with cryptographic verification and transparent record management.

BackendBlockchainSocial ImpactSecurity
Read full engineering notes

Tech Stack

  • - Python
  • - Django
  • - PostgreSQL
  • - Blockchain
  • - RSA Cryptography

Highlights

  • - Immutable record storage using blockchain technology
  • - RSA digital signatures for cryptographic verification
  • - Dispute resolution through transparent, verifiable data
  • - Scalable database design for large-scale registries

Challenges Solved

  • - Designed tamper-proof record system to prevent land disputes
  • - Implemented cryptographic verification for legitimate ownership claims
  • - Built scalable architecture for Tanzania's land management needs
In ProgressEdition 04 / 2025

Academic Summarizer

An AI-powered Django app for summarizing academic PDF documents.

An intelligent document summarization tool that extracts key insights from academic PDFs. Built with Django backend, it uses NLP techniques to process research papers and generate concise, meaningful summaries.

BackendAI/MLData Processing
Read full engineering notes

Tech Stack

  • - Python
  • - Django
  • - NLP
  • - PDF Processing
  • - AI/ML

Highlights

  • - Automated PDF document processing and analysis
  • - AI-driven content summarization using NLP
  • - Backend architecture for efficient document handling
  • - Scalable processing pipeline for multiple documents

Challenges Solved

  • - Handled complex PDF parsing and text extraction
  • - Implemented efficient NLP-based summarization algorithms
  • - Designed backend for concurrent document processing
PrototypeUtility / 2025

Quick Decrypt

Decrypt Caesar ciphers quickly with auto shift detection and frequency analysis.

A utility tool for cryptanalysis that automatically detects and decrypts Caesar cipher texts. Uses frequency analysis and intelligent shift detection to quickly break encoded messages.

BackendCryptographyUtility
Read full engineering notes

Tech Stack

  • - Python

Highlights

  • - Automatic Caesar cipher shift detection
  • - Frequency analysis for intelligent decryption
  • - Fast processing with minimal computational overhead
  • - Clean CLI interface for easy usage

Challenges Solved

  • - Implemented frequency analysis algorithm for cipher breaking
  • - Optimized shift detection for quick results
  • - Built intuitive interface for cipher analysis
PrototypeHackathon / 2025

UDSM Journal Dashboard

A React-based template for a journal project at the hackathon.

A modern, responsive journal management dashboard built with React and TypeScript. Developed as part of a hackathon project at the University of Dar es Salaam to provide a clean interface for journal submissions and management.

FrontendUI/UXEducation
Read full engineering notes

Tech Stack

  • - React
  • - TypeScript
  • - Frontend

Highlights

  • - Modern React component architecture
  • - Responsive design for multiple screen sizes
  • - TypeScript for type-safe development
  • - Clean, scalable project structure

Challenges Solved

  • - Built intuitive dashboard UI for journal management
  • - Implemented responsive design patterns
  • - Created reusable React components for efficiency

Production Desk

Live projects currently open for exploration

Live Product

Toovii Customer Support Chatbot

AI customer support chatbot for bilingual FAQs in English and Kiswahili, powered by RAG over a knowledge base.

Live on toovii.com for instant bilingual customer support.

Python • FastAPI • RAG • SQLAlchemy • Embeddings • BM25 • Docker

Open Live Site

Live Product

SafariAI Tanzania

A visitor AI agent for Tanzania's 21 national parks: live TANAPA fees, park facts, and visa rules, with a citation on every answer.

Gives park visitors cited, up-to-date fee and visa answers from official sources.

Python • FastAPI • PostgreSQL • pgvector • BM25 • DeepSeek • Docker • JavaScript

Open Live Site

Live Product

Career Docs Generator

Full-stack app to create CVs and professional letters with AI (DeepSeek), plus PDF and Word export.

Demonstrates practical, deployment-ready engineering execution.

React • Vite • Django • Django REST Framework • PostgreSQL • DeepSeek AI

Open Live Site

Live Product

CoffeeChain

A blockchain-based fertilizer distribution platform connecting the entire coffee supply chain from suppliers to farmers.

Demonstrates practical, deployment-ready engineering execution.

JavaScript • Blockchain • Node.js • Smart Contracts

Open Live Site

Live Product

PastoralProtect

A climate risk platform that automates protection workflows for pastoral communities.

Supports faster incident coordination and transparent follow-up.

FastAPI • Python • PostgreSQL • SQLAlchemy • IPFS / Filecoin • Solidity • Next.js

Open Live Site

Open Source Column

Selected repositories and active code work

From GitHub

Selected repositories from my active development desk.

Visit Profile

SAFARI-AI

Hybrid RAG agent for Tanzania's national parks with live TANAPA fees and cited answers.

Python

Open Repository

Mpesa_integration

mpesa-tz on PyPI: Python package for M-Pesa Tanzania STK push, B2C, and B2B payments.

Python

Open Repository

pastoralprotect-api

Core FastAPI backend for climate risk automation workflows.

Python

Open Repository

land-registry

Blockchain-backed land registry with RSA cryptographic verification.

Python

Open Repository

soshopay-backend

FastAPI payment prototype with robust endpoint validation.

Python

Open Repository

academic-summarizer

AI-powered Django app for PDF document summarization.

Python

Open Repository

CareerDocs

Django + React app for AI-assisted CVs and letters with PDF and Word export.

JavaScript

Open Repository

CoffeeChain

Blockchain-based fertilizer distribution platform for the coffee supply chain.

JavaScript

Open Repository

Published Columns

Writing profiles on Medium

Writing Profiles

Articles and notes on Medium, drawing 1,500+ views and 500+ reads a month.

Archive Timeline

Roles, internships, and work in progress

2026 – Present

Software Developer & IT Support

Toovii Tanzania

Building internal web applications with Next.js and React, and a customer support chatbot using retrieval-augmented generation. Work covers document processing, embeddings, vector search, and AI-generated responses, plus technical support, MikroTik Wi-Fi setup, and network troubleshooting.

Next.jsReactRAGMikroTik

July 2025 – September 2025

Software Developer Intern

District Health Information Software 2 (DHIS2)

Contributed to a SQL Views Visualizer for data analysis and reporting. Tested and debugged features, validated integrations with REST APIs and Postman, and worked in JavaScript and Dart. Received a Certificate of Acknowledgement from the UDSM DHIS2 Lab for the visualizer.

SQLREST APIsJavaScriptDart

July 2024 – September 2024

Assistant System Administrator Intern

University of Dar es Salaam (Directorate of Research and Publication)

Supported LAN configuration and troubleshooting, diagnosed system and network issues, monitored traffic with Wireshark, and assisted with system maintenance and staff technical support.

NetworkingWiresharkSystem Administration

Editorial Contact

Open line for recruiters, collaborators, and clients

Contact Desk

Open to Software Developer roles, collaborations, and practical product-building opportunities.