Sage Nord Lab
Deep research and investigations into software engineering and AI.
Articles
- PureReason: a deterministic verification layer that catches AI hallucinations in under 5ms Most hallucination detection asks a second LLM to grade the first one, which is slow, expensive, and only as reliable as the grader. PureReason is Sage Nord's open-source alternative: symbolic logic and embeddings instead of another model, verifying AI output in under 5 milliseconds with zero API calls.
- Cortyx: why your coding agent shouldn't re-read the whole repo on every turn Long-lived AI coding sessions keep paying to re-establish context: either the full repo gets stuffed into every prompt, or a memory layer calls another LLM to decide what matters. Cortyx is Sage Nord's open-source answer: a local, pure-Rust context delivery engine that retrieves the right 3-5 pre-written 'neurons' in under 40ms, with no runtime model and 96.8% R@5 on LME-500.
- Why Uber built one gateway for 60+ internal LLM use cases instead of letting every team integrate separately Uber had over 60 internal LLM use cases with each team building its own integration. The GenAI Gateway centralized vendor access, security, and cost tracking behind an OpenAI-compatible API, and it also shows what that centralization costs.
- How Discord fixed hot partitions by moving trillions of messages off Cassandra Discord's Cassandra cluster grew to 177 nodes and kept paging on-call for unpredictable latency caused by 'hot partitions.' The fix wasn't just a database swap to ScyllaDB, it was a coalescing layer in front of it.
- How Shopify sharded Shop app's Rails backend without stopping the world Shopify's engineering team migrated the Shop app's MySQL backend to Vitess to fix multi-week schema migrations and capacity throttling. The real lesson isn't the sharding key, it's the query verifiers that made the migration safe.
- Why on-device LLM assistants have felt slow, and how NPUs fix it A Peking University ASPLOS 2025 paper shows NPU offloading can cut mobile LLM prefill latency dramatically. Here's why that matters for anyone building on-device AI features on iOS or Android.
- EU AI Act Article 50 is now in force: what chatbots, generative AI, and deepfake features must do Article 50 of the EU AI Act took effect on 2 August 2026, requiring AI transparency disclosures and machine-readable watermarking. Here's what it actually requires, verified against the official text, and what it means for teams shipping AI features.
- What 86,726 broken code samples tell us about trusting AI-generated code A new IEEE ISSRE 2026 study quantifies how LLM-generated code actually fails across languages, and shows that self-correction is far less reliable than assumed. Here's what it means for teams shipping AI-assisted code.
From our authors
Conscious Engineering
Founder Yeskendir Salgara's personal newsletter on iOS, KMP, and AI engineering — the ideas that inspire Sage Nord Lab's research and this studio's work.
Xcode, Swift: Mastering Build, Launch, and Size
A deep-dive book on the three metrics that make or break a Swift app: build time, launch time, and app size — with practical fixes for each.
Sage Nord