GitHub avatar

Fox's Blog

← Blog Posts

#open-source

Luna Protocol: shared brains, emotion classification, and interesting/futile routing

Luna Protocol went from a monolith to a four-layer architecture: adapters, brain, emotion classifier, and inference. On the menu: embedding centroids, interesting/futile routing, and LLM parameter tuning by valence and arousal.

discordmatrixllmarchitectureembeddingscentroidsemotion-aiopen-source

Luna Protocol: Why I fine-tuned a 1.5B model on 50k Discord samples and why few-shot priming changed everything

A smaller model trained on less data can outperform a bigger one -- if you know how to prime it. Here is why Luna Protocol switched from a 3B Hermes to a 1.5B Qwen fine-tune, and why few-shot priming became the real game-changer.

discordllmfine-tuningfew-shot-learningqwenunslothopen-source

Luna Protocol: I created an autonomous Discord bot that simulates a human being

Luna Protocol is a fully autonomous Discord bot powered by a local LLM, capable of natural conversation with sleep, typos, hesitations, forgetfulness, thematic fatigue, and spontaneous messages.

discordllmtypescriptevent-driven-architectureaiopen-source

My dumb AI for Nausicaa

A heuristic coefficient-based AI with hyperparameters that randomly change every 5 turns, and an Oracle that runs away -- diving into the brain of a mythological strategy board game.

gamingaijavascriptopen-source

Running a Node.js library in the browser without Wasm -- typescript-virtual-container's polyfills

✨ AI Generated Article

How Fortune hand-rewrote node:fs, node:crypto, and a dozen more Node modules in 640 lines of JavaScript so the container runs in the browser without Wasm.

typescriptnodejspolyfillsbrowseropen-source

Building character-factory: avatars with genetics

✨ AI Generated Article

A TypeScript module on top of DiceBear: coherent country/ethnicity-based generation, a small genetics engine for projecting children, and the engineering details that made it usable in a card game.

typescriptnpmopen-source