Production-grade Agentic Retrieval-Augmented Generation platform with PGVector HNSW hybrid search, autonomous multi-step reasoning, and deterministic security guardrails.
* Benchmarked on PostgreSQL 16 pgvector (HNSW index, M=16, ef_construction=64) in Docker on 8 vCPUs with 10k 1536-dim vectors. Adversarial defence evaluated across a curated 20-vector test suite covering prompt leaks, SQLi, command injection, and Base64-encoded jailbreaks.
Enterprise adoption of Generative AI faces critical production blockers: probabilistic hallucinations without source-level verification, unacceptable retrieval latency at scale, vulnerability to prompt injection attacks, and privacy leakage of sensitive PII or credentials. Standard naive RAG architectures cannot execute multi-step reasoning, lack mathematical precision, and fail to isolate cross-departmental tenant data.
Designed and built a dual-mode high-throughput retrieval system:
M=16, ef_construction=64) delivering sub-20ms semantic search with 2,185+ QPS throughput.Implemented a state machine orchestrator that replaces rigid linear pipelines with dynamic multi-step planning:
VectorSearchTool (semantic retrieval with RBAC scope), CalculatorTool (deterministic arithmetic & cloud sizing formulas), and CitationVerifierTool (claim-to-source provenance validation).max_steps) with comprehensive ToolExecutionTrace observability.Constructed a strict defence-in-depth perimeter surrounding LLM interactions: