pgEdge AI DBA Workbench · Open source

Fewer false alarms. Faster answers. Your Postgres estate, under your control.

AI-powered monitoring and management purpose-built for PostgreSQL. Continuous metrics collection, three-tier anomaly detection, and an optional agentic AI assistant that works through problems with you.

2.0 is a beta. Try it on a non-production datastore first. Upgrading from 1.0 is a one-way migration, so back up first and read the upgrade guide.

  • Free & open source
  • Any PostgreSQL 15+
  • No agent on your database hosts

Spend less time on false alarms and more on the problems that are real.

Most teams want to do more with PostgreSQL. The bottleneck is the shortage of skilled Postgres people to run it. The AI DBA Workbench is built by our experienced PostgreSQL engineers to be a co-pilot and force multiplier for the DBAs you already have.

It watches every instance and catches anomalies before they become outages. It walks through diagnosis and resolution step by step, so a senior DBA can cover more ground and a junior DBA can handle cases they couldn't before.

Runs on any PostgreSQL 15+ instance, anywhere, including community Postgres, pgEdge, Amazon RDS, Supabase & more. No migration. No rip-and-replace.

Workbench estate view

Four components. One self-hosted platform.

Your monitoring data lives in a datastore you host. You decide whether AI features run on a local model or a third-party LLM.

Read the docs
1

Collector: Continuous metrics

  • 34 configurable probes across every instance
  • Replication lag, vacuum, query stats, WAL, connections, security posture
  • Remote collection over the standard PostgreSQL wire protocol
  • No agent installed on the database host
  • Optional metrics storage in Apache Iceberg tables through ColdFront (beta, new installs only)
2

Server: MCP endpoint & REST API

  • MCP endpoint and REST API over HTTP/HTTPS (JSON-RPC 2.0)
  • Role-based access control
  • LLM proxy for Anthropic, OpenAI, Gemini, Ollama and OpenAI-compatible runners
  • Conversation history management
  • Single sign-on through OpenID Connect
  • Tamper-evident audit log of permission changes
3

Alerter: Three-tier anomaly detection

  • Optional decision-model support (TypeSafe Jev) for faster, cheaper alert triage
  • Alerts clear automatically when conditions normalize
  • Blackout scheduling with cron recurrence for maintenance windows
  • Threshold alerts that wait for sustained samples before they fire and clear
  • Alerts when a probe stops collecting or an AI provider starts failing
  • Notifications to email, Slack, Mattermost, Telegram and webhooks
4

Client: Browser-based UI

  • Drill-through dashboards from estate down to individual index stats
  • Cluster navigator with color-coded status across nodes
  • Admin panel for users, tokens, connections and alert rules
  • Baseline charts that plot a metric against its normal range
  • Top Queries, Connections and Replication Slots views, with custom time ranges
Meet Ellie

An AI agent that diagnoses, not just describes.

Ellie is an optional AI assistant that has 21 MCP tools and a knowledge base of PostgreSQL and pgEdge projects. When she finds an issue, she suggests SQL to fix it. You review it. You decide. Press play to have Ellie run it, or copy it into psql.

  • Run EXPLAIN ANALYZE and interpret the output
  • Compare historical metrics against current state
  • Inspect schemas, indexes, and table statistics
  • Suggest specific SQL for you to review and run to resolve identified issues
  • Persistent memory with semantic recall
  • Restart guidance for the Workbench's own components: server, collector, alerter and web client
Download now
Ellie diagnosing a query

Ellie remembers. Pin context like "our busiest period is 2–4pm EST" and it carries into every conversation.

Three tiers, because one is not enough.

Fixed thresholds catch the obvious. The Workbench catches the rest.

Tier 1

Statistical baselines

Establishes normal behavior per metric, per instance. Catches deviations without manual threshold configuration, and baselines adapt as your workload changes.

Tier 2

Embedding similarity

Matches metric patterns against a library of known anomaly signatures using vector embeddings. Catches patterns statistical rules miss, such as periodic locking storms.

Tier 3

Final call

For ambiguous cases, a reasoning LLM or an optional decision model such as TypeSafe’s Jev decides whether it’s a real issue. If the model is unavailable or if AI capabilities are turned off, the alert is raised anyway.

What's included

Four open-source components, built to work together.

Monitoring & dashboards

34 built-in probes, drill-through from estate to index, specific views, custom time ranges, and AI-generated summaries at estate, cluster and server level.

MCP server

Standards-compliant MCP with RBAC and API tokens. The same tools Ellie uses, exposed to any MCP client.

Alerting

Hierarchical thresholds with hysteresis, automatic clearing, cron blackouts, and notifications to Slack, email, Mattermost, Telegram and webhooks.

Security

