---
title: "Configure Red Hat OpenShift Lightspeed autonomous agents"
description: "Red Hat OpenShift Lightspeed 2 on OpenShift 5 allows configuring autonomous agents that start troubleshooting when a cluster alert fires. The agent inspects cluster resources, reads logs and events, and proposes a fix, then with approval can apply the fix and verify the result. The workflow consists of four tasks: analysis, execution, verification, and escalation, each controllable via an approval policy. Configuration involves installing the operator, setting up alert filtering via a ConfigMap, creating an OLSConfig with the alerts adapter, and defining LLMProvider and Agent custom resources. The feature is a Technology Preview and not supported for production use, but enables testing automated remediation with manual approval gates."
---

# Configure Red Hat OpenShift Lightspeed autonomous agents

[Red Hat](https://yomu.fyi/company/red-hat) · Alberto Falossi, Katya Gordeeva · Nov 23, 2026

**Type:** Tutorial

## Summary

Red Hat OpenShift Lightspeed 2 on OpenShift 5 allows configuring autonomous agents that start troubleshooting when a cluster alert fires. The agent inspects cluster resources, reads logs and events, and proposes a fix, then with approval can apply the fix and verify the result. The workflow consists of four tasks: analysis, execution, verification, and escalation, each controllable via an approval policy. Configuration involves installing the operator, setting up alert filtering via a ConfigMap, creating an OLSConfig with the alerts adapter, and defining LLMProvider and Agent custom resources. The feature is a Technology Preview and not supported for production use, but enables testing automated remediation with manual approval gates.

## Context

Red Hat OpenShift Lightspeed 2 on OpenShift 5 introduces autonomous agents that start troubleshooting when a cluster alert fires. The agents follow a four-task workflow: analyzing the problem, applying a fix, checking the result, and escalating when further help is needed. An approval policy controls whether each stage requires manual approval or starts automatically. The feature is available as a Technology Preview and is not supported for production use.

## Approach / What changed

Configure Red Hat OpenShift Lightspeed autonomous agents by installing the OpenShift Lightspeed Operator, creating an alerts-adapter-config ConfigMap to specify which Alertmanager receivers trigger investigations, creating an OLSConfig custom resource with the alerts adapter enabled, configuring an LLMProvider and Agent custom resources, granting investigation and execution permissions, and defining an approval policy to control automation at each workflow stage (analysis, execution, verification, escalation).

## Takeaways

- OpenShift Lightspeed autonomous agents follow a four-stage workflow: analysis, execution, verification, and escalation. Each stage can be configured to run automatically or require manual approval via an AgenticPolicy custom resource.
- Alert filtering is controlled by an alerts-adapter-config ConfigMap that lists allowed Alertmanager receivers. Only alerts routed to those receivers can trigger an automatic investigation, reusing existing routing rules.
- The agent requires separate LLM credential configurations for the intelligent assistant and autonomous agents. Investigation permissions are granted via a cluster-reader binding, while execution permissions are scoped through a RemediationTemplate.

## FAQ

### How do I control which stages run automatically?

The approval policy is defined in an AgenticPolicy custom resource. Each stage (analysis, execution, verification, escalation) can be set to automatic or manual. By default, every stage waits for approval. The example in the article sets analysis and verification to automatic while keeping execution manual.

### How do I choose which alerts trigger an investigation?

The alerts-adapter-config ConfigMap specifies which Alertmanager receivers the agents should monitor. By listing receiver names under allowedReceivers, you reuse Alertmanager routing rules to select which alerts can trigger an investigation. The example uses the Critical receiver, which by default receives alerts with severity: critical.

### What permissions does the agent need?

The agent needs cluster-wide read access for investigation and permissions to create remediation sandboxes. Investigation permissions are granted by binding the lightspeed-agent service account to a cluster-reader ClusterRole. Execution permissions are granted by creating a RemediationTemplate that defines the sandbox configuration and permissions scoped to the task.

**Tags:** [AI Agents](https://yomu.fyi/topic/ai-agents), [OpenShift Lightspeed](https://yomu.fyi/topic/openshift-lightspeed), [Red Hat OpenShift](https://yomu.fyi/topic/red-hat-openshift)

- Source: [Red Hat](https://developers.redhat.com/articles/2026/11/23/configure-red-hat-openshift-lightspeed-autonomous-agents)
- Source URL: https://developers.redhat.com/articles/2026/11/23/configure-red-hat-openshift-lightspeed-autonomous-agents
- Ingested by Yomu: 2026-11-23T15:00:13.915Z

[Read original post](https://developers.redhat.com/articles/2026/11/23/configure-red-hat-openshift-lightspeed-autonomous-agents)
