Allay: A Minecraft AI Helper Built on Relate by Neo4j Developer advocate Martin O'Hanlon built Allay, a Minecraft helper agent, for the Relate by Neo4j hackathon, which runs until December 12, 2026 at 2:00am and asks entrants to build AI agents, apps or tools on Neo4j's open-source embedded graph database Relate under the theme "Context, Connected." Allay builds a graph of roughly 6,300 nodes directly from the Minecraft server's own jar in about a second — 1,585 recipes, 1,166 mining and drop actions, 66 biomes, 90 mobs and 795 spawn links, 34 structures and 40 ore placements — so answers match the version being run. The agent runs entirely locally, with Relate embedded in-process and both the chat and embedding models served through Ollama using a default 4B-parameter Qwen3 model, requiring no cloud, API keys or subscription. Allay: A Minecraft AI Helper Built on Relate by Neo4j Developer Advocate, Neo4j 5 min read Allay https://github.com/martinohanlon/Allay is a helper for Minecraft, named after the little blue mob that fetches things for you. I built it for the Relate by Neo4j hackathon https://relate.devpost.com/ . The hackathon is open till December 12th 2026 2:00am and you can win prizes for building a project that shows how connected data helps agents, apps, or people find and use the relationships that matter. Type /allay what am I missing for an iron pickaxe? in chat and it looks at what you are holding, works out the recipe route from the game’s own data, and tells you what is left. What is Relate? Relate https://relatedb.ai is a new open-source embedded graph database from Neo4j https://neo4j.com , built for AI agents. There is no server to run and no signup. It is a library you open from your own code Python, Rust, a CLI or WebAssembly , and the whole database can live in a single file. It speaks Cypher and has vector and full-text search built in. That last part is what made Allay possible. The graph, the vector search and the agent all live in one process on one machine. The Relate by Neo4j hackathon https://neo4j.com/blog/graph-database/announcing-the-relate-by-neo4j-hackathon-2026-build-ai-agents-on-an-embedded-graph-database/ launched alongside Relate at NODES 2026. The challenge is to build an AI agent, app or tool with Relate, under the theme “Context, Connected”. Why Minecraft? Minecraft has a complex structure, which makes it a very good fit for a graph. The game’s own data is already nodes and relationships: an iron pickaxe is made from a recipe, which needs a class of materials, which includes iron ingots, which are smelted from raw iron, which you get by mining ore, which is found at certain heights in certain places. Minecraft also has a huge community, and I wanted to give it something useful for free. Allay has no subscription and needs no API keys. It runs on your own machine. Allay builds the graph straight from the server’s own jar, so the graph matches the version you are actually running. It takes about a second and gives roughly 6,300 nodes: 1,585 recipes, 1,166 mining and drop actions, 66 biomes, 90 mobs and 795 spawn links, 34 structures and 40 ore placements. The same route is one Cypher query: MATCH p = :Item {name:'Iron Pickaxe'} <- :CREATES - :Recipe - :REQUIRES - :ItemClass {name:'Iron Tool Materials'} - :INCLUDES - :Item {name:'Iron Ingot'} <- :CREATES - :Recipe - :REQUIRES - :Item {name:'Raw Iron'} <- :CREATES - :Mine - :TARGETS - :Block RETURN p Context, connected The hackathon theme describes what Allay does with each question. Three graphs sit in one Relate file and share nodes: The live state is the part I like most. With every question, the plugin sends a snapshot of the player, and the agent writes it to the graph as Player - :HOLDS - Item . Those Item nodes are the same ones the recipes use, so “what am I missing for an iron pickaxe?” is a graph traversal with your own inventory subtracted from the route. For how-to questions, like “why shouldn’t I dig straight down?”, the agent searches the wiki passages with a vector index and a full-text index together, and says which page the answer came from. It all runs on one machine Allay is entirely local. Relate is embedded in the agent, and both the chat model and the embedding model run through Ollama https://ollama.com . There is no cloud and there are no API keys. It is meant to sit on the same machine as your Minecraft server, and the plugin starts and stops the agent along with the server. The default model is a 4B parameter Qwen3 model, which is small enough to run on a laptop CPU. A small model makes mistakes, so the agent does not rely on it for facts. It has six read-only tools recipes, routes, where to find things, the player’s state, wiki search and name lookup , and each one returns a small, bounded result for the model to put into words. Does the graph help? I wanted to test that rather than assume it. The eval asks 36 questions of the same model twice, once alone and once with the graph. The right answers are computed from the graph and scored automatically. The model alone got 8 of 36. With the graph it got 36 of 36. The model alone was fine at refusing and at saying something does not exist, but it could not remember recipes, ore heights, drops or routes. That number comes with caveats, and the README lists them. The answers come from the same graph the agent reads, so this measures faithful retrieval rather than whether the data is right. I tuned the agent against this set, and the first run before any fixes scored 28 of 36. It is one run on one model, with no held-out set. The gap is real, but treat 36 of 36 as the result after tuning. Showing where an answer came from /allay-explain opens a book in game with your last five questions, the answers and the sources behind each: the recipe or route, the wiki page, or your own inventory. Under each source is the graph path that was walked. The sources are built by code from what each tool returned, never by the model, so a source is something Allay really read. A model that cites its own sources can make them up, and this way it cannot. Try it Allay needs Ollama, Python 3.10 or newer and a Minecraft Java client. On a new server, the installer fetches everything else: git clone https://github.com/martinohanlon/Allay.git cd Allay scripts\install.ps1 scripts\start.ps1 -AcceptEula Join localhost and type /allay where do I find diamonds? . The README covers adding it to a server you already have. There are .ps1 scripts for Windows and .sh for Linux and macOS. Join the Relate by Neo4j Hackathon https://relate.devpost.com/ for your change to win a top end Apple Mac Mini.