PROJECTS
Systems, tools, and experiments — shipped or in progress.
   ._________________.
   |.---------------.|
   ||               ||
   ||   -._ .-.     ||
   ||   -._| | |    ||
   ||   -._|"|"|    ||
   ||   -._|.-.|    ||
   ||_______________||
   /.-.-.-.-.-.-.-.-.\
  /.-.-.-.-.-.-.-.-.-.\
 /.-.-.-.-.-.-.-.-.-.-.\
/______/__________\___o_\ 
\_______________________/

engram — Redis-Wire Associative Vector Memory Engine
A Redis-wire-compatible (RESP) vector memory engine written from scratch in Rust with zero dependencies beyond libc — works unchanged with redis-cli and existing clients. Hand-rolled HNSW approximate nearest-neighbour index with a single-threaded event-driven I/O core over raw kqueue/epoll and vector search offloaded to a worker pool. Hand-written SIMD distance kernels in NEON (ARM64) and AVX2+FMA (x86_64) with runtime dispatch achieve ~9× speedup at 768 dimensions; WAL + compacting mmap snapshot for crash-safe durability.
STACK Rust (no deps beyond libc), NEON/AVX2+FMA SIMD
ARCH From-scratch HNSW, kqueue/epoll event loop, worker-pool I/O, mmap+WAL persistence
STATUS Open-sourced
cheeger — Differentiable Spectral Embedding for Dense Semantic Segmentation
A from-scratch differentiable spectral-segmentation library in PyTorch that treats a network's feature map as a graph and learns to segment by cutting graphs, motivated by the Cheeger inequality bounding graph conductance by the Fiedler value λ2. Implements every spectral operator by hand — learned-metric affinity kernels, three graph-Laplacian variants, k-NN sparsification, and a symmetric eigensolver (cyclic Jacobi + Lanczos), each validated against numpy/scipy oracles. Hand-codes a degeneracy-robust differentiable eigensolver replacing PyTorch's unstable eigh backward with Lorentzian-broadened eigenvalue-gap gradients stable where eigenvalues collapse at segment boundaries. Replaces fixed eigenbasis weighting with a learned, label-supervised spectral response whose noise floor is set from the Marchenko–Pastur bulk edge; benchmarked as a U-Net head on Cityscapes with mIoU / Boundary-IoU metrics.
STACK Python, PyTorch, NumPy, SciPy (test oracles only)
ARCH Differentiable spectral graph operators, cyclic Jacobi + Lanczos eigensolver, OHEM/Lovász + Rayleigh losses, U-Net segmentation head
STATUS Open-sourced
Poolgrad — Memory Aware ML Runtime to Explore Neural Network Performance
A minimal autograd engine built from scratch in Rust exploring where neural network performance actually comes from. Implements reverse-mode autograd over a dynamic graph, four matrix multiplication kernels (naive, tiled, packed+SIMD, and an experimental Strassen-form mp variant), a kernel scheduler, and a gradient memory pool with lifetime-based release. CPU-only; SIMD via NEON on arm64 and AVX2+FMA on x86_64.
STACK Rust, Rayon, NEON/AVX2+FMA SIMD
ARCH Dynamic autograd graph, kernel scheduler, size-based gradient memory pool
STATUS Open-sourced
Ananta — Energy-Based Self-Learning Architecture
Research-driven LLM architecture exploring energy-based self-learning for scientific reasoning, symbolic mathematics, and formal logic. Combines contrastive energy functions with autoregressive generation to enable iterative self-correction without external reward models.
STACK Python, PyTorch, CUDA, LoRA/QLora, RLHF
ARCH Energy-based models, autoregressive decoding, self-play loops
STATUS Open-sourced
Whisp
Real-time chat system built from scratch over raw WebSocket connections. Persistent message storage, presence detection, typing indicators, and room-based multiplexing — no third-party chat SDKs.
STACK TypeScript, Node.js, Express, Socket.IO, MongoDB
ARCH Event-driven, WebSocket bidirectional, room-scoped pub/sub
Anti-Shuffle
Mobile application that clusters photos using on-device ML for perceptual similarity. Extracts feature embeddings, runs hierarchical clustering, and groups visually related images without uploading data to any external server.
STACK Kotlin, Java, TensorFlow Lite, Android SDK
ARCH On-device inference, feature extraction, agglomerative clustering
Oro
Deterministic spatial interaction engine for generating structured synthetic datasets. Simulates grid-based environments with configurable physics, agent policies, and collision semantics — designed to produce training data for autonomous agent learning.
STACK Python, NumPy, JSON schema
ARCH Deterministic simulation, configurable state machines, batch export
M2D2
AI-driven microplastic detection pipeline combining optical particle counters with Bulk Acoustic Wave (BAW) preprocessing. Classifies particle morphology through signal analysis and implements a toxin-free acoustic capture system for microplastic recovery across varied aquatic environments.
STACK Python, MATLAB, signal processing, optical sensor data
DOMAIN Environmental sensing, acoustic filtering, particle classification
STATUS Published
...and ongoing experimental systems