Blog

Thoughts on AWS, serverless, FastAPI, and building scalable systems.

AWSAIRAGPython7 min read

Retrieval Quality Tuning: A Similarity Threshold That Cut RAG Context Noise by 60% — With the Numbers to Prove It

A measured retrieval-quality experiment on a production RAG pipeline: a golden eval dataset nearly lied to me with a ceiling-effect bug, then real baseline numbers showed most of top-8 retrieval was noise. A similarity threshold fixed it — recall unchanged, 60% less irrelevant context per query.

December 2, 2026

AWSAIRAGPython6 min read

RAG Silent Failure: When Your Embedding Pipeline Reports Success But Isn't Searchable

A RAG silent failure I hit in production: a document showed 'Completed' with a summary, but a swallowed Voyage AI rate-limit error meant it was never actually embedded or searchable. Here's the three-part fix.

November 5, 2026

AWSAIRAGFastAPI11 min read

How the AI Document Processor Actually Works

An arrow-by-arrow tour of the AI Document Processor's architecture — CloudFront routing, presigned S3 uploads, the async Textract pipeline, RAG retrieval, and WebSocket status updates.

September 18, 2026

AWSAIRAGFastAPI11 min read

Building an AI Document Processor with RAG, pgvector, and AWS

How I built a production AI document platform on AWS — upload any PDF, get Claude to classify and summarize it, then chat with it using a RAG pipeline backed by Voyage AI embeddings and pgvector on Aurora Serverless.

June 14, 2026

AWSAILangGraphFastAPI10 min read

Building an AI Research Agent with LangGraph, Claude, and AWS

How I built a production AI research agent using LangGraph ReAct, Claude, and AWS. Deep dive into autonomous tool use, SSE streaming, multi-turn conversations, and deploying on ECS Fargate with CDK.

May 3, 2026

AWSAIFastAPIServerless8 min read

Building an AI Resume Scorer with AWS Textract and Claude

See how to architect a high-scale AI resume analyzer using AWS Textract and Claude. A deep dive into production-grade IaC with AWS CDK, FastAPI, and ECS Fargate for senior engineers.

April 21, 2026