Ali Rehman

Featured Technical Projects

Explore how I use AI, automation, and practical engineering to solve complex problems.

AI Supply Chain Shortage Copilot

Prototype

The problem. A projected shortage means checking demand, stock, incoming deliveries and supplier policies across four places before anyone can decide what to do.

What I built. A copilot that runs that investigation in one pass, proposes ways to close the gap, and checks each one against the stock that exists and the rules that apply.

One day's demand at one site

Demand 12,400 units

Available including deliveries that arrive in time 10,600

Four options, after the rules checked them

Transfer from Hamburg

900

Transfer from Munich

200

Approved substitution

600

Supplier expedite

100

Potential coverage if approved

1,800 of 1,800 units

AI proposes the options, fixed business rules check each one against stock and policy, and a planner approves or rejects them. Figures are from a synthetic test scenario.

A decision worth explaining

AI proposes. Rules validate. People decide.

During early testing, the AI proposed substituting 1,800 units when only 600 were available. I added deterministic validation rules in Python to check inventory limits and substitution policies before recommendations reach a planner. The planner can then approve or reject the proposed solutions.

  • Python

  • LangGraph

  • Claude

  • RAG

  • PostgreSQL/pgvector

Read Case Study on GitHub

Personal Projects

AI-Driven Knowledge Retention Newsletter

  • Designed and launched an automated AI newsletter that distills long-form content (articles, YouTube transcripts, and PDFs) into structured summaries delivered via email, growing the audience to 100+ readers.
  • Built the product to solve a personal retention problem: preventing knowledge decay after consuming high-volume educational content by reinforcing learning through repetition and reflection.
  • Implemented automated content ingestion, AI summarization, mobile-optimized email rendering, and subscriber management using Google Apps Script and OpenAI APIs.

Personal Knowledge Site | ali-rehman.com

  • Built a personal site to intentionally track books read by year and document personal travel through curated photography, creating a long-term record of learning and lived experiences.
  • Designed the site as a lightweight system to preserve timelines and personal milestones.