Aamir Shahzad - Software Engineer
Software Engineer

I build systems that handle
data at scale.

I'm Aamir a backend engineer who got tired of tutorials that stop at "Hello World." This is where I document what actually breaks in production and how I fix it.

Production Stack

  • Python
  • Django
  • PostgreSQL
  • Celery
  • AWS
  • React
  • LangChain
  • RAG Pipelines

Open Source

Featured project

Published on PyPI

rag-playbook

Stop guessing which RAG pattern to use. Compare all 8 patterns with real benchmarks in one command — see which one wins for quality, latency, and cost on your actual documents.

PythonRAGLLMOpenAIVector SearchCLI
terminal

$ rag-playbook compare --data ./docs/ --query "What is the refund policy?"

PatternLatencyCostChunks
naive *3,622ms$0.00045
parent_child5,056ms$0.00055
agentic5,008ms$0.00055
hybrid_search5,945ms$0.00055
self_correcting7,556ms$0.00055
hyde9,031ms$0.00055
reranking10,878ms$0.00055
query_decomp14,950ms$0.001420

* Recommended: naive

Best quality/cost tradeoff. Latency: 3622ms, Cost: $0.0004

FAQ

Frequently asked questions

To share who I am and the kind of problems I've faced and solved over the years. Engineering can be isolating you solve something difficult, move on, and nobody else benefits from that struggle. If someone out there is stuck on the same problem I once was, maybe my experience can save them a few hours (or a few sleepless nights).

Have another question?