Notes from the build.
Engineering deep-dives drawn from real production work — AI agents, backend systems, payments, and the modern web. How things were actually built, trade‑offs included.
An AI agent that discovers the news and drafts it
Fibre2Fashion's news desk spent every morning searching dozens of sources by hand, judging what mattered, confirming it, then writing it up. A two-phase agent now does the finding and the drafting, with an editor choosing what gets pursued: the morning scan is one click and a de-duplicated shortlist of 20 to 30 stories.
9 posts shown
- 16 min
Inside this portfolio: what it does and how it works
Most portfolios are a page of links. This one answers questions about my work, keeps its own leads and traffic, manages its own photos and checks itself on every change. Here is every part of it, how each one works, and the problems that decided how it is built.
Next.js · AI · RAG
- 6 min
One MCP server, two assistants: connecting TexPro to Claude and ChatGPT
TexPro's subscribers wanted to ask questions about their market data from inside the assistant they already use. I built the MCP server that lets Claude and ChatGPT do that, signed in as the subscriber and limited to their plan. The protocol was the easy part.
MCP · AI Agents · LLMs
- 3 min
How I work: six rules I keep on every project
If you are deciding whether to hire me, the stack matters less than how I make decisions. These are the six rules I keep on every build, each with the project that taught it to me, and most with a link to the evidence.
Process · Backend · AI
- 4 min
Don't ask the model to keep two things in sync
An editor used to retype eight fields for every article and hope the table of contents still pointed at the right headings. I built the pipeline that replaced that work, and the most useful decision in it was what I refused to hand to the model.
LLMs · AI · Python
- 7 min
Why my RAG kept returning the wrong chunks
One vector search across a mixed corpus returns confident nonsense, because semantic closeness is not topical relevance. Filtering on metadata first, then searching, then reranking fixed it. Here is what each stage actually earns.
RAG · LLMs · Python
- 7 min
Making Razorpay payments safe when the same webhook fires twice
A payment can succeed and still go wrong: a dropped webhook, a replayed one, a signature nobody checked. Here is how I verify them, settle exactly once, and keep a ledger I can reconcile against months later.
Payments · Razorpay · Next.js
- 6 min
Two caching bugs that taught me how Next.js 15 caches
One page had to update the moment a donation landed. Another reloaded from scratch on every click. Both were caching problems in Next.js 15, pulling in opposite directions, and naming the four caches by where they live is what solved each of them.
Next.js · React · Web Performance
- 7 min
Two people booked the same slot — how Postgres stops it
Check-then-insert reads as correct and oversells anyway, because two requests can both pass the check before either writes. The fix is layered, and the database does almost all of the work.
Postgres · Supabase · Next.js
- 5 min
Making this site readable by AI assistants, not just Google
When someone asks ChatGPT or Claude who can build a RAG feature, the answer comes from pages the assistant chose to read. This is what I changed so this site is one of them, and is read correctly, all generated from one source so none of it can drift.
SEO · AI · Next.js
// Next step
Want this kind of thinking on your build?
I write about what I actually ship. If something here lines up with a problem you have, tell me about it.