$ cat ./how-its-built/README.md
How It's Built
A walk through of some of the design decisions and architecture behind Be Right Back.
Measured numbers live in ./benchmarks.
tip: Most articles have a Technical and Simple mode. Toggle between them based on your preference.
$ ls ./articles/
[01]The Problem & VisionWhy build a local-first AI persona app? The inspiration, motivation, and ethical considerations.[02]System DesignHow the desktop app, Rust crates, MLX daemons, and local databases fit together.[03]Data Foundation - Understanding iMessageDeep dive into the iMessage database schema, message decoding, and snapshot strategy.[04]Ingestion PipelineThe 6-stage pipeline that transforms raw messages into searchable vector embeddings.[05]Vector Search & RAGHow semantic search and retrieval-augmented generation power intelligent conversations.[06]Casper - The Agent SystemHow Casper orchestrates query planning, hybrid search, reranking, and context building to answer questions about your messages.[07]Training Pipeline - LoRA & MLXLocal LoRA fine-tuning on Apple Silicon using MLX for personalized language models.[08]Inference System - Running Models LocallyMulti-backend architecture for running fine-tuned models entirely on your Mac.[09]Desktop App Architecture - Tauri & ReactBuilding a native macOS app with Rust, Tauri, and React for performance and security.[10]Privacy & Ethics by DesignHow architectural decisions ensure your data never leaves your device.> Content is being written. Check back for updates as articles are completed.