Samson Kinyanjui

Loading Portfolio...

Hi, I'm

Samson Kinyanjui

Machine Lear

View My Projects
Samson Kinyanjui

About Me

Machine Learning Engineer based in Nairobi, Kenya. I take AI/ML research papers and turn them into working systems built for African markets. My current focus is multi-agent LLM systems — I built TradingAgents, a 13-agent framework that debates and trades NSE equities, adapting a UCLA/MIT paper for frontier market constraints like T+3 settlement, KES-denominated portfolios, and illiquid order books.

I also build production AI tools for professionals — an LLM-powered financial statement auditor using RAG and a capital gains tax engine that automates KRA compliance for Kenyan accountants. MSc Computer Science candidate with 3 IEEE publications spanning medical imaging, NLP, and financial assessment. I work across the full stack: Python, LangGraph, FastAPI on the backend; React and Next.js on the frontend.

Python FastAPI Flask TensorFlow LLMs LangChain JavaScript React Next.js PostgreSQL Docker LangGraph DeepSeek
Download Resume

Projects

CGT Brain

CGT Brain

An AI system that does what lawyers and accountants do for Capital Gains Tax. Feed it any property timeline and it applies ATO rules, performs full CGT analysis, and generates detailed reports work that traditionally takes professionals hours, done in seconds.

Next.js FastAPI Gen AI
View Project
Biashara Buddy

Biashara Buddy

An AI-powered business consultant that helps Kenyan entrepreneurs with budgeting, licensing requirements, business ideas, and location selection, everything a qualified business advisor can do.

React Flask Machine Learning
View Project

AI Research in a Kenyan Context

Implementing global AI/ML research papers to solve local problems.

TradingAgents

TradingAgents

Multi-agent LLM trading system for the NSE, implementing the TradingAgents paper (UCLA/MIT). Four parallel AI analysts debate and synthesize market data, fundamentals, news, and sentiment to produce trading decisions — adapted for NSE constraints like T+3 settlement, KES commissions, and frontier market illiquidity.

LangGraph DeepSeek FastAPI Next.js
Live Demo Coming Soon

Based on arXiv:2412.20138

LLM Financial Auditor

Automating Financial Statement Audits with LLMs

An LLM-powered auditing system that ingests Kenyan company financial statements (PDFs), chunks and embeds them with RAG, and produces structured audit reports — flagging IFRS violations, material misstatements, and going-concern risks. Built to handle the nuances of Kenyan regulatory filings (CMA, NSE listing rules, Companies Act 2015).

RAG LangChain FastAPI Next.js
Read the Post

My Publications

Selected research contributions in data science and technology for development.

Automatic Detection and Classification of Gastrointestinal Pathological Findings using a Hybrid ResNet50-CNN from Endoscopic Images

Kinyanjui, Samson, Juliet Moso and Patrick Gikunda.

2025 IST-Africa Conference (IST-Africa), 2025.

DOI: 10.23919/IST-Africa67297.2025.11060502

Topic Clustering of COVID-19 Medical Literature Using LDA and K-Means: A Case Study

Kinyanjui, Samson and Benson Kituku.

IEEE International Conference on ICT4DA, Bahir Dar, Ethiopia, 2025.

DOI: 10.1109/ICT4DA67218.2025.11282626

Financial Health Assessment for Households in Kenya

Kinyanjui, Samson, Felix Lopuran, Peter Kimanga, Edna Mugoh, Dennis Kiprotich, and Patrick Gikunda.

IEEE International Conference on ICT4DA, 2024.

DOI: 10.1109/ICT4DA62874.2024.10777274

Latest from the Blog

AI/ML paper breakdowns, implementations, and research notes.

Contact Me

Let’s connect and build something great. I’d love to hear from you!

Send a Message

Book a Consultation