Off-plan real estate, Dubai
Agentic sales platform: .NET core and API, Angular back office, React chat agent, multiple LLM providers routed through OpenRouter.
- .NET
- Angular
- React
- OpenRouter
Open-source engines you can read line by line, and client builds I can describe but not name. Every number here comes from a benchmark or a commit, and every repo is public.
I run and maintain a fork of llama.cpp-turboq, the engine that keeps a 4.125-bit KV cache inside the flash-attention kernel. That kernel, RotorQuant and the first MTP implementation are upstream work by Indras-Mirror and contributors. With an FP16 cache, 262K tokens of context alone would take two thirds of a 24 GB card; with TBQ4 it fits next to a 27B model. My part is making that hold up under real agent workloads, every day.
Built on: Indras-Mirror/llama.cpp-turboq-mtp ggml-org/llama.cpp
github.com/jtrefon/llama.cpp-turboq-mtp code ↗ → Read the lab noteSource: the repo README and my commits in the fork
amber is a native C++17 agent runtime: one plugin architecture for providers, tools and UI, multi-provider, MCP, sub-agents, a BitchX-style terminal UI and a headless CLI for Linux and macOS. Next to it I built amber-bench, so every architecture change shows up as a number instead of a feeling.
compass is an AI IDE written in Swift. Agentic coding runs on your own provider and keys; RAG over your codebase, fill-in-the-middle completion and chat run on-device and keep working offline. MIT licensed, installed with Homebrew.
A small transformer LLM built from scratch with minimal dependencies, to show how a model is put together.
github.com/jtrefon/llm-mini
A high-performance byte-level tokenizer.
github.com/jtrefon/blt
A small, effective way to fine-tune a reasoning model.
github.com/jtrefon/lora
Model distillation tooling.
github.com/jtrefon/distiller
C++17 compression engine: rANS, arithmetic, Huffman, LZ77 and BWT codecs, a block archive format, golden-format and fuzz gates.
github.com/jtrefon/compressionlib
Native WinUI 3 (C++/WinRT) desktop app for CompressionLib, with live ratio progress, archives and auto-update.
github.com/jtrefon/compressor-windows
Clients own what I build for them, so their names stay off this page. I can walk you through the architecture on the call.
Agentic sales platform: .NET core and API, Angular back office, React chat agent, multiple LLM providers routed through OpenRouter.
Agents written in PHP and deployed inside the client’s own application, wired to local scripts, SOPs and domain knowledge, running on the Gemini API. Fast, cheap and reliable.
Vision-model extraction pipeline. Ongoing, under NDA.
A 4.5B agentic coding model: Qwen fine-tuned for terminal and agent work, then distilled and RL-tuned per language and stack, trained on one RTX 4090, to ship inside compass.
30-minute technical call with the engineer who builds it. No sales team, no slides.