For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Assistant

Learn how to use the Harness AI Assistant to ask questions, generate pipeline configurations, troubleshoot failures, and perform actions directly from the navigation header.

NEW IN 3.0

The AI Assistant has been reimagined with a fundamentally new architecture. It is now integrated directly into the navigation, available on all pages, and capable of both answering questions and performing actions. Access it via the lightning bolt icon in the top-right header.

Aspect
Before (NG)
After (3.0)

Placement

Floating button overlay

Integrated in navigation header

Availability

Limited to specific pages

Available on all pages

Capabilities

Answer-only

Questions and actions

Access

Floating button, easy to miss

Lightning bolt icon in top-right header, always visible

Architecture

The AI Assistant uses Claude Opus 4.8, running on AWS Bedrock and Google Vertex AI, across its agents. Unified Chat handles conversational queries, and the Harness DevOps Agent performs actions.

Handles conversational queries, read operations, and knowledge retrieval. Routes requests to the appropriate backend integration.

Performs mutating actions such as creating and updating pipelines. Currently supports pipeline operations with more resource types coming soon.

PARTIAL SUPPORT

Write operations through the DevOps Agent are currently limited to pipelines. Support for additional resource types (secrets, services, environments, and connectors) is planned for future releases.

Answers questions using Harness support documentation. Provides troubleshooting guidance, configuration help, and best practices from the knowledge base.

Builds and updates dashboards and widgets. Queries the Harness Knowledge Graph via MCP tool for metrics, analytics, and operational insights.

Capabilities

The AI Assistant currently focuses on pipeline workflows with integrations into the Harness Knowledge Graph and Dashboard Agent. It supports all read operations and partial write operations through the DevOps Agent.

Capability
Status
Description

Pipeline Operations

Supported

Create new pipelines and update existing pipeline configurations via the DevOps Agent. This is the primary write operation currently available.

Read Operation Queries

Supported

Query any Harness resource; list pipelines, inspect execution details, view connector configurations, check service definitions, and more.

Knowledge Graph

Integrated

Connects to the Harness Knowledge Graph to answer questions about platform concepts, configuration syntax, best practices, and troubleshooting guidance.

Dashboard Agent

Integrated

Retrieves analytics and metrics from Harness dashboards. Can also create new dashboards, create widgets within dashboards, and answer questions about build trends, deployment frequency, failure rates, and other operational data.

Other Resource Mutations

Coming Soon

Create/update operations for secrets, services, environments, connectors, and other Harness resources.

CURRENT SCOPE

The AI Assistant currently works with Pipelines as the primary resource for write operations. All other DevOps Agent actions (read queries, knowledge graph lookups, dashboard analytics) are fully operational.

Panel Layout

The AI Assistant opens as a panel on the right side of the viewport, occupying approximately 30–40% of the screen width. The panel contains an input field at the bottom for typing questions and a scrollable content area above for viewing responses. The main page content remains visible and interactive alongside the panel.

AI-Powered Actions

The AI Assistant handles read queries, knowledge lookups, and pipeline mutations through Unified Chat and the DevOps Agent.

Action
Channel
Details

Create Pipelines

DevOps Agent

Generate new v1 pipeline YAML from natural language descriptions. The agent produces valid pipeline configurations using the v1 schema.

Update Pipelines

DevOps Agent

Modify existing pipeline configurations; add stages, update steps, change triggers, adjust inputs and environment variables.

Read Queries

Unified Chat

Query any Harness resource: list pipelines, view execution history, inspect connectors, check service definitions, review environment configurations, and more.

Knowledge Graph Lookup

Unified Chat

Search Harness platform knowledge for concepts, configuration syntax, expression references, best practices, and troubleshooting guidance.

Dashboard Analytics

Unified Chat

Query the Dashboard Agent for build metrics, deployment frequency, failure rates, DORA metrics, and other operational analytics. Can also create new dashboards and add widgets to existing dashboards.

Example Interactions

The following examples demonstrate common interaction patterns with the AI Assistant.

Creating a Pipeline

Ask the AI Assistant to create a new pipeline. The DevOps Agent generates valid v1 pipeline YAML from your description.

Updating a Pipeline

Modify an existing pipeline through a conversational interface. The DevOps Agent reads the current YAML and applies your requested changes.

Read Query and Troubleshooting

Use read operations to inspect resources and diagnose failures. Unified Chat queries the platform and provides analysis.

Chat Features

The AI Assistant includes built-in features for managing conversations, providing feedback, and maintaining a searchable history of past interactions.

Feature
Description

User Feedback

Rate any AI response with thumbs up or thumbs down. Feedback is used to improve response quality over time.

Copy Messages

Copy any chat message to your clipboard. Useful for sharing AI-generated YAML, commands, or explanations with your team.

Chat History

All conversations are saved automatically. Search past chats, rename them for easy reference, or delete conversations you no longer need.

Chat History Management

Action
Description

Search

Search across all past conversations by keyword to quickly find previous answers, pipeline configurations, or troubleshooting sessions.

Rename

Rename older chats with descriptive titles for easier navigation and organization.

Delete

Delete individual conversations from your chat history when they are no longer needed.

Settings

The AI Assistant can be configured through Settings to control agent behavior, enable personalization through memories, and manage conversation history. Click on the ... dropdown menu and select Settings.

Rules

Rules govern how the AI Assistant behaves and responds. They are plain Markdown files that provide instructions, constraints, and context to the agent. Rules can be defined at multiple scope levels, with narrower scopes taking precedence.

Scope
Description

Account

Organization-wide rules that apply to all users across the entire Harness account. Set by account admins to enforce company-level standards.

Organization

Rules scoped to a specific organization within the account. Useful for team-level conventions and guidelines.

Project

Rules scoped to a specific project. Define project-specific context like naming conventions, deployment targets, or tech stack details.

Personal

User-level rules that apply only to your own AI interactions. Customize response style, preferred formats, or personal workflow preferences.

RULE FORMAT

Rules are written as plain Markdown files. You can include instructions like "Always use v1 pipeline schema", "Prefer Kubernetes deployments over ECS", or "Include rollback steps in all production pipelines". Rules at narrower scopes (Project > Org > Account) take precedence when there are conflicts.

To create a rule, click + New rule on the Rules tab.

Memories

The AI Assistant can learn from your chat and session interactions through Memories. Memories capture key context from conversations such as your preferred tools, common configurations, and project patterns, and summarize them to personalize future interactions.

  • Automatic Summarization: Memories are automatically summarized from chat and session interactions to capture important context without storing full conversation logs.

  • Personalization: Stored memories are used to personalize future responses, reducing repetitive explanations and aligning suggestions with your workflow.

  • User Control: Memories can be enabled or disabled at any time. When disabled, the AI Assistant will not store or reference any memories from your interactions.

Navigate to the Memories tab and click the checkbox to Enable Memories to learn your preferences automatically from chats.

Module Availability

The AI Assistant is available across all Harness modules. It provides context-aware assistance tailored to the module you are currently working in.

Module
AI Available

Continuous Integration (CI)

Continuous Delivery (CD)

Pipelines

Dashboards

Last updated

Was this helpful?