AI Agent Database Access: How to Let Agents Write Safely
Give an AI agent database access without handing over the keys: a Postgres role per agent, a SQL firewall, human approvals, query logs and session undo.
MCP Postgres Server: Connect Claude, ChatGPT and Cursor
Set up an MCP Postgres server for Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code and the OpenAI API, with scoped tokens and a safe read-only mode.
pgvector Guide: Build AI Search and RAG in Postgres
A hands-on pgvector guide: store embeddings, pick a distance operator, add HNSW or IVFFlat indexes, query with Row Level Security and build RAG in Postgres.
Undo Database Changes Made by an AI Agent, Step by Step
How to undo database changes an AI agent made: session revert with dry runs and conflicts, plus when to use change history, the recycle bin or a PITR restore.