Production Code Scaffolds
11 tested, standalone engineering scaffolds and architectural blueprints demonstrating core AI engineering patterns — from multi-server MCP routing and LangGraph supervisors to Deep Agents composite backends and Docker GPU serving.
Enterprise RAG reference architecture featuring FastAPI, PostgreSQL with pgvector for HNSW vector indexing, BM25 keyword search, reciprocal rank fusion (RRF), and sentence-level citation verification.
- •Python 3.12+
- •PostgreSQL 16+ with pgvector extension
- •OpenAI or Cohere API Key
pip install -r requirements.txt && uvicorn main:app --reloadDeep-dive blueprint on vector indexing mechanics. Demonstrates generating dense embeddings, benchmarking HNSW vs. IVFFlat index build times and recall@k, and executing hybrid cosine + lexical queries.
- •Python 3.12+
- •PostgreSQL with pgvector
- •NumPy / Sentence-Transformers
python search.pyArchitectural blueprint for mission-critical agent workflows. Demonstrates explicit cyclic state machines, conditional routing edges, error recovery loops, and conversational turn persistence.
- •Python 3.12+
- •Google Gemini or Anthropic API Key
- •LangGraph SDK
pip install -r requirements.txt && python workflow.pyScaled enterprise blueprint implementing a hierarchical agent cluster. Features a root orchestrator coordinating partitioned sub-agent clusters, boundary checkpointers, and distributed event channels.
- •Python 3.11+
- •pip / uv
- •Redis or PostgreSQL for distributed checkpointers
pip install -r requirements.txt && python cluster.py