Fredrick MainaBook a coffee chat with me

Fredrick Maina · Backend engineering · Applied AI

I build backend
and AI systems
people use.

I take products from an early idea to production—designing the APIs, data flows, retrieval systems, infrastructure, and safeguards that make them work in the real world.

See selected work
Fredrick Maina, backend and applied AI engineer
CurrentlyJunior Data Scientist at Dalberg Data Insights, building backend and applied AI systems.

01 / Selected work

Things I’ve built.

Live e-commerce platform

MultiTouch

Visit live site
MultiTouch e-commerce storefront
MultiTouch e-commerce storefront

A live Kenyan commerce platform I designed and built as the sole engineer—storefront, admin operations, payments, delivery, identity, and deployment.

Orders

Transactional stock reservation, idempotent placement, immutable item snapshots, and automatic recovery for abandoned orders.

Payments

M-Pesa STK Push with callback deduplication, polling fallback, and balance reconciliation.

Operations

Transactional outbox, audit logs, Prometheus metrics, health-checked releases, and automatic rollback.

Java 21 · Spring Boot 3.5 · PostgreSQL · AWS · Kubernetes

Real-time messaging

AnonMsg

Visit live site
AnonMsg real-time conversation interface
AnonMsg real-time conversation interface

A real-time application connecting authenticated accounts with anonymous visitors.

  • WebSockets for live connections
  • Redis Pub/Sub across instances
  • Google OAuth2 and JWT identity
  • Automated deployment to GKE

Spring Boot · Next.js · Redis · WebSockets · GKE

02 / Experience

Where I’ve worked.

Dalberg Data Insights

Junior Data Scientist · Backend & AI Engineering

I build and improve production AI products, backend services, retrieval pipelines, and the infrastructure around them.

  • Led development of a multilingual Amazon Bedrock assistant for a digital-health benchmarking platform.
  • Implemented infrastructure changes projected to reduce monthly AWS costs by approximately 50%.
  • Built retrieval and safety pipelines for a three-language financial-coaching pilot used by roughly 200 people.

Twiga Foods

Software Engineering Intern

Built Java and Python services for a Kubernetes-based warehouse management system.

  • Shipped REST and GraphQL services to GKE.
  • Contributed JWT revocation and centralized authentication through Kong.
  • Helped upgrade a Java 8 and Spark service to Java 21 with Quarkus.

Power Learn Project

Database Instructor

Taught MySQL and data analysis in a programme serving more than 8,000 learners.

03 / About

Backend engineer by practice.
Curious across the stack.

I’m Fredrick Maina. My formal role is Junior Data Scientist at Dalberg Data Insights; much of my day-to-day work sits in backend and AI engineering. I enjoy turning fuzzy product questions into systems that are testable, observable, and useful.

Regular tools

Java, Spring Boot, Python, FastAPI, PostgreSQL, Redis, AWS, GCP, Docker, Kubernetes, GitHub Actions, Bedrock, OpenAI Responses API.

Education

BSc Mathematics and Computer Science, Kenyatta University · 2022–2026

Certification

AWS Certified Cloud Practitioner · 2024

04 / Contact me

Let’s stay in touch.

05 / Coffee chat

Book a coffee
chat with me.

Choose a time for an online conversation—whether you have an idea or technical question to explore, an opportunity you think I could contribute to, career advice to share, or simply want to have a coffee chat.

30 minutes · Google Meet · Nairobi time

View available times

Choose a time on Google Calendar

Open booking calendar