# 163K lines of Kuzu's codebase reveal why Apple acquired the graph database

Original title: I Analyzed 163K Lines of Kuzu's Codebase. Here's Why Apple Wanted It

> Hacker News story 49319011 · language: en · submitted 2026-08-16
> Web version: https://zeli.app/story/49319011
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 17 · by [zeristor](<https://news.ycombinator.com/user?id=zeristor>) · 💬 11
[original](<https://medium.com/data-science-collective/i-analyzed-163k-lines-of-kuzus-codebase-here-s-why-apple-wanted-it-12294a7035fa>) · [HN discussion](<https://news.ycombinator.com/item?id=49319011>)

## Summary

An analysis of 163,000 lines of C++20 in Kuzu, the embedded graph database Apple quietly acquired in October 2025, reveals three architectural decisions—factorized execution, worst-case optimal joins, and an Umbra-style storage engine—that make the acquisition strategic. The 10-person startup's codebase solves the problem of reasoning about relationships on-device, without a server, for Apple Intelligence.

## Key quote

> These aren’t incremental improvements over Neo4j or other graph databases.

## HN discussion (11 comments)

### [zeristor](<https://news.ycombinator.com/item?id=49319012>)

> Maybe I am 6 months bit late to the party; ironically I am trying out different graph databases and Kuzu was mentioned, but now it is off the table.

### [kakugawa](<https://news.ycombinator.com/item?id=49380630>)

> https://archive.is/iV3sk

### [jiehong](<https://news.ycombinator.com/item?id=49380702>)

> Not even edited AI output, but ok.

---

## Cite

- Page: https://zeli.app/story/49319011
- Date: 2026-08-16
- Source: medium.com (https://medium.com/data-science-collective/i-analyzed-163k-lines-of-kuzus-codebase-here-s-why-apple-wanted-it-12294a7035fa)
- Hacker News: https://news.ycombinator.com/item?id=49319011

## Other languages

- zh: https://zeli.app/zh/story/49319011 · markdown: https://zeli.app/zh/story/49319011.md
