Fig. 00 — Portfolio / Selected systems

Muhammad
Tahub
Khatri

I build the systems that hand AI agents the right context — and the interfaces that show people where it came from.

Drawn by
Muhammad Tahub Khatri
Discipline
Software engineering / Applied AI
Institution
East Carolina University
Status
Open to SWE & ML internships
Evidence
Every claim links to source

Selected systems

Fig. 01 — 05 · Live apps + engineering notes

Fig. 01 · Developer tools / Retrieval

Lives in C / Data

Context
Compiler

The right repository context, in the hands of your AI agent.

A web app and local MCP bridge make indexed code searchable by agents. The hard part is choosing a useful working set without hiding where it came from.

My part Hybrid code retrieval, the Python search endpoint, MCP tracing and result selection.

TypeScript / Python / MCP / pgvector · Live

Request path · query → contextDwg CC-001
  1. 01 · LocalMCP clientcalls search_codebase
  2. 02 · Localstdio bridgeforwards over HTTPS
  3. 03 · Next.js APIResolve accessbearer key → bound repo; invalid keys stop here
  4. 04 · FastAPIEmbed the queryGemini embeddings
  5. 05 · PostgresHybrid retrievalsemantic + lexical, ranked
  6. 06 · OutContext packpaths, excerpts, selection metadata
Index pathGitHub reposcanchunkembedrepository index
Index preparation and query handling are separate paths. The repository is never re-cloned per request.
context-compiler.muhammadtahubkhatri.dev
Context Compiler landing page with the headline “Stop guessing which files to paste into your AI.”
Captured Oct 2026 from the public page.

Fig. 02 · Support systems / SDK

Lives in A / Interface

Supo

AI support that knows when to bring a person into the conversation.

A published browser widget streams answers from product knowledge and hands off to a human agent without losing the thread. React and headless entry points let the host app decide how much UI it owns.

My part Stable customer identity in the widget SDK; agent notifications in the chat flow.

TypeScript / Next.js / AI SDK / PostgreSQL / Ably · Alpha

Conversation · AI → human, same threadDwg SP-002
  1. T+0Customer askswidget · stable identity
  2. T+1Knowledge retrievedproduct context
  3. T+2Reply streamsAI SDK
  4. T+3Human takes overagent notified · Ably
Keep the context. Change the responder.

Fig. 03 · Collaborative learning / AI

Lives in B / API

CrowsNest

Shared course materials become a starting point for better study.

Course-specific retrieval turns uploaded material into flashcards, practice questions, study plans and tutor conversations. Hackathon-winning team project.

My part Database and study-plan features, shared study resources, the streaming AI tutor.

Next.js / FastAPI / Supabase / Gemini · Hackathon winner

One source → four ways to studyDwg CN-003
  1. InCourse materialsshared by the class
  2. AI serviceExtract & reviewFastAPI
  3. AI serviceClass retrievalscoped to one course
  4. OutStudy toolsflashcards · practice · plans · tutor
From a shared material to class-specific study context.
crowsnest.muhammadtahubkhatri.dev
The Crow’s Nest sign-in page, with log in and sign up buttons for ECU students.
Captured Oct 2026 from the public page.

Fig. 04 · Document intelligence / Graph RAG

Lives in C / Data

Cogni
Graph

Documents become a graph you can explore, then question.

Uploaded documents are chunked, embedded and mined for entities and relationships. The chat draws on both the matching passages and the graph around them, and the graph itself is on screen to inspect.

My part Solo build: the Next.js workspace, the FastAPI processing worker, retrieval and the graph view.

Next.js / FastAPI / pgvector / OpenAI / S3 · Web app live

Question path · query → grounded answerDwg CG-004
  1. 01 · BrowserAsk a questionchat or split view
  2. 02 · Next.js APIResolve the userClerk session → that user’s documents only
  3. 03 · OpenAIEmbed the querytext-embedding-3-small
  4. 04 · PostgresPassages + relationshipspgvector similarity and graph lookups
  5. 05 · OutStreamed answerAI SDK
Ingestion pathupload → S3extract / OCRchunkembedentities + edges
Documents are processed once by a separate worker. A question only reads what is already stored.
v0-cognigraph.vercel.app
CogniGraph landing page with the headline “Turn scattered documents into connected answers” beside a sample knowledge graph.
Captured Oct 2026 from the public page.

Fig. 05 · Personal finance / Messaging agent

Lives in B / API

Reeflect

Personal finance that lives in your texts, where the AI never writes a number.

You text it what you spent or ask how you’re doing, and it answers with what you can spend per day until payday. On the web the same figures sit on a cash-flow calendar. Code looks up every amount; the model only writes the words around them.

My part The iMessage agent: the Photon worker, the turn endpoint, and answering, logging and receipt photos by text. Also budgets, recurring payments and bills, category rules, transfer review and CI.

Next.js / TypeScript / Drizzle / Neon / Gemini / Photon · Live · HackNC 2026

One text · message → replyDwg RF-005
  1. 01 · iPhoneA text arrivesiMessage · Photon Spectrum
  2. 02 · WorkerRelay onlyno database, no model, no business logic
  3. 03 · Next.js APILook up the figurescode reads balances, bills and budgets
  4. 04 · GeminiWrite the sentencessees labels like {cash_total}, never amounts
  5. 05 · CodeFill in and checkreal values in; a digit scan rejects model-written numbers
  6. 06 · OutReply by textthe same figures the website shows
The model chooses words. Every number in a reply is put there by code.
reeflect.app
Reeflect landing page with the headline “Reeflect lives in your texts” beside a sample panel showing a daily spending figure and a balance chart.
Captured Oct 2026 from the public page.

On the bench

Loading the latest pushes…

Experience

  1. Software Developer (Contract)

    2026 — Present

    Al-Hamd Printers

    • Building a full-stack management system for PVC manufacturing operations: order processing, inventory, workflow automation, payroll and expense tracking, customer records and financial reporting.
    • Designing the backend data models and API layers behind the admin dashboards and day-to-day operational workflows.
    • Translating manual business processes into structured software for a real operating business.
    Source ↗
  2. Freelance SEO & Data Consultant

    2020 — 2023

    Fiverr

    • Analyzed client performance data and delivered optimization recommendations for international businesses.
    • Wrote structured reports that turned raw metrics into clear, action-oriented insights for non-technical stakeholders.

General
notes

  1. N1

    I study computer science at East Carolina University. My interests sit between software engineering and applied AI: how information gets retrieved, how an agent uses it, and how a person understands the result.

  2. N2

    I like following one feature across the interface, the API and the data layer, instead of treating those as separate problems.

  3. N3

    I name limitations out loud. If a number isn’t measured, it isn’t on this site.

End of sheet

Let’s build something useful.