Ask HN: What's your experience with using graph databases for agentic use-cases?
51–56 of 56 posts
Re: Ask HN: What's your experience with using graph databases for agentic use-cases?
#52Re: Ask HN: What's your experience with using graph databases for agentic use-cases?
#53Neo4j has a GraphRAG book that I've found very helpful: https://neo4j.com/essential-graphrag/ It depends on the shape of your data. In my domain (cloud security), there are many many entities and it's very valuable to map out how they relate to each other. For example, we often want to answer a question like: “Which publicly exposed EC2 instances are used by IAM roles that have administrative privileges in my AWS acc…
Re: Ask HN: What's your experience with using graph databases for agentic use-cases?
#54I'd also design the system architecture in such a way that your non-agentic workloads don't suffer if you have to move between query models for serving agentic workloads better.
Re: Ask HN: What's your experience with using graph databases for agentic use-cases?
#55Re: Ask HN: What's your experience with using graph databases for agentic use-cases?
#56Essentially to make it behave more like a human so that it learns and builds up an understanding of the pages it should test we map interactions into a knowledge graph stored in Neo4j. The consists of Pages and Actions on the page as well as links to documentation sections and other relevant info, together with descriptions, metadata and embeddings for search.
To make the agents better at planning and understanding the context of the page it can search the graph for relevant information and expand through the graph for more context.
This works remarkably well. I think our agents (when they have interacted a bit w the page) are some of the best browser agents I have tested.
I would highly recommend this but you need to put some effort into a nice ontology for the graph and making the tolling right for your use case. Its really not just plug and play. :)