Riajul Islam
← Back to work
AINext.jsMVP

Halo (2026)

An AI research assistant that answers questions from a team's own documents, with citations. Scoped, built and launched in 19 days on Next.js and the Claude API — an MVP real users could judge before the next funding conversation.

Role
Full-Stack Developer
Stack
Next.js · Claude API · pgvector
Timeline
19 days
Type
AI MVP
Halo — hero mockup
— The Challenge

What needed
solving.

The team had six months of runway and a thesis: their customers would pay for answers pulled straight from their own internal documents instead of a search box that returns twenty PDFs.

They needed something real enough to put in front of paying users — not a prototype, not a demo video — and they needed it before the quarter closed.

— The Approach

How I
built it.

I cut the scope to the one loop that proves the thesis: upload documents, ask a question, get a cited answer. Everything else — teams, billing tiers, integrations — went on a list for after the evidence came in.

The build itself ran on an AI-accelerated workflow: generated scaffolding, auth, upload handling and test fixtures in the first days, which left the calendar free for the parts that actually decide whether a RAG product feels good — chunking strategy, retrieval quality, streaming and citation UX.

— Key Decisions

The calls that shaped it.

01 — PRINCIPLE

"Retrieval quality beats model choice"

How I applied it

Most bad answers were bad retrieval, not bad generation. Tuning chunking and adding a rerank step moved accuracy far more than swapping models did.

02 — PRINCIPLE

"Citations are the trust feature"

How I applied it

Every claim links back to the source passage. It turned "interesting demo" into something the team was willing to let customers rely on.

03 — PRINCIPLE

"Streaming makes latency survivable"

How I applied it

Answers stream from the first token at ~1.4s, so a five-second answer feels immediate instead of broken.

— Process

How the work got done.

Scope doc
01

Scope to one loop

Cutting the roadmap down to upload → ask → cited answer, and writing down what we were deliberately not building.

App scaffold
02

Scaffold in days, not weeks

Auth, uploads, database and the app shell generated and reviewed inside the first sprint.

RAG pipeline
03

Retrieval & answer quality

Chunking, embeddings, reranking and an eval set to stop quality regressing silently.

Launch metrics
04

Launch & instrument

Production deploy, cost and latency budgets, and event tracking on every question asked.

— Selected Screens

A closer look.

Ask
Ask
Answer with citations
Answer with citations
Document library
Document library
Upload
Upload
History
History
Usage & cost
Usage & cost
— Outcomes

The work moved the numbers.

19
days from kickoff to live
1.4s
to first streamed token
92%
of answers carried citations
$0.02
average cost per answer

Measured across the first month of real usage with early customers.

— Next Project

Vellum