← Tue, Dec 1 digest

How Neo4j built a graph database in 20 years and 10 weeks

read article ↗ hn thread ↗

Neo4j released Relate, an open-source embedded Rust graph database for AI agents, built in just 10 weeks using extensive AI-assisted development.

summary is enough It offers a concise look at how Neo4j rapidly shipped an embedded Rust database using AI assistance, complemented by insightful developer commentary.

summary

Neo4j recently launched Relate, an open-source, in-memory embedded graph database written in Rust designed specifically for AI agent memory. An analysis of the repository reveals that over 80% of its initial commits featured AI co-authors, built over a ten-week period using strict architectural decision records to prevent drift. In the comments, a core developer confirms the heavy use of coding agents powered by various LLMs, while critics and users debate Neo4j's motivations and historical pain points with JVM garbage collection. This shift highlights how major enterprise database vendors are scrambling to capture developer mindshare in the nascent agentic workflow ecosystem.

key points

  1. Relate is an open-source, embedded, in-memory graph database written in Rust by Neo4j, specifically targeting AI agent memory constraints.
  2. Analysis of the public GitHub repository shows that 81% of the first 453 commits over 11 days listed an AI co-author.
  3. The team maintained architectural discipline during rapid AI-driven development by strictly enforcing Architecture Decision Records (ADRs).
  4. A core Neo4j developer confirmed in the comments that the project merged nearly 2,000 PRs using agents running on various LLMs, backed by foundational database experience.

who should read it

Infrastructure engineers and developers interested in AI agent memory architectures and AI-assisted software development workflows.

discussion positive

consensus

Commenters generally acknowledge the impressive speed of building a database in 10 weeks using AI, but debate whether it's a genuine strategic shift for agent workflows or a product pivot.

pushback

Some users express frustration with Neo4j's legacy JVM-based architecture and past garbage collection issues, though Relate's Rust rewrite addresses those specific pain points.

best comment by jexp ↗

It’s been a lot of fun. But yes we built it from scratch in a relatively short time. Some foundations were there especially acceptance tests for openCypher and performance tests and we had neo4j and others to test against. Since early September we merged almost 2000 PRs with agents running on fireworks models - glm, kimi, deepseek and the occasional Claude and Gemini. But 15 years of database architecture/design experience in our heads helped a lot with the steering. It’s all OSS so you can see the development pace. https://github.com/relatedb/relate

A core Neo4j developer confirms the project details, revealing they merged nearly 2,000 PRs using coding agents on various LLM models backed by 15 years of database design experience.

Generated by an LLM from the article and thread. Check the sources before relying on it.