Xata offers a flexibly customizable integration with the OpenAI API for vector embeddings, enabling semantic search and allowing you to ask questions to your database in natural language.
https://github.com/xataio/agent
Xata Agent is an open-source agent that monitors a Postgres database, identifies the causes of problems, and suggests fixes and improvements along with performance issue fixes and indexing suggestions. Support models from OpenAI, Anthropic, and Deepseek.
https://www.youtube.com/watch?v=SLVRdihoRwI
The team is also working on a cloud version. There is a waitlist at the link.