HeadlinesBriefing favicon HeadlinesBriefing.com

Ghost DB: The Agent‑First Postgres Platform

Towards Data Science •
×

Ghost, launched by ghost.build, claims to be the first database designed for AI agents. Built atop PostgreSQL, it lets developers create, fork, inspect and delete databases entirely in the cloud, bypassing local infrastructure. The platform stays free and targets disposable, programmable environments.

Developers argue that when agents write migrations, run SQL or prototype data models, they need a sandbox‑like database. Ghost offers on‑demand instances, easy forking, and a built‑in MCP server that lets agents like Codex and Claude Code manage databases without manual credentials.

Installation is straightforward: a single curl or PowerShell script installs the CLI, after which users authenticate via GitHub. Once authenticated, Ghost’s MCP server integrates with popular coding agents, exposing a suite of tools such as ghost_sqltool, ghost_forktool, and ghost_createtool.

A Codex example creates a 10,000‑row sales database in 1m 32s, automatically generating tables for customers, products, and orders without keys or indexes. Ghost’s speed and flexibility make it a practical companion for rapid AI development cycles.