Skip to content
Colombo, Sri Lanka
secondBrain: A Vectorless Retrieval Architecture for Personal LLM Knowledge Bases

secondBrain: A Vectorless Retrieval Architecture for Personal LLM Knowledge Bases

secondBrain by Manazir Ali. A research-grade case study on the design, implementation, and substrate completion of a Karpathy-style LLM Wiki. Reports a deterministic two-step retrieval pattern, a derived graph.json artifact capturing HippoRAG's structural insight without OpenIE, strict per-category openings for grep determinism, and a parallel-agent ingestion methodology. Demonstrated on a personal reference instance (mnzrBrain) at 240 pages with 97.1 percent strict-opening coverage and zero broken links.
Project Hydra: A Sovereign Personal AI with Tiered Memory

Project Hydra: A Sovereign Personal AI with Tiered Memory

Project Hydra by Manazir Ali. A research-grade case study on the design and pre-registered evaluation of a sovereign personal AI assistant with four-tier brain-mapped memory, two-instance LAN topology, LLM-coordinated CRDT sync, and Merkle commits anchored to a permissioned blockchain. Reports six binding architectural decisions from a 2026-05-01 review, four explicitly under-specified parts, and a 9-month milestone plan grounded in a 29-page formal thesis. Framed as architecture-and-decisions for a planning-stage system, with consolidation faithfulness pre-registered as the load-bearing evaluation slice.
Building Microservices Full-Stack: From Zero to Production

Building Microservices Full-Stack: From Zero to Production

A 16-chapter engineering guide and full-stack application teaching Clean Architecture, TypeScript microservices, Next.js BFF pattern, and Kubernetes deployment through building a Neighborhood Grocery List from an empty directory.
Nexus Knowledge Graph: A Dual-Backend Service with Runtime Repository Protocol

Nexus Knowledge Graph: A Dual-Backend Service with Runtime Repository Protocol

Nexus Knowledge Graph by Manazir Ali. A research-grade case study on the design and implementation of a typed personal knowledge graph exposed as a FastAPI service with a Typer CLI client. Reports a runtime-checkable Repository Protocol that admits two interchangeable backends (Neo4j 5 as the primary graph-native store and SQLite 3 as a zero-dependency fallback) without application-code awareness, a uniform breadth-first traversal endpoint that resolves to native Cypher variable-length paths on Neo4j and to an iterative Python simulation on SQLite, and a pre-seeded reference instance of 752 nodes and 1,122 typed relationships across 10 node types and 13 relationship types.
Meat Shop POS - Business Management & Accounting System

Meat Shop POS - Business Management & Accounting System

Production POS and financial management system for a meat retail business covering supplier receipts, sales lifecycle, cash ledger, daily reconciliation, and role-based dashboards built on Next.js 16, Supabase, and 15 PostgreSQL tables.
A Hierarchical Multi-Agent Architecture for Software Engineering

A Hierarchical Multi-Agent Architecture for Software Engineering

A research-grade case study on the design, implementation, and production validation of an 18-agent four-tier hierarchical multi-agent system for software engineering. Reports a cost-of-reversal model routing strategy (Opus for strategic decisions, Sonnet for implementation, Haiku for exploration), a Haiku-grade prompt-writer context optimisation pattern that reduces sub-agent token usage by 40 to 60 percent, permission minimisation from a deny-all baseline, and a JSON state artifact convention for cross-session continuity. Demonstrated across 48+ measured sessions with approximately 55 percent per-module time reduction and a session throughput rise from 1 per day to 2.9 per day.
The Night the Terminal Became a Canvas

The Night the Terminal Became a Canvas

A personal journey building a permissioned blockchain MVP: infrastructure, chaincode, backend bridge, and a Next.js wallet, lessons in simplicity, trust, and resilient systems.
Iman Academy Sri Lanka – Official Website

Iman Academy Sri Lanka – Official Website

Custom WordPress site delivering identity, curriculum, alumni stories, events, and donation flows for an educational institution.
Bookstore RESTful API – JAX-RS Coursework

Bookstore RESTful API – JAX-RS Coursework

Java JAX-RS backend powering CRUD for books, authors, customers, carts, and orders with layered architecture and clean resource modeling.
DineEase – Restaurant Booking & Meal Pre‑Ordering Platform

DineEase – Restaurant Booking & Meal Pre‑Ordering Platform

Full-stack Next.js + Firebase platform enabling table reservations, real-time order tracking, meal pre-ordering, ML recommendations, and AR meal previews.
React Estate Agent App – Property Search SPA

React Estate Agent App – Property Search SPA

Responsive React + Vite single-page app for property discovery with filtering, detail views, maps, and favorites persistence.
Real-Time Event Ticketing System – Multithreaded Producer/Consumer Platform

Real-Time Event Ticketing System – Multithreaded Producer/Consumer Platform

Concurrency-driven ticket distribution system with Java multithreading core, Angular + Spring Boot UI/API, and real-time WebSocket logging.