AES-256-GCM encrypted credentials, role and privilege management, read-only modes, and air-gapped deployment.

AI assistant (Ellie)

21 MCP tools, multi-step workflows up to 50 tool iterations, and SQL fixes the administrator reviews and applies.

Your model, or none

Claude, OpenAI, Gemini, or locally host with Ollama, llama.cpp, EXO, or others. Use a decision model like Jev. Or, turn AI off completely.

Your AI dev tools, connected to your monitoring data.

Any HTTP MCP client gets the same access Ellie has: live metrics, schema introspection, alert history, query execution, and EXPLAIN ANALYZE. Investigate a slow query in Cursor and see the cluster context behind it, whether the database is community Postgres, pgEdge, RDS, or Supabase.

  • Claude Code
  • Cursor
  • VS Code + Copilot
  • Codex
  • Any MCP client

Calling query_datastore from your own tooling? In 2.0 it takes structured arguments instead of raw SQL, which is a security improvement and a breaking change. The new describe_datastore tool shows what you can query.

Download now
Architecture: AI clients connect to the Workbench MCP Server, which reads from the Collector and Alerter monitoring any Postgres database

Runs on your infrastructure. You decide what leaves it.

Any PostgreSQL 15+ instance, anywhere. No agent installation required.

Community Postgres, pgEdge Enterprise Postgres, pgEdge Cloud, and any Postgres DBaaS including Amazon RDS, Azure Database for PostgreSQL, Google Cloud SQL, and Supabase. No migration required.

Workbench connecting to Postgres on any platform

Read the deployment docs
Workbench connecting to Postgres on any platform

How it compares

A Postgres monitor for AI-assisted operations, backed by experienced PostgreSQL engineers.

CapabilitypgEdge AI DBA WorkbenchEDB PEMpganalyzeDatadog DBMPercona PMMpgwatch
AI / LLM assistantAgentic, 21 tools, multi-stepNoneIndex advisor onlyML anomaly detectionBuilt-in advisorsNone
MCP protocolNativeNoPreviewNoNoNo
Distributed PG awarenessNative multi-master detection & monitoringPatroni onlyGenericGenericGenericGeneric
Anomaly detection3-tier (stats + embeddings + LLM)Threshold-basedThreshold-basedML-basedML-based (v3+)Threshold
Self-hostedYesYes (subscription)DockerSaaS platformYesYes
Local / air-gapped LLMYes (Ollama, LM Studio, llama.cpp, EXO)N/AN/AN/AN/AN/A
Persistent AI memoryYesNoNoNoNoNo
Agent requiredNo agent on database hostsYes (per-server)YesYesYesNo
PricingFree (OSS)EDB subscription$149–$399+/moFrom $70/host/moFree (OSS)Free (OSS)

Frequently asked questions

More answers in the full FAQ.

Do I need to migrate my databases to use the Workbench?

No. It monitors any PostgreSQL 15+ instance where it runs today, including community Postgres, pgEdge, Amazon RDS, Azure, Google Cloud SQL, and Supabase.

Do I have to install anything on my database servers?

No. The Collector connects remotely over the standard PostgreSQL wire protocol, so nothing is installed on the database host.

Which LLMs does Ellie work with?

Anthropic Claude, OpenAI, and Google Gemini for cloud inference, or Ollama and any OpenAI-compatible endpoint (LM Studio, llama.cpp, EXO) for fully local, air-gapped use. For alert classification, you can also add a decision model such as TypeSafe’s Jev or the OpenAI Decisions API, which is faster and cheaper than an LLM. Decision models are optional and available in the 2.0 beta, and an LLM still writes the explanation when you ask why an alert fired.

Can I run it without AI features?

Yes. AI features can be disabled entirely, and the Workbench runs as a traditional monitoring and management system.

Does Ellie change my database on her own?

No. Ellie proposes SQL; an administrator reviews it and decides whether to run it.

How much does it cost?

It's free and open source under the PostgreSQL License. pgEdge Enterprise Postgres subscribers get support at no extra cost.

Is 2.0 ready for production?

2.0 is a beta (v2.0.0-beta1). Try it on a non-production datastore first. The upgrade migrates the datastore and the authentication database in one direction only, so take backups before you start.

What should I know before upgrading from 1.0?

PostgreSQL 14 is no longer supported, so move any 14 datastore or monitored server to 15 or later. The migration can't be reversed. Several security changes affect existing API tokens, connection grants and SSL file paths, so work through the upgrade guide's checklist before you start.

Ready to give your Postgres estate a co-pilot?

Fully open source. Self-hosted. PostgreSQL-licensed. Available now on GitHub, or as part of pgEdge Enterprise Postgres accompanied by 24x7x365 support from our dedicated PostgreSQL team.