CYGNET: Cypher Gate for Neural Execution Triage and Cost Containment

Tomczak, Nikodem

–arXiv.org Artificial Intelligence 

Knowledge graphs underpin a growing share of retrieval-augmented generation systems, scientific data management platforms, and enterprise search infrastructure [1-3]. Their structured representation of entities and relationships provides factual grounding that flat text retrieval cannot, and their dynamic update semantics suit operational contexts in which the underlying knowledge changes between queries. Large language models operating as agents over these graphs translate natural-language questions into queries in graph query languages such as Cypher [4] and execute them against production graph databases. Conversational and multi-agent systems including Chatty-KG [5] and AGENTiGraph [6] demonstrate the architectural pattern in which one or more language-model agents construct, refine, and execute graph queries inside a loop. Agent-generated queries fail in two fundamentally different ways. A structural failure occurs when the query is syntactically malformed, references a label or relationship type absent from the schema, passes a value of the wrong type to a property, or violates a declared constraint.