Skip to content
All projectsNext: Finora
Retrieval & RAG · Personal project — 2026

Brain Link

A personal knowledge platform built end to end and released in March 2026. It treats notes as a living system rather than a folder: RAG chat answers from your own archive with citations, a force-directed graph shows how ideas connect, and a resurfacing engine brings back valuable memories that have gone dormant. Each AI task is routed to a model that fits its complexity.

ShippedCompleted release, March 2026
Role
Solo full-stack AI engineer
Team
Solo
Stack
RAG · Multi-model routing · SSE · D3.js
Brain Link
ProblemNotes pile up for years and the valuable ones get buried, because nobody remembers the exact words to search for.
ApproachRetrieval-grounded recall, a knowledge graph, and a scoring engine that resurfaces old, dormant, valuable memories.
TechnologyRAG with citations, multi-model routing, server-sent events, D3.js force graph, local-first settings.
OutcomeEight interfaces over one knowledge engine, with a 90-memory demo archive that works on first load.

Problem

Knowledge workers collect years of notes, research, frameworks and lessons, but most tools only solve storage. You have to remember that a note exists and the words it used, connections between ideas written years apart stay invisible, and useful insight quietly decays. Brain Link treats this as a retrieval problem and a knowledge-decay problem.

Approach

Retrieval before generationRecall chat retrieves memories from your archive, builds context from them and cites them in the answer, so replies come from what you wrote rather than from the model's general knowledge. Answers stream in over server-sent events.
Resurface instead of waiting for searchA scoring model weighs value, relevance, age and inactivity. Its key rule targets high-value memories older than a year with no interaction in 30 days, and a five-level heat scale from Hot to Frozen shows where the archive is going cold.
The right model for each jobDeep reasoning and writing go to premium models; high-volume work like tagging and metadata inference runs on faster, cheaper ones. Treating every operation as an equally expensive call would not scale.
Solve cold start with a real archiveAn empty knowledge tool shows nothing: no graph, no retrieval, no resurfacing. A pre-seeded persona of 90 interconnected technical memories lets anyone see the whole system on first load.

Architecture

How the system fits together, in two views.

One knowledge engine, several ways in
Notes + filesMore sourcesEnrichmentMemory archiveRecall chatKnowledge graphResurfacingStreamed answerRepurpose studioDaily + monthly
The same processed archive feeds conversational recall, the graph and the resurfacing engine. Connectors beyond local files and manual entry are planned, shown dashed. The vector store and embedding model are not recorded, so they are not named.
The resurfacing loop
Memory createdhotActive usewarmOlder than 1 yearcool30 days untouchedcold → frozenScore risesvalue × dormancyResurfaceddaily card
Knowledge becomes more interesting to resurface as it ages and goes quiet. Re-engaging with a memory warms it back up, from Frozen towards Hot.

Decisions

  1. RAG instead of a generic chatbotThe questions are about the user's own history. Retrieval makes the archive the evidence; the model only synthesises it.
  2. A force-directed graphOver: Folders and lists onlyKnowledge isn't hierarchical. A graph exposes clusters and cross-project links that a folder tree hides, and it sits alongside ordinary browsing rather than replacing it.
  3. Scored resurfacing, not a random note of the dayA scoring model makes resurfacing systematic: valuable knowledge rises as it gets older and more dormant, instead of disappearing.
  4. Server-sent events for generationGeneration takes time. SSE streams text from server to client simply, so the interface never looks blocked.
  5. Privacy by architectureA personal archive holds sensitive professional and strategic material, so local deployment and local settings and keys are product requirements, not extras.

Technology

AI pattern
Retrieval-augmented generation with source citations
Models
Multiple providers with task-based routing; GPT-4o for repurposing
Streaming
Server-sent events
Visualisation
D3.js force-directed knowledge graph
Resurfacing
Custom scoring over value, relevance, age and inactivity; five heat levels
Privacy
Local deployment, locally stored settings and keys

Outcome

Personal project · 2026
purpose-built interfaces over one knowledge engine
interconnected memories in the demo persona
memory heat levels, from Hot to Frozen
30 daysof inactivity before an old memory is due to resurface

Status

In the release
  • Daily resurfacing and the monthly forgotten-gems digest
  • Semantic recall chat with source citations
  • D3.js knowledge graph and memory library
  • Repurposing studio: LinkedIn posts, emails, blog drafts, proposals
  • Ingestion from local files and manual entry
  • Settings for AI keys, theme, density and motion
Planned directions
  • Connectors for Notion, Evernote, Gmail, Google Drive, Apple Notes and Obsidian
  • Team workspaces
  • Domain versions for engineering, legal and medical knowledge

My role

Architected and built end to end by one developer.

  • Product idea and system architecture
  • RAG and semantic retrieval
  • Model routing
  • Resurfacing algorithm and heat scale
  • Knowledge graph and memory library
  • SSE streaming, repurposing studio and monthly digest
  • Demo persona and privacy-first deployment
Brain Link detail 1
Brain Link detail 2
Next projectFinoraPersonal finance for Sri Lanka's whole-rupee, cash-and-paper economy: a native iOS 26 app with receipt capture and exact money maths, designed around a hybrid ML and RAG backend.