# How are you giving AI agents access to postgress?

> Source: <https://news.ycombinator.com/item?id=48949955>
> Published: 2026-07-17 17:29:33+00:00

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
