How are you giving AI agents access to postgress? A developer asks how to give AI agents access to a PostgreSQL database, weighing the risks of letting an LLM generate SQL versus using predefined operations, and noting that either approach requires writing deterministic guards. I mean we can either let llm generate sql but that's risky right or should we do defined operations? I mean for both reads and write. But whether it's llm generate or we define we have to do the manual work of writing determistic guards right... Comments URL: https://news.ycombinator.com/item?id=48949955 https://news.ycombinator.com/item?id=48949955 Points: 1 Comments: 0