# AI Dashboards

DuploCloud's agentic dashboarding lets you create purpose-built dashboards for any data source connected as a provider — cloud accounts, Kubernetes clusters, incident management systems, cost tracking platforms, and more. Dashboards can be organized into categories such as **Observability**, **Security & Compliance**, and **Cost**, and scoped to specific environments or shared globally across your organization.

The workflow is template-driven. An AI agent builds a reusable **Dashboard Template** that defines the layout, panels, and data-fetching logic. Once a template is published it can be instantiated as many times as needed — each instance connected to a different scope (a different cloud account, cluster, or environment) — without rerunning the agent.

## Dashboard Primitives

Every dashboard is composed of four panel types:

| Primitive         | Description                                                              |
| ----------------- | ------------------------------------------------------------------------ |
| **Single Values** | A single metric displayed prominently, with optional trend indicators    |
| **Tables**        | Tabular views of multi-row data such as service lists or cost breakdowns |
| **Alerts**        | Active alert feeds pulled from connected monitoring systems              |
| **Insights**      | AI-generated narrative analysis surfaced alongside the metrics           |

When building a template, the agent uses the built-in **Dashboarding skill** to choose the right primitive for each metric it discovers, based on the nature and volume of the data.

## Viewing Dashboards

Dashboards are accessible from the **Observability**, **Security**, or **Cost** sections in the left sidebar, depending on the category the dashboard belongs to. Navigate to the relevant section and select **Dashboards**. Each published and instantiated dashboard appears as a tab at the top of the page, letting you switch between dashboards for different environments or use cases at a glance.

![Dashboards overview](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-087e22dd15dbf8f735a7b0367dd5221ab2abc4b0%2Fdashboards-step-02.png?alt=media)

## Dashboard Templates

Templates define the panel structure, filters, and data-fetching script for a dashboard. Navigate to **Observability > Dashboard Templates** to see all available templates.

![Dashboard Templates list](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-2fa9d5c095e2ac9002e33b7c610dcf5e8f00c22c%2Fdashboards-step-03.png?alt=media)

Each row shows the template name, description, scope (Global or Workspace), publication status, and the number of filters it exposes.

## Creating a Dashboard Template

### 1. Open the New Template modal

Click **+ New Template** in the top-right corner of the Dashboard Templates page.

![New Template modal — base template selection](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-843d919561fec2835f58d03b929fbc3169be1393%2Fdashboards-step-05.png?alt=media)

Give the template a name. Optionally select a **Base Template** to start from an existing structure, or choose **None / Blank** to build from scratch. Click **Create**.

![New Template modal — filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-ef44b3bb62870c8c077a9678bc3d2906a5091e50%2Fdashboards-step-06.png?alt=media)

The template detail page opens. The panel slots — Filters, Stats Panel, Timeseries Panel, and Recent Panel — are empty until the agent populates them.

![Empty template detail](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-71d6fd1397279dc6f369d75840c2954ab113ab2f%2Fdashboards-step-07.png?alt=media)

### 2. Open an agent session

Click **Edit with Agent** on the template detail page. Select an agent and a workspace scope that grants access to the data sources you want to include in the dashboard.

![Edit with Agent — agent selection](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-a3399b28c2b2972e499fb1caf7e7b0fabc353d83%2Fdashboards-step-09.png?alt=media)

![Edit with Agent — scope selected](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-5ac57d4bc76eb7fa5fb13d3bf4bd6cf16333c4d8%2Fdashboards-step-10.png?alt=media)

Click **Start Session**.

### 3. Describe the dashboard to the agent

In the chat, describe what the dashboard should show — the data sources to draw from, the metrics that matter, and any focus areas such as cost breakdown, reliability indicators, deployment frequency, or security posture. Be as specific or as broad as suits your needs.

![Agent session — user prompt](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-188866033b59157781d0a1f31b99c9b00ec6634c%2Fdashboards-step-11.png?alt=media)

The agent queries the connected data sources, analyses what is available, and determines the best panel structure for your requirements.

![Agent — fetching data](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-4ad5123d43b665c813db48545ec1335c6e265345%2Fdashboards-step-13.png?alt=media)

### 4. Review the generated template

As the agent works, the YAML template definition and panel list appear in the right-hand pane. The agent explains each panel, the metric it tracks, and why it was included.

![Template structure generated](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-8417fe515c505a46c766ffe8e53fa038d2412933%2Fdashboards-step-15.png?alt=media)

### 5. Preview with live data

Once the structure is ready, the agent runs the data-fetching logic against your connected providers and populates a **Dashboard Preview** with real values. This lets you validate that every panel is showing the right data before committing.

![Dashboard Preview with live data](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-c38cfb88e32ac743185eb77f7a412993f3c01e4f%2Fdashboards-step-18.png?alt=media)

### 6. Review findings and persist the fetch script

After the preview, the agent surfaces a summary of key findings across the panels. It then generates a reusable **fetch script** that will run automatically on every future refresh of the dashboard — so the agent does not need to be invoked again after the initial build.

![Agent summary and fetch script](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-3c1e63afb5f3254209f47e7a056ed16bf0cabf21%2Fdashboards-step-21.png?alt=media)

### 7. Save the template

Click **Save Dashboard Template**. A confirmation message confirms the template and its fetch script have been persisted.

![Template saved confirmation](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-11c480a2fedd9d54f3431e6bb39cda14aeaba154%2Fdashboards-step-23.png?alt=media)

## Publishing a Template

Return to the dashboard template you just created. Set its status to **Published** to make it available for instantiation across the workspace.

![Template published](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-a8f6850a4b333a762f8c1b9d4c334ee393aee777%2Fdashboards-step-25.png?alt=media)

## Creating a Dashboard from a Template

Open the template detail page and click **Create Dashboard**.

![Template detail — Create Dashboard button](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-a6b943cce347cec7148f153807b906985c45ad00%2Fdashboards-step-28.png?alt=media)

In the **Create Dashboard** modal, provide a name for this dashboard instance, select the scope you want to connect (a cloud account, cluster, or other environment), and configure any filters such as date range. Click **Create Dashboard**.

![Create Dashboard modal — filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-543cd7a3d463768bcc18d1e8ecae442bcaed7d5a%2Fdashboards-step-30.png?alt=media)

The dashboard is instantiated and appears as a new tab on the Dashboards page, automatically populated with live data from the selected scope.

![New dashboard tab with live data](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-fe24b65d5fa9c374b013a775ca45448865d951bd%2Fdashboards-step-32.png?alt=media)

## Reusing a Template Across Multiple Scopes

Because the template and its fetch script are reusable, you can create as many dashboard instances as you need by repeating the **Create Dashboard** step and selecting a different scope each time. Each instance displays the same panel structure populated with data from its own environment — for example, one tab for a development environment and another for production — without any additional agent work.

![Multiple dashboards from the same template](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-bb127dd3a89328253cafbfcea90ce7f29c515808%2Fdashboards-step-37.png?alt=media)

This makes Dashboard Templates a scalable building block: define the structure once and connect it to as many environments as your organization needs.
