Deploy the Ansible Lightspeed intelligent assistant
This section provides information about the procedures involved in deploying the Ansible Lightspeed intelligent assistant on OpenShift Container Platform.
Create a chatbot configuration secret Copy linkLink copied!
Create a configuration secret for the Ansible Lightspeed intelligent assistant, so that you can connect the intelligent assistant to the Ansible Automation Platform operator.
Before you begin Copy linkLink copied!
Procedure Copy linkLink copied!
Examples of chatbot configuration secrets Copy linkLink copied!
The following snippet shows a few examples of secrets configuration for different LLM models.
# Example of a secret configuration for Red Hat OpenShift AI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: rhoai_vllm
chatbot_url: https://llm-dev-wisdom-model-staging.apps.stage2-west.v2dz.p1.openshiftapps.com/v1
chatbot_model: granite-3.3-8b-instruct
chatbot_token: <token number>
# Example of a secret configuration for OpenAI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: openai
chatbot_url: https://api.openai.com/v1
chatbot_model: gpt-4o-mini
chatbot_token: <token number>
# Example of a secret configuration for Microsoft Azure OpenAI
apiVersion: v1
kind: Secret
metadata:
name: chatbot-configuration-secret
namespace: aap
stringData:
chatbot_llm_provider_type: azure_openai
chatbot_url: https://ols-test.openai.azure.com
chatbot_model: gpt-4o-mini
chatbot_token: <token number>
chatbot_model_config_extras: '{"api_version": "2025-01-01-preview"}'
Update the YAML file of the Ansible Automation Platform operator Copy linkLink copied!
After you create the chatbot authorization secret, you must update the YAML file of the Ansible Automation Platform operator to use the secret.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Verify that the chat interface service is running successfully:
- Navigate to .
- Filter with the term api and ensure that the following APIs are displayed in Running status:
myaap-lightspeed-api-<version number>myaap-lightspeed-chatbot-api-<version number>
- Verify the MCP server configuration if you specified either
aap_gateway_urloraap_controller_urlparameter:- Open the
lightspeed-chatbot-apipod and click the Containers section.- If the
ansible-mcp-lightspeedcontainer is displayed, the Ansible Lightspeed MCP server is running. - If the
ansible-mcp-controllercontainer is displayed, the Ansible Automation Platform Controller Service MCP server is running.
- If the
- Open the
- Verify that the chat interface is displayed on the Ansible Automation Platform:
- Access the Ansible Automation Platform:
- Navigate to .
- From the list of installed operators, click Ansible Automation Platform.
- Locate and select the Ansible Automation Platform custom resource, and then click the app that you created.
- From the Details tab, record the information available in the following fields:
- URL: This is the URL of your Ansible Automation Platform instance.
- Gateway Admin User: This is the username to log into your Ansible Automation Platform instance.
- Gateway Admin password: This is the password to log into your Ansible Automation Platform instance.
- Log in to the Ansible Automation Platform using the URL, username, and password that you recorded earlier.
- Access the Ansible Lightspeed intelligent assistant:
- Click the Ansible Lightspeed intelligent assistant icon
that is displayed at the top right corner of the taskbar. - Verify that the chat interface is displayed, as shown in the following image:
.
- Click the Ansible Lightspeed intelligent assistant icon
- Access the Ansible Automation Platform:
Change your LLM model Copy linkLink copied!
If you have already deployed Ansible Lightspeed intelligent assistant but want to change your LLM model, you can create a new chatbot configuration secret for the new LLM model.
About this task Copy linkLink copied!
Alternatively, if you want to use the same chatbot configuration secret, you must delete and redeploy the Ansible Lightspeed intelligent assistant.
Procedure Copy linkLink copied!
- To create and use a new chatbot configuration secret:
- To use the same chatbot secret by deleting and redeploying the Ansible Lightspeed intelligent assistant:
Use the Ansible Lightspeed intelligent assistant Copy linkLink copied!
After you deploy the Ansible Lightspeed intelligent assistant, all Ansible users within the organization can access and use the chat interface to ask questions and receive information about the Ansible Automation Platform.
Access the Ansible Lightspeed intelligent assistant Copy linkLink copied!
- Log in to the Ansible Automation Platform.
- Click the Ansible Lightspeed intelligent assistant icon
that is displayed at the top right corner of the taskbar. The Ansible Lightspeed intelligent assistant window opens with a welcome message, as shown in the following image:

Use the Ansible Lightspeed intelligent assistant Copy linkLink copied!
You can perform the following tasks:
- Ask questions in the prompt field and get answers about the Ansible Automation Platform
Note If you are using an IBM Granite 3.3 series AI model, you might experience a delay of about one minute when waiting for a chat response. To resolve this error, restart the chat session.
- View the chat history of all conversations in a chat session.
- Search the chat history using a user prompt or answer. The chat history is deleted when you close an existing chat session or log out from the Ansible Automation Platform.
- Restore an earlier chat by clicking the relevant entry from the chat history.
- Give feedback on the quality of the chat answers, by clicking the Thumbs up or Thumbs down icon.
- Copy and record the answers by clicking the Copy icon.
- Change the mode of the virtual assistant to dark or light mode, by clicking the Sun icon
from the top right corner of the toolbar. - Clear the context of an existing chat by using the New chat button in the chat history.
- Close the chat interface while working on the Ansible Automation Platform.
Deploy Red Hat Ansible Lightspeed on containerized Ansible Automation Platform Copy linkLink copied!
As an organization administrator, you can deploy and use Red Hat Ansible Lightspeed when you perform a new container-based installation of Ansible Automation Platform 2.6.
Overview Copy linkLink copied!
You can deploy and use Red Hat Ansible Lightspeed when you perform a new container-based installation of Ansible Automation Platform 2.6, or upgrade from containerized Ansible Automation Platform 2.5 to 2.6.
Red Hat Ansible Lightspeed includes two main components that enhance your automation experience with generative artificial intelligence (AI):
- Ansible Lightspeed intelligent assistant: An AI-powered chat interface embedded within the Ansible Automation Platform.
- Ansible Lightspeed coding assistant: A generative AI service that helps developers create Ansible content more efficiently and accurately.
Red Hat does not collect any telemetry data from your interactions with Red Hat Ansible Lightspeed.
Ansible Lightspeed intelligent assistant Copy linkLink copied!
Ansible Lightspeed intelligent assistant is an intuitive chat interface embedded in the Ansible Automation Platform, and uses generative artificial intelligence (AI) to answer questions about the platform.
The Ansible Lightspeed intelligent assistant interacts with users in English, and uses Large Language Models (LLMs) to generate quick, accurate, and personalized responses. These responses empower Ansible users to work more efficiently, thereby improving productivity and the overall quality of their work.
To use the Ansible Lightspeed intelligent assistant, you need:
- A valid subscription to Ansible Automation Platform.
- Deployment of an LLM service that is hosted on one of these platforms: Red Hat Enterprise Linux AI, Red Hat OpenShift AI, or Red Hat AI Inference Server.
Integration with MCP server Copy linkLink copied!
Ansible Lightspeed intelligent assistant integration with the Model Context Protocol (MCP) server is available as a Technology Preview release. MCP is an open protocol that enables applications to give real-time context to LLMs.
This integration enables the Ansible Lightspeed intelligent assistant to request and receive the latest information from external resources, and give more relevant, dynamically-sourced answers when responding to your questions. To set up this integration, you need to specify the MCP server variables when configuring the Red Hat Ansible Lightspeed variables in the inventory file.
Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features give early access to upcoming product features, enabling customers to test functionality and leave feedback during the development process.
Ansible Lightspeed coding assistant Copy linkLink copied!
The Ansible Lightspeed coding assistant is a generative AI service that works with IBM watsonx Code Assistant to help developers create and maintain Ansible content more efficiently. It can generate code recommendations for:
- Single-task or multi-task recommendations
- Playbooks with explanations
- Roles with explanations
Ansible Lightspeed coding assistant generates code recommendations that adhere to Ansible best practices, while IBM watsonx Code Assistant fine-tunes models to improve the accuracy of suggested recommendations by using your organization’s existing Ansible content. This integration produces more accurate, reliable, and workflow-integrated automation code. It also shortens the onboarding time for new Ansible developers and improves team productivity.
To use the Ansible Lightspeed coding assistant, you need:
- A valid subscription to Red Hat Ansible Automation Platform.
- A valid subscription to IBM watsonx Code Assistant.
Deployment models Copy linkLink copied!
The Ansible Lightspeed coding assistant supports two deployment models. No telemetry data is collected in either configuration.
- On-premise deployment
Both Red Hat Ansible Lightspeed and the IBM watsonx Code Assistant model (IBM Cloud Pak for Data) are on-premise deployments.
- Hybrid deployment
Red Hat Ansible Lightspeed is an on-premise deployment, while IBM watsonx Code Assistant model is a cloud deployment.
A hybrid deployment model provides the following benefits:
- Flexibility to choose an environment that best suits your organizational needs.
- Integrated authentication by using the Ansible Automation Platform for user authentication and removing the need for a separate Red Hat cloud login.
- Regional choice for organizations to deploy Red Hat Ansible Lightspeed in their preferred geographical region.
Ansible Automation Platform requirements Copy linkLink copied!
- Licensing requirements:
- A valid Ansible Automation Platform subscription.
- Administrator privileges for the Ansible Automation Platform.
- Additional requirements for Ansible Lightspeed coding assistant:
- A valid subscription to IBM watsonx Code Assistant (for on-premise deployment), or IBM watsonx Code Assistant for Red Hat Ansible Lightspeed on Cloud Pak for Data (for hybrid deployment).
- An API key and a model ID from IBM watsonx Code Assistant.
- VS Code version 1.70.1 or later.
- Additional requirements for Ansible Lightspeed intelligent assistant:
- Deployment of an LLM service that is hosted on one of these platforms: Red Hat Enterprise Linux AI, Red Hat OpenShift AI, or Red Hat AI Inference Server.
Large Language Model (LLM) provider requirements Copy linkLink copied!
You must have configured an LLM provider that you will use before deploying the Ansible Lightspeed intelligent assistant. An LLM is a type of machine learning model that can interpret and generate human-like language. When an LLM is used with the Ansible Lightspeed intelligent assistant, the LLM can interpret questions accurately and provide helpful answers in a conversational manner.
Your LLM must have tool calling enabled to handle tool-related requests. Tool calling allows the assistant to interact with platform services and execute complex workflows.
Ansible Lightspeed intelligent assistant can rely on the following LLM providers:
- Red Hat LLM providers:
- Red Hat Enterprise Linux AI
You can configure Red Hat Enterprise Linux AI as the LLM provider. As the Red Hat Enterprise Linux is in a different environment than the Ansible Lightspeed deployment, the model deployment must allow access using a secure connection.
Ansible Lightspeed intelligent assistant supports vLLM Server. When self-hosting an LLM with Red Hat Enterprise Linux AI, you can use vLLM Server as the inference engine.
- Red Hat OpenShift AI
You must deploy an LLM on the Red Hat OpenShift AI single-model serving platform that uses the Virtual Large Language Model (vLLM) runtime. If the model deployment lives in a different OpenShift environment than the Ansible Lightspeed deployment, include a route to expose the model deployment outside the cluster.
Ansible Lightspeed intelligent assistant supports vLLM Server. When self-hosting an LLM with Red Hat OpenShift AI, you can use vLLM Server as the inference engine.
Note For configurations with Red Hat Enterprise Linux AI or Red Hat OpenShift AI, you must host your own LLM provider instead of using a SaaS LLM provider.
- Red Hat AI Inference Server
You can deploy an LLM by using Red Hat AI Inference Server as your inference runtime. Red Hat AI Inference Server supports vLLM runtimes for efficient model serving and can be configured to work with Ansible Lightspeed intelligent assistant.
If the Red Hat AI Inference Server deployment is in a different environment than the Ansible Lightspeed deployment, ensure the model deployment allows access by using a secure connection and configure appropriate network routing.
Ansible Lightspeed intelligent assistant supports vLLM Server when self-hosting an LLM with Red Hat AI Inference Server as the inference engine.
- Red Hat Enterprise Linux AI
- Third-party LLM providers:
- OpenAI
To use OpenAI with the Ansible Lightspeed intelligent assistant, you need access to the OpenAI API platform.
- Microsoft Azure OpenAI
To use Microsoft Azure with the Ansible Lightspeed intelligent assistant, you need access to Microsoft Azure OpenAI.
- OpenAI
Process to deploy Red Hat Ansible Lightspeed on a container-based installation Copy linkLink copied!
| Task | Description |
|---|---|
| Deploy Red Hat Ansible Lightspeed during a container-based installation of Ansible Automation Platform |
An Ansible Automation Platform administrator who wants to deploy Red Hat Ansible Lightspeed for all Ansible users in the organization. Perform the following tasks:
|
| Access and use the Ansible Lightspeed intelligent assistant |
All Ansible users within the organization who want to use the Ansible Lightspeed intelligent assistant to get answers to their questions about the Ansible Automation Platform. |
| Access and use the Ansible Lightspeed coding assistant |
All Ansible users within the organization who want to use the coding assistant to develop Ansible content:
|
- Configure Red Hat Ansible Lightspeed variables
- Install containerized Ansible Automation Platform
- Upgrade your containerized deployment of Ansible Automation Platform
- Configure the Ansible VS Code extension
- Change your LLM model
- Deploy and use the Ansible Lightspeed intelligent assistant
- Develop Ansible content with Red Hat Ansible Lightspeed
- Single task or multitask recommendations
- Create playbooks and view playbook explanations
- Create roles and view role explanations
- Technology Preview Features Support Scope
- Optional: Allowing access to a model from a secure endpoint
- About the single-model serving platform
- Red Hat AI Inference Server documentation
- OpenAI API platform
- Microsoft Azure OpenAI
Configure Red Hat Ansible Lightspeed variables Copy linkLink copied!
To deploy Red Hat Ansible Lightspeed, configure the required installation variables in your inventory file.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
Red Hat Ansible Lightspeed variables Copy linkLink copied!
Configure Red Hat Ansible Lightspeed by setting inventory file variables during installation. Use this reference to determine which variables to set for your deployment requirements.
Red Hat Ansible Lightspeed variables Copy linkLink copied!
Inventory file variables for Red Hat Ansible Lightspeed.
| RPM variable name | Container variable name | Description | Required or optional | Default |
|---|---|---|---|---|
| N/A |
|
Red Hat Ansible Lightspeed administrator password. Use of special characters for this variable is limited. The password can include any printable ASCII character except |
Required |
|
| N/A |
|
Username used to identify and create the Red Hat Ansible Lightspeed admin user. |
Optional |
|
| N/A |
|
Chat rate throttle. |
Optional |
|
| N/A |
|
Maximum allowed size for data sent to Red Hat Ansible Lightspeed through NGINX. |
Optional |
|
| N/A |
|
Controls whether HTTP Strict Transport Security (HSTS) is enabled or disabled for Red Hat Ansible Lightspeed. Set this variable to |
Optional |
|
| N/A |
|
Controls whether HTTPS is enabled or disabled for Red Hat Ansible Lightspeed. Set this variable to |
Optional |
|
| N/A |
|
Maximum duration (in seconds) that HTTP Strict Transport Security (HSTS) is enforced for Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Port number that Red Hat Ansible Lightspeed listens on for HTTP requests. |
Optional |
|
| N/A |
|
Port number that Red Hat Ansible Lightspeed listens on for HTTPS requests. |
Optional |
|
| N/A |
|
Protocols that Red Hat Ansible Lightspeed will support when handling HTTPS traffic. |
Optional |
|
| N/A |
|
Custom Nginx headers. List of additional NGINX headers to add to Red Hat Ansible Lightspeed’s NGINX configuration. |
Optional |
[] |
| N/A |
|
Sets the HTTP timeout for end-user requests. The minimum value is |
Optional |
|
| N/A |
|
Controls whether client certificate authentication is enabled or disabled on the Red Hat Ansible Lightspeed PostgreSQL database. Set this variable to |
Optional |
|
| N/A |
|
Name of the PostgreSQL database used by Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Hostname of the PostgreSQL database used by Red Hat Ansible Lightspeed. |
Required |
|
| N/A |
|
Password for the Red Hat Ansible Lightspeed PostgreSQL database user. Use of special characters for this variable is limited. The |
Optional |
|
| N/A |
|
Port number for the PostgreSQL database used by Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Controls the SSL mode to use when platform gateway connects to the PostgreSQL database. Valid options include |
Optional |
|
| N/A |
|
Path to the PostgreSQL SSL/TLS certificate file for Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Path to the PostgreSQL SSL/TLS key file for Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Username for the Red Hat Ansible Lightspeed PostgreSQL database user. |
Optional |
|
| N/A |
|
Secret key value used by Red Hat Ansible Lightspeed to sign and encrypt data. |
Optional |
|
| N/A |
|
Path to the SSL/TLS certificate file for Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Path to the SSL/TLS key file for Red Hat Ansible Lightspeed. |
Optional |
|
| N/A |
|
Denote whether the Red Hat Ansible Lightspeed provided certificate files are local to the installation program ( |
Optional |
|
| N/A |
|
Controls whether archive compression is enabled or disabled for Red Hat Ansible Lightspeed. You can control this functionality globally by using |
Optional |
|
| N/A |
|
Controls whether database compression is enabled or disabled for Red Hat Ansible Lightspeed. You can control this functionality globally by using |
Optional |
|
Ansible Lightspeed coding assistant variables Copy linkLink copied!
Inventory file variables for Ansible Lightspeed coding assistant.
| RPM variable name | Container variable name | Description | Required or optional | Default |
|---|---|---|---|---|
| N/A |
|
IBM watsonx Code Assistant model deployment mode, cloud ( |
Optional |
|
| N/A |
|
URL of the IBM watsonx Code Assistant model. For cloud deployment, the URL could be |
Optional |
|
| N/A |
|
API key of the IBM watsonx Code Assistant model that was generated during the model installation. |
Required |
|
| N/A |
|
ID of the IBM watsonx Code Assistant model. |
Optional |
|
| N/A |
|
Denotes whether or not to verify IBM watsonx Code Assistant’s web certificates when making calls from Red Hat Ansible Lightspeed to itself during installation. Set to |
Optional |
|
| N/A |
|
Controls whether the anonymization of Personally Identifiable Information (PII) is enabled. PII information includes passwords, IP addresses, email addresses, and other sensitive data. When PII anonymization is enabled, users' personal information is modified to some generic values to protect their data and reduce the risk of data leaks. You can turn off the anonymization by specifying the value as If you set the value to |
Optional |
|
| N/A |
|
For on-premise deployment only. The username you use to connect to an IBM Cloud Pak for Data deployment. |
Optional |
|
| N/A |
|
Enables or disables IBM watsonx Code Assistant health check. |
Optional |
|
| N/A |
|
For cloud deployment only. The IBM watsonx Code Assistant Identity Provider (IdP) URL. |
Optional |
|
| N/A |
|
For cloud deployment only. The IBM watsonx Code Assistant Identity Provider (IdP) username. |
Optional |
|
| N/A |
|
For cloud deployment only. The IBM watsonx Code Assistant Identity Provider (IdP) password. |
Optional |
Ansible Lightspeed intelligent assistant variables Copy linkLink copied!
Inventory file variables for Ansible Lightspeed intelligent assistant.
| RPM variable name | Container variable name | Description | Required or optional | Default |
|---|---|---|---|---|
| N/A |
|
The inference API base URL on your LLM setup. For example, |
Optional |
|
| N/A |
|
Controls whether SSL/TLS certificate verification is enabled or disabled when making HTTPS requests. |
Optional |
|
| N/A |
|
The provider type of your LLM setup by using one of the following values:
|
Optional |
|
| N/A |
|
Use this parameter to pass a JSON dictionary of extra parameters to pass directly to the model provider, for settings not covered by other standard fields. If you want to use Microsoft Azure OpenAI as the LLM provider, specify the value as |
Optional |
|
| N/A | lightspeed_chatbot_agent_extra_settings |
Use this parameter to customize agent behavior, such as controlling the temperature of the LLM. For example,
|
Optional | {} |
| N/A |
|
Maximum number of tokens to generate a chat response. |
Optional |
|
| N/A |
|
Port number that Ansible Lightspeed intelligent assistant listens on for HTTP requests. |
Optional |
|
| N/A |
|
The ID of the LLM model that is configured on your LLM setup. |
Optional |
|
| N/A |
|
The API token or the API key of your LLM setup. This token is sent along with the authorization header when an inference API is called. |
Optional |
Ansible Lightspeed intelligent assistant integration with MCP server variables Copy linkLink copied!
Inventory file variables for Ansible Lightspeed intelligent assistant integration with Model Context Protocol (MCP) server.
| RPM variable name | Container variable name | Description | Required or optional | Default |
|---|---|---|---|---|
| N/A |
|
Controls whether the Ansible Lightspeed MCP controller is enabled or disabled. |
Optional |
|
| N/A |
|
Ansible Lightspeed MCP controller port. |
Optional |
|
| N/A |
|
Ansible Lightspeed MCP lightspeed enabled. |
Optional |
|
| N/A |
|
Ansible Lightspeed MCP lightspeed port. |
Optional |
|
Change your LLM model Copy linkLink copied!
To change the LLM model for your containerized Ansible Automation Platform deployment of Ansible Lightspeed intelligent assistant, you must edit the inventory file with the specific details of your new LLM provider and then rerun the install playbook.
Procedure Copy linkLink copied!
Use the Ansible Lightspeed intelligent assistant Copy linkLink copied!
After you deploy the Ansible Lightspeed intelligent assistant, all Ansible users within the organization can access and use the chat interface to ask questions and receive information about the Ansible Automation Platform.
Access the Ansible Lightspeed intelligent assistant Copy linkLink copied!
- Log in to the Ansible Automation Platform.
- Click the Ansible Lightspeed intelligent assistant icon
that is displayed at the top right corner of the taskbar. The Ansible Lightspeed intelligent assistant window opens with a welcome message, as shown in the following image:

Use the Ansible Lightspeed intelligent assistant Copy linkLink copied!
You can perform the following tasks:
- Ask questions in the prompt field and get answers about the Ansible Automation Platform
Note If you are using an IBM Granite 3.3 series AI model, you might experience a delay of about one minute when waiting for a chat response. To resolve this error, restart the chat session.
- View the chat history of all conversations in a chat session.
- Search the chat history using a user prompt or answer. The chat history is deleted when you close an existing chat session or log out from the Ansible Automation Platform.
- Restore an earlier chat by clicking the relevant entry from the chat history.
- Give feedback on the quality of the chat answers, by clicking the Thumbs up or Thumbs down icon.
- Copy and record the answers by clicking the Copy icon.
- Change the mode of the virtual assistant to dark or light mode, by clicking the Sun icon
from the top right corner of the toolbar. - Clear the context of an existing chat by using the New chat button in the chat history.
- Close the chat interface while working on the Ansible Automation Platform.
Configure the Ansible VS Code extension Copy linkLink copied!
If you deployed the Ansible Lightspeed coding assistant, you must also configure the Ansible VS Code extension with the generated Ansible Lightspeed URL. This configuration enables the Ansible users in your organization to use the Ansible Lightspeed coding assistant to create Ansible content.
Before you begin Copy linkLink copied!
- You have installed VS Code version 1.70.1 or later.
- Your organization administrator has configured an IBM watsonx Code Assistant model for your organization.
- Your network or firewall configuration permits ingress traffic on port 8447. This port is required for containerized installations to connect IBM watsonx Code Assistant with the Ansible VS Code extension, which then provides access to the Ansible Lightspeed coding assistant.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
- After you configure the Ansible VS Code extension with the generated Ansible Lightspeed URL, you can use the Ansible VS Code extension and start developing Ansible content.
Deploy the Ansible Lightspeed intelligent assistant on OpenShift Container Platform Copy linkLink copied!
As a system administrator, you can deploy Ansible Lightspeed intelligent assistant on Ansible Automation Platform 2.6 on OpenShift Container Platform.
Overview Copy linkLink copied!
Install and use Ansible Lightspeed intelligent assistant on Ansible Automation Platform 2.6 on OpenShift Container Platform. An intuitive chat interface, embedded in Ansible Automation Platform, it uses generative artificial intelligence (AI) to answer questions about Ansible Automation Platform.
The Ansible Lightspeed intelligent assistant interacts with users in their natural language prompts in English, and uses Large Language Models (LLMs) to generate quick, accurate, and personalized responses. These responses empower Ansible users to work more efficiently, thereby improving productivity and the overall quality of their work.
Ansible Lightspeed intelligent assistant requires the following configurations:
- Installation of Ansible Automation Platform 2.6 on Red Hat OpenShift Container Platform
- Deployment of an LLM provider served by either a Red Hat AI platform or a third-party AI platform. To know the LLM providers that you can use, see LLM Providers below.
Red Hat does not collect any telemetry data from your interactions with the Ansible Lightspeed intelligent assistant.
Upgrading from Ansible Automation Platform 2.5 to 2.6.1 or 2.6 to 2.6.1 enables HTTPS and TLS by default for internal communication between the Ansible Lightspeed API and the Ansible Lightspeed intelligent assistant pod. Following the upgrade to Ansible Automation Platform 2.6.1, the intelligent assistant will be unavailable for approximately 60 seconds while its pod restarts.
Integration with MCP server Copy linkLink copied!
Ansible Lightspeed intelligent assistant integration with the Model Context Protocol (MCP) server is available as a Technology Preview release. This integration enhances the user experience by delivering relevant, dynamically sourced data results to your queries.
MCP is an open protocol that standardizes how applications provide context to LLMs. Using the protocol, an MCP server provides a standardized way for an LLM to increase context by requesting and receiving real-time information from external resources. The integration with an MCP server enables the Ansible Lightspeed intelligent assistant to offer an enhanced user experience by delivering relevant, dynamically sourced data results to your queries. You can configure a MCP server in the chatbot configuration secret.
Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
Ansible Automation Platform 2.6 requirements Copy linkLink copied!
- You have installed Ansible Automation Platform 2.6 on your OpenShift Container Platform environment.
- You have administrator privileges for the Ansible Automation Platform.
- You have provisioned an OpenShift cluster with Operator Lifecycle Management installed.
Large Language Model (LLM) provider requirements Copy linkLink copied!
You must have configured an LLM provider that you will use before deploying the Ansible Lightspeed intelligent assistant.
An LLM is a type of machine learning model that can interpret and generate human-like language. When an LLM is used with the Ansible Lightspeed intelligent assistant, the LLM can interpret questions accurately and provide helpful answers in a conversational manner. Your LLM must have tool calling enabled to handle tool-related requests. Tool calling allows the assistant to interact with platform services and execute complex workflows.
Ansible Lightspeed intelligent assistant can rely on the following LLM providers:
- Red Hat LLM providers:
- Red Hat Enterprise Linux AI
You can configure Red Hat Enterprise Linux AI as the LLM provider. As the Red Hat Enterprise Linux is in a different environment than the Ansible Lightspeed deployment, the model deployment must allow access using a secure connection.
Ansible Lightspeed intelligent assistant supports vLLM Server. When self-hosting an LLM with Red Hat Enterprise Linux AI, you can use vLLM Server as the inference engine.
- Red Hat OpenShift AI
You must deploy an LLM on the Red Hat OpenShift AI single-model serving platform that uses the Virtual Large Language Model (vLLM) runtime. If the model deployment resides in a different OpenShift environment than the Ansible Lightspeed deployment, include a route to expose the model deployment outside the cluster.
Ansible Lightspeed intelligent assistant supports vLLM Server. When self-hosting an LLM with Red Hat OpenShift AI, you can use vLLM Server as the inference engine.
Note For configurations with Red Hat Enterprise Linux AI or Red Hat OpenShift AI, you must host your own LLM provider instead of using a SaaS LLM provider.
- Red Hat AI Inference Server
You can deploy an LLM using Red Hat AI Inference Server as your inference runtime. Red Hat AI Inference Server supports vLLM runtimes for efficient model serving and can be configured to work with Ansible Lightspeed intelligent assistant.
If the Red Hat AI Inference Server deployment is in a different environment than the Ansible Lightspeed deployment, ensure the model deployment allows access using a secure connection and configure appropriate network routing.
Ansible Lightspeed intelligent assistant supports vLLM Server when self-hosting an LLM with Red Hat AI Inference Server as the inference engine.
- Red Hat Enterprise Linux AI
- Third-party LLM providers:
- OpenAI
To use OpenAI with the Ansible Lightspeed intelligent assistant, you need access to the OpenAI API platform.
- Microsoft Azure OpenAI
To use Microsoft Azure with the Ansible Lightspeed intelligent assistant, you need access to Microsoft Azure OpenAI.
- OpenAI
Process for configuring and using the Ansible Lightspeed intelligent assistant Copy linkLink copied!
Perform the following tasks to set up and use the Ansible Lightspeed intelligent assistant in your Ansible Automation Platform instance on the OpenShift Container Platform environment:
| Task | Description |
|---|---|
| Deploy the Ansible Lightspeed intelligent assistant on OpenShift Container Platform |
An Ansible Automation Platform administrator who wants to deploy the Ansible Lightspeed intelligent assistant for all Ansible users in the organization. Perform the following tasks:
|
| Access and use the Ansible Lightspeed intelligent assistant |
All Ansible users who want to use the intelligent assistant to get answers to their questions about the Ansible Automation Platform. |
- Deploy the Ansible Lightspeed intelligent assistant on OpenShift Container Platform
- Technology Preview Features Support Scope
- Optional: Allowing access to a model from a secure endpoint
- About the single-model serving platform
- Red Hat AI Inference Server documentation
- OpenAI API platform
- Microsoft Azure OpenAI
- Deploy and use the Ansible Lightspeed intelligent assistant
- Change your LLM model