Skip to content
John Ndigirigi
WorkAboutWritingResumeContactBook a call (opens in a new tab)
  • Work
  • About
  • Writing
  • Resume
  • Contact
Book a call (opens in a new tab)
John Ndigirigi

Full-stack & AI Engineer · Nairobi, working remotely worldwide.

  • Work
  • About
  • Writing
  • Resume
  • Contact

© 2026 John Ndigirigi

Built with React + Vite + Tailwind

Writing

Technical writing

Notes on full-stack engineering, AI in production, multi-tenant SaaS and identity systems.

Jul 2026 · 7 min read

Building Production AI Agent Workflows with LangGraph.js: Lessons from the Field

Building an AI agent that works in a demo is easy. Building one that handles edge cases, recovers from failures, and maintains state across sessions is not. Lessons from shipping LangGraph.js agent workflows across a cooperative finance platform and a WhatsApp-native farm operations system.

  • AI
  • LangGraph
  • Node.js
  • Architecture
Read post

Jun 2026 · 6 min read

AI Credit Scoring Without the Black Box: Explainable Loan Risk for Cooperative Finance

Standard credit scoring models fail for thin-file borrowers with no bureau history. How we built an interpretable AI credit scoring system for cooperative finance using domain-specific features, gradient boosting, and LLM-generated explanations: where the committee can always see why.

  • AI
  • Fintech
  • Machine Learning
  • Architecture
Read post

May 2026 · 6 min read

WhatsApp as a Production API Surface: Building AI-Native Apps for Low-Bandwidth Markets

Most products assume the interface is a screen. In much of sub-Saharan Africa, the interface that reaches the most people is WhatsApp. What it means architecturally to build AI-native products with WhatsApp as the primary surface: not a notification channel, but the actual product.

  • AI
  • WhatsApp
  • Architecture
  • Mobile
Read post

Jan 2026 · 4 min read

Pre-Rotation: How KERI Commits to Future Keys Before You Need Them

Most key rotation schemes have a silent vulnerability: a compromised key can authorise its own replacement. KERI's pre-rotation mechanism closes that window by committing to the next key set before it's ever needed.

  • KERI
  • Identity
  • Cryptography
  • SSI
Read post

Dec 2025 · 4 min read

Cryptographic Key Lifecycle: How KERI Handles Rotation, Recovery, and Delegation

Keys get compromised. Devices get lost. Organisations restructure. KERI treats key lifecycle as a first-class design concern: not an edge case to be handled after the fact.

  • KERI
  • Identity
  • Cryptography
  • SSI
Read post

Nov 2025 · 5 min read

KERI: Decentralised Identity Without the Blockchain Dependency

Decentralised identity systems replaced central authorities with blockchains: but that just moved the dependency, not eliminated it. KERI asks a more precise question: what is the minimum infrastructure required to establish cryptographic trust?

  • KERI
  • Identity
  • SSI
  • Cryptography
Read post

Oct 2025 · 4 min read

Why eUTxO Makes Smart Contracts Easier to Reason About

The account model makes smart contract correctness hard to reason about: not because developers are careless, but because the execution environment was designed for flexibility, not auditability. eUTxO changes the shape of the problem.

  • Cardano
  • eUTxO
  • Smart Contracts
  • Formal Verification
Read post

Sept 2025 · 5 min read

Multi-Tenant SaaS with PostgreSQL Row-Level Security

Application-layer tenant isolation works until a missing WHERE clause leaks data across customers. PostgreSQL's Row-Level Security moves the isolation boundary into the database itself: where it can't be bypassed by a tired developer at 2am.

  • PostgreSQL
  • Architecture
  • SaaS
  • Backend
Read post