AI-assisted dashboards
Harness Dashboards include an AI chat assistant that generates dashboards and widgets from natural language descriptions. Describe what metrics you need and the assistant creates the widgets, queries, and layout based on your request. The AI chat panel appears on the left side of the page and is ready to use as soon as you navigate to Dashboards.
What will you learn in this topic?
By the end of this topic, you will be able to:
- Understand the AI chat panel interface and controls.
- Access and manage your chat history.
- Configure AI assistant behavior with rules and memories.
- Generate complete dashboards using natural language.
- Add individual widgets to existing dashboards.
Before you begin
Before you use AI-assisted dashboards, ensure you have the following:
- Harness AI enabled: Harness AI must be active for your account. Go to Overview for more information on activating Harness AI.
- Dashboard access: Permission to view and create dashboards in your Harness project. Go to RBAC in Harness for more information on permissions.
- Supported data sources: AI-assisted dashboards support CI, CD, STO, Pipeline, and Artifact Registry (AR) modules as data sources. Ensure you have access to at least one of these modules to generate dashboards.
AI chat panel
Use the AI chat panel to generate dashboards and widgets through natural language conversations.
The AI chat panel includes the following elements:
-
Text input field: A text box at the bottom of the panel with the placeholder "What would you like to know?" Type your request here.
-
Quick-action buttons: Pre-built actions that let you get started without typing a query. The available quick actions are:
- List pipelines : View a list of pipelines in your account.
- Ask a support question : Ask a general question about Harness features or configuration.
- Analyze Pipeline Errors : Get a summary of recent pipeline failures and their causes.
-
Send button: Select the blue arrow icon to submit your request.
-
Context indicator: The AI chat automatically maintains context based on what you’re viewing to the right of the chat panel. For example, when you open a dashboard, its name appears in the text input field. If you select a specific widget within that dashboard, the widget name is also reflected in the input field, ensuring the conversation stays relevant to your current view.
The top of the AI chat panel also includes the following controls:
- New Chat (edit icon) : Start a new conversation. This clears the current chat and opens a fresh session.
- More options (three-dot menu ...) : Access additional features such as History and Settings.
AI Chat history
Access previous conversations to continue where you left off or review past dashboard generation sessions.
The AI assistant saves your previous conversations so you can return to them later. To access your chat history:
- Select the three-dot menu (...) at the top of the AI chat panel.
- Select History.
The History panel displays a list of your previous conversations, each with its title and the time it was last active (for example, "3 hr ago" or "4 days ago").
You can perform the following actions on each conversation:
- Resume: Select a conversation to reopen it and continue where you left off.
- Rename: Select the three-dot menu (...) next to a conversation and choose Rename to give it a more descriptive title.
- Delete: Select the three-dot menu (...) next to a conversation and choose Delete to permanently remove it.
Use the Search your chats... bar at the top of the History panel to find a specific conversation by name.
AI Chat Settings
Configure how the AI assistant behaves with rules and memory settings.
To open Settings:
- Select the three-dot menu (...) at the top of the AI chat panel.
- Select Settings.
The Settings panel has two tabs: Rules and Memories.
Rules
Rules let you customize the behavior of the AI assistant by providing instructions it follows during conversations. For example, you can create a rule such as "Always use camelCase for variable names in JavaScript code."
The rule takes effect immediately and applies to all future conversations at the selected level.
Memories
Memories allow the AI assistant to remember context from your previous conversations. The assistant automatically creates memories as you interact with it over time, so it can provide more relevant and personalized responses in future sessions.
When Memories is enabled, the AI assistant learns your preferences and applies them to future conversations without you needing to repeat yourself.
Generate a dashboard with AI Chat
Create complete dashboards with multiple widgets using natural language descriptions.
To generate a dashboard using the AI assistant:
- Navigate to Dashboards.
- In the AI chat panel on the left, type a description of the dashboard you want in the text input field. For example: "Show me a dashboard with daily deployment counts and failure rates for the last 30 days."
- Click the send button (blue arrow) to submit your request.
- Review the generated dashboard with widgets, queries, and layout based on your description.
- Refine the dashboard if needed. The AI is designed to get you most of the way there, but you may need to make additional adjustments to achieve your exact requirements. Send a follow-up message in the chat or use the dashboard builder to refine the results.
Create a widget with AI
Add individual widgets to existing dashboards through natural language requests.
Add individual widgets to existing dashboards using natural language requests.
- Open the dashboard where you want to add the widget.
- Enter your request in natural language, including the widget description, type, and module. For example: "Create a widget for total builds over time for the last 30 days."
- Review the generated widget and click Add Widget to save it to your dashboard.
- Enter another request to add more widgets.
Supported visualization types
Request specific chart types in your natural language descriptions to control how data is visualized.
The AI assistant selects the most appropriate visualization type based on your request. To choose a specific type, include it in your description. For example: "What is my monthly deployment count? Filter for the past 12 months. Make this a line chart."
The following visualization types are supported:
- Bar
- Column
- Line
- Pie
- Scatterplot
- Single Value
- Table
The AI assistant does not support customizing visualization styles such as titles or colors within the request itself. You can adjust these settings manually after the widget is created.
Next steps
- Dashboards overview: Browse and manage dashboards.
- Create widgets: Manually configure widgets and queries.
- Overview of Harness AI: Explore AI features across Harness.