AI Connector
AI Connector opens Datasentinel metrics to AI assistants. Ask a question in plain language: the assistant analyzes your PostgreSQL workload, explains what it finds, and turns the evidence into concrete recommendations.
New usage modes: natural-language conversations over your metrics, dynamic dashboards, recurring automated analyses, and more.
Performance analysis in the past: investigate historical workload (the same data behind Session History and Top Queries) on a single instance or on a set of instances selected by tag (TAG), with optional generation of reports in HTML or other formats.
Real-time troubleshooting: diagnose a live PostgreSQL instance in real time through the Live360 module, subject to the user's rights on it.
Workload comparison: compare different workloads (across time periods, instances, or applications) to highlight differences, trends, and regressions.
Actionable recommendations: because the assistant reasons over the full database context exposed by Datasentinel, it naturally turns its analyses into concrete recommendations: queries to optimize via Top Queries, indexes and execution plans to consider, parameters to review, regressions to investigate, vacuum/autovacuum tuning, and object reorganization when fragmentation or bloat builds up.
Reaching application teams: beyond DBAs, the connector makes Datasentinel accessible to application teams far more easily than a purely technical monitoring tool, by adapting its communication and level of detail to each audience's profile.
AI Connector is made of two parts:
An MCP server, running on each platform server. It exposes Datasentinel's metrics to AI assistants over the Model Context Protocol (MCP).
A Skill, which tells the AI assistant how to use the MCP server: which tools to call, in what order, and how to turn the results into analyses and recommendations.
You can run several MCP servers, one per platform server, so the number of MCP servers scales with the number of platforms you operate. An assistant can register several of them at once, letting you switch platforms mid-conversation or get an overview across all your Datasentinel platforms. See Work with several platforms.
The MCP servers and the Skill must both be configured in the assistant before it can dialog with your platform(s). Once configured, the assistant connects to the MCP server(s) and follows the Skill to drive Datasentinel.
Any assistant that supports MCP and Skills can be used, whether it runs as a desktop app, a CLI, or an IDE extension. Popular examples include Claude, Codex, Copilot, Deep Agents, and Hermes Agents.
The LLM behind each assistant is entirely independent of AI Connector: you choose your assistant and its model, and AI Connector works with whichever one you use.
Get started
Get a platform with the MCP server
Use the sandbox platform, or upgrade your own platform to 2026.10 or later: the MCP server is bundled with it. On an upgrade from an older release, follow the manual setup.
Connect your assistant
Register the MCP server URL, https://<host name>/mcp, under a name that starts with datasentinel-, so the Skill discovers it. Then install the Skill from datasentinel-skill.zip. Each guide under Configure an assistant walks through both for one assistant.
Sign in and ask
Your first question opens the Datasentinel login page in your browser: sign in with your platform login. Then ask, for example, "which instances do I have?". Real-time analyses also need the Live360 right on your account.
Get the most precise recommendations
The precision of the assistant's analyses depends directly on the depth of the metrics Datasentinel collects. Two setup points raise that depth significantly:
Security
Opening your metrics to an AI assistant never opens your databases. Every analysis stays read-only, and each user sees only what their platform rights allow.
Access control
Access is granted by signing in. The first time an assistant uses the Datasentinel MCP server, it opens the Datasentinel login page in your browser and you sign in with your platform login and password, the same ones as the web interface. The assistant then holds a token on your behalf, renews it silently, and never asks you for a token or a password in the conversation. You sign in again only after ten days without using the server. That token is your own: it carries your account, so it:
restricts which instances can be reached (RBAC);
applies per-profile permissions (DBA or Developer), as configured under Users & Roles;
determines real-time access through the Live360 module: a user without this privilege cannot trigger any real-time analysis.
Scripts and scheduled jobs, which have nobody to sign in, use a user token instead: obtained from the web interface or the API, valid 24 hours, and sent by the client as an authorization header.
Read-only by design
Every analysis, including real-time ones, transits through the platform.
Real-time analyses run only a few read-only queries via the Datasentinel agent and the Datasentinel collection user.
No direct modification is ever made on the PostgreSQL clusters.
No PostgreSQL credential is ever known to the AI assistants.
Communication style
The Skill does more than tell the assistant which tools to call: it also governs how the assistant talks to you.
Every response is written for its reader, in their language, in a shape built for scanning rather than scrolling.
Two styles, one per reader
The Skill writes in one of two styles, named for the way they read rather than for a job title: TECHNICAL for anyone fluent in PostgreSQL vocabulary, PLAIN for everyone else.
The account you signed in with carries your role, as configured under Users & Roles, and the Skill picks the matching style automatically when the session starts: a Data admin gets TECHNICAL, a Developer gets PLAIN. When the role cannot be determined, the Skill falls back to PLAIN, which reads safely for everyone.
TECHNICAL
PLAIN
Written for
PostgreSQL experts: DBAs and anyone fluent in PostgreSQL terms
Application teams and everyone else
Vocabulary
PostgreSQL concepts, parameters, and lock types, used freely
Plain language only: every technical concept is translated
Focus
Evidence and mechanisms, at DBA altitude
Impact on the application and its users
Server-level metrics
Full measurements
A clear verdict ("the storage couldn't keep up") instead of raw server numbers
Recommended actions
The full operation, with its cost
Actions the reader owns; anything DBA-owned becomes an escalation, with the evidence to pass along
The same care in every response
Whatever the style, the Skill holds the assistant to the same rules:
Findings first, ordered by impact. The first finding carries the biggest available win, so acting on it alone gets most of the benefit.
Tables, not walls of prose. Metrics, findings, and recommendations arrive as scannable tables, with a key-points summary on top.
No bare recommendations. Every suggested change states why it works against your evidence and what improvement to expect, quantified from your own metrics.
No internal plumbing. Raw wait-event codes, metric field names, and opaque identifiers stay out of sight: you read findings, not API output.
Your language. The assistant replies in the language of your first message (French, Spanish, Japanese, and more) and switches whenever you ask.
Configure an assistant
This list is not exhaustive: any MCP-and-Skill-capable assistant can connect to Datasentinel, whether it runs as a CLI, a desktop app, or an IDE.
Each guide also links to the assistant's official documentation.
Analyze and tune workload examples
Worked examples show what to ask and what to expect back: tuning top queries, diagnosing a live spike, untangling blocking, comparing workloads, tracking drift, generating reports, and more. They are all gathered on one page, grouped by goal.
New ways of working
AI Connector opens your metrics to more than one way of working.
The common way is a chat: ask in plain language from a CLI, a desktop app, or an IDE, and get actionable recommendations grounded in your own metrics.
From there, the same metrics and the same Skill go further, up to agents you create yourself:
Developers
Beyond ready-made assistants, you can build your own programs against the AI Connector for custom integrations and automation.
The examples below use Python, with the option to run the model hosted or fully local on your own hardware.
Troubleshooting
When an assistant cannot reach the platform or cannot sign in, the cause is usually on the network path: where the assistant runs, the TLS certificate, the host name, or the sign-in session. When it reaches the platform but the conversation looks wrong (no banner, no next-step menu, raw output), the Datasentinel Skill did not load.
Each guide starts from the symptom you see, and gives the checks and the fix.
