Skip to content

pgEdge/ai-dba-workbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

694 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgEdge AI DBA Workbench

CI - Alerter CI - Client CI - Collector CI - Docker CI - Docs CI - E2E CI - Server

Table of Contents

pgEdge AI DBA Workbench

The pgEdge AI DBA Workbench is a unified environment for monitoring and management of any PostgreSQL v14+ instance, including Supabase and Amazon RDS, with an optional AI agent. The Workbench watches every instance, catches anomalies before they become outages, and walks through diagnosis and resolution step by step.

The Workbench combines a Model Context Protocol (MCP) Server with a web-based user interface and data collector. Users can query, analyze, and manage distributed clusters using natural language and intelligent automation. The Workbench exposes pgEdge tools and data sources such as Spock replication status, cluster configuration, and operational metrics to language models.

The architecture supports switching between cloud-connected LLMs like Claude and locally hosted models from Ollama. This design ensures similar levels of functionality in air-gapped or secure environments. The pgEdge AI DBA Workbench bridges database administration and AI reasoning; it offers an extensible foundation for observability, troubleshooting, and intelligent workflow creation across the pgEdge ecosystem.

The pgEdge AI DBA Workbench consists of four main components:

  • The Collector monitors PostgreSQL servers and stores metrics in a centralized datastore.
  • The Server provides MCP tools and resources for interacting with PostgreSQL systems.
  • The Alerter evaluates collected metrics against thresholds and AI-powered anomaly detection to generate alerts.
  • The Client provides a web-based user interface for the AI DBA Workbench.

The Workbench can be:

Using Binary Files to Install Workbench

Pre-built binary files for Workbench are available from the pgEdge repo at: https://github.com/pgEdge/ai-dba-workbench/releases.

The Quick Start - Installing with Binaries guide contains detailed instructions for using the binary files to install and configure the Workbench.

Building Workbench from Source

The Workbench can be built from source for local development or to produce custom binaries.

The Quick Start - Building from Source guide contains detailed instructions for cloning the repository, satisfying build dependencies, and compiling the Workbench: Building from Source.

Using Docker to Install Workbench

Pre-built container images for Workbench are published to the GitHub Container Registry for each release.

The Quick Start - Docker Deployment guide contains detailed instructions for deploying the Workbench using Docker Compose: Docker Deployment.

Issues

To report an issue with the software, visit: GitHub Issues

Contributing

We welcome your project contributions; for more information, see docs/developer-guide/contributing.md.

For more information, visit docs.pgedge.com.

License

This project is licensed under the PostgreSQL License.

About

A PostgreSQL monitoring system built combining traditional and AI monitoring from the ground up.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors