QUESTS / PEERZEE
02
TypeScriptDIFFICULTY ■■■■■

QUEST 02

Peerzee — AI Social Discovery

AI matchmaking platform with 3-node LangGraph pipeline and pgvector HNSW indexing

QUEST BRIEFING

A full-stack AI social discovery platform featuring an agentic matchmaking engine. Powered by a 3-node LangGraph pipeline (parse intent -> pgvector retrieval -> LLM curation) optimized to $0.12 per 1,000 matches in LLM unit economics. Optimized PostgreSQL pgvector retrieval by replacing sequential scans with HNSW indexing, reducing KNN latency from 1.78ms to 0.667ms (2.7x speedup) and cutting buffer I/O by 70%. Built a ReAct tool-calling agent (Wingman) for proactive engagement with in-memory dispatch scaling linearly with reasoning depth (1.39ms for 1 step -> 6.29ms for 5 steps), capping orchestration overhead under 7ms. Built an in-memory mutex-guarded ranking queue (4.17ms Cosine ranking over 500 candidates, ~240 QPS) eliminating double-match race conditions. Verified resilience with 37 Jest chaos and integration tests (100% pass), confirming SQL fallback on embedding timeouts and 0.007ms fail-open circuit breaking during Gemini 503 outages. Includes hardware-aware speech transcription (Whisper.cpp) with automatic CUDA detection and CPU fallback integrated into a WebRTC signaling gateway.

XP GAINED

NestJS 11TypeScriptLangGraphpgvector (HNSW)Google GeminiWhisper.cppRedisWebRTCDockerJest

CLASS ROLE

AI & Backend Engineer (Solo Project)