pgchat

JSON →
library 0.0.12 ·javascript
verified Jun 5, 2026

pgchat is a CLI tool that provides a chat interface for PostgreSQL databases, powered by Inferable AI. Current stable version 0.0.12, updated frequently on npm. It allows querying databases via natural language without exposing connection strings by proxying queries through a local function. Key differentiators: approval mode to review queries before execution, privacy mode to keep data local, and no need for connection tunneling. Uses Inferable's Node.js SDK, supports local or self-hosted Inferable instances. Ideal for developers who want to interact with Postgres using conversational AI.