AI ENGINEER | SOFTWARE ENGINEER • HASHBAZE • COLOMBO, SRI LANKA
ENGINEERING PRODUCTION AI SOFTWARE WITH MODERN SOFTWARE ENGINEERING PRINCIPLES
SOFTWARE ARCHITECTURE & PROTOCOLS
Problem Solved: Intercepting and neutralizing LLM prompt injection and jailbreak attacks at the API gateway layer before untrusted inputs reach downstream foundation models.
- Core Stack: Python, Google Gemini, ChromaDB HNSW Indexing, SentenceTransformers, FastAPI
- Software Architecture: High-speed vector embeddings similarity verification, Out-of-Distribution (OOD) clustering, and circuit-breaker resilience to guarantee zero system downtime during external API timeouts.
Problem Solved: High inference costs and latency in generative AI applications caused by unoptimized prompt schemas and inefficient tokenization.
- Core Stack: JavaScript, Node.js, Tiktoken, BPE Encoding Engines
- Software Architecture: Interactive web laboratory providing real-time Byte-Pair Encoding (BPE) inspection across GPT-4o, Llama 3, and Qwen 2.5, schema compression benchmarking, and token ROI calculations.
Problem Solved: Unreliable text extraction and slow semantic search across large PDF document corpora in enterprise RAG workflows.
- Core Stack: TypeScript, ChromaDB, Google Gemini API, Document Processing
- Software Architecture: Deterministic boundary-aware chunking pipeline, fault-tolerant vector generation, and sub-millisecond HNSW vector indexing.
Problem Solved: High latency and model drift in text classification when using heavyweight fine-tuned models.
- Core Stack: TypeScript, Google Gemini API, In-Memory Matrix Engine, L1 LRU Cache
- Software Architecture: Zero-shot semantic clustering using pairwise cosine distance matrices with sub-millisecond L1 in-memory caching and out-of-distribution guardrails.
Problem Solved: Bridging legacy engineering catalogue data with modern AI agents through standardized protocol interfaces.
- Core Stack: Model Context Protocol (MCP), TypeScript, Structured JSON Schema
- Software Architecture: Authoritative MCP tool provider delivering deterministic technical specifications and structured bearing queries directly to LLMs.



