Skip to content
Nov 3, 2026 - Version 2026.10 has been released
For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Connector

An AI assistant asks a question in plain language; the request goes through AI Connector (MCP server and Skill) to the Datasentinel platform, which reads PostgreSQL metrics; findings ordered by impact and a recommendation come back.

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.

It brings that analysis within reach of application teams as easily as DBAs.

  • 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.

This list is not exhaustive: because the assistant works from your live metrics, many other usage modes are possible.

A few examples: scheduled health checks and daily or weekly digests, alert triage with root-cause explanations, before/after reviews of a deployment or parameter change, index and schema advisory sessions, anomaly explanation in plain language, executive summaries for non-technical stakeholders.

New usage modes keep emerging as teams find their own ways to query their data.

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.

The same question, why was prod-eu-1 slow this morning, answered twice from the same data, which is simulated. With the MCP server alone: no session banner, a time window picked on its own, raw JSON with identifiers, and no next step. With the MCP server and the Skill: a session banner, the instance and window stated first, key points with a recommendation and its expected gain, and a menu of next steps.
The same question, with and without the Skill, on simulated data.

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.

Beyond ready-made assistants, you can also develop your own programs that access the AI Connector directly, for fully custom integrations and automation. See Build a Python agent with deepagents for a worked example.

Get started

1

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.

2

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.

3

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

The assistant holds only a token obtained by signing in on the Datasentinel login page, never a database password. The token unlocks the Datasentinel platform, which shows only the instances the user's role allows. Historical analyses are answered from the metrics the platform already collected. Real-time analyses need the Live360 right on the account, and only then does the platform ask the Datasentinel agent to run a few read-only queries on the PostgreSQL clusters. No direct modification ever happens.

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 same findings rendered twice: in the TECHNICAL style, in PostgreSQL vocabulary with full measurements and the operation with its cost, and in the PLAIN style, in plain language, focused on user impact, with the actions the reader owns and an escalation for the rest. A style switch flips between the two, and five shared rules light up in turn: findings first by impact, tables not prose, every recommendation with its why and expected gain, no internal plumbing, and replies in your language.

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 style can be switched at any time: say "switch to plain language" or "switch to technical" (or simply "I'm a DBA") and the assistant changes style immediately. A small banner at the start of the session shows which style and language are active.

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

Animated illustration, with simulated data. Metrics flow from PostgreSQL clusters to the Datasentinel platform, then through AI Connector (an MCP server and a Skill) to five ways of working. The common way is a chat, in a CLI, a desktop app, or an IDE: a plain-language question gets findings by impact and a recommendation. The others are recurring analyses that run on a schedule, reports to share, dynamic dashboards, and your own agents, written in Python with deepagents.

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.