Back to Home
Experiment Station

The Lab

A collection of experiments, projects, and prototypes

2026

KnowHive

KnowHive

A local-first knowledge base desktop app with hybrid retrieval, an agent tool layer, long-term memory, and injection defenses — every retrieval change validated by RAGAS A/B before becoming the default.

Project highlights
  • Retrieval: a unified document layer picks a chunking strategy per file type and uses parent/child blocks. Hybrid recall over vectors and FTS5 keywords, fused with RRF and reranked by a cross-encoder, then parent-block expansion restores context. Promoted to default only after RAGAS A/B showed context_precision 0.788 → 0.862. Also fixed FTS5 silently failing to tokenize Chinese, which had disabled keyword retrieval entirely (recall +0.054).
  • Agent tooling: 7 knowledge-base and session-history tools on the AI SDK tool loop, with call caps and duplicate-retrieval guards so a text answer is always produced. Write operations fail closed and require human approval (HITL).
  • Long-term memory: past conversations are distilled into semantic, preference, and episodic memories, retrieved by vector search or injected directly. Questions whose answer existed only in conversation history went from 0% to 100% correct.
  • Refusal and injection defense: a rerank-score threshold turned unanswerable questions into correct refusals 32% → 91% of the time (4% false refusals). Spotlighting isolation cut injection success from 0.40 to 0.27. A later refactor regressed it to 0.47, caught by a self-built red-team suite before merge.
TypeScriptBunVercel AI SDKOllamaDeepSeekSQLiteLangfuse
SmIA - Social Media Intelligence Agent

SmIA - Social Media Intelligence Agent

AI-powered platform that aggregates and analyzes content from Reddit, YouTube, and Amazon, delivering structured trend reports with sentiment analysis and interactive visualizations.

ReactFastAPIPydanticAISupabaseChakra UILangfuse
AI-Powered Mom Test Validation

AI-Powered Mom Test Validation

Real-time Voice AI interviewer that conducts unbiased startup validation interviews using the Mom Test framework, then analyzes transcripts to extract validated pain points and insight reports.

Next.jsReactTypeScriptSupabaseGemini Live APITailwind CSS
GoChatroom

GoChatroom

Real-time chat backend in Go supporting private chat, group chat, and P2P video calling, with a React frontend on Vercel and the service on Fly.io.

Project highlights
  • Goroutine-per-connection with separated read/write loops, buffered channels for non-blocking delivery, and differentiated backpressure for chat and signaling. Profiling traced a throughput ceiling to synchronous persistence inside the Hub event loop; proposed an async, sharded fix.
  • Stateless JWT auth with zero DB lookups on business endpoints, Redis session management, and a custom WebRTC signaling service supporting ICE candidate queueing plus two-level recovery for signaling and media.
ReactGoWebSocketVercelFly.io
Travel Agent Booking System

Travel Agent Booking System

A comprehensive booking management system designed for travel agents to track flights, hotels, and insurance payments with customer payment tracking.

ReactTypeScriptSupabase
Flowboard

Flowboard

Real-time collaborative kanban board with AI assistant and interactive whiteboard. Built with .NET 8 & Angular 17

.NET 8Angular 17AIKanban

2025

Sportlingo Coaching Dashboard

Sportlingo Coaching Dashboard

B2B coach dashboard for team management and analytics, enabling coaches to add users to teams, monitor individual progress, and track performance metrics.

ReactSupabaseAITypeScript
Makeform.ai

Makeform.ai

An innovative platform that empowers users to easily design and deploy dynamic online forms using AI, enhancing productivity and user engagement.

ReactNext.jsAITypeScript

2024

GitHub Finder

GitHub Finder

A web-based application that allows users to search for any GitHub account and browse their profile information.

ReactGitHub APITailwind CSS

2023

Food E-commerce Platform

Food E-commerce Platform

An online store for browsing and purchasing food products.

PythonDjangoBootstrapSQLite