Red Hat Ansible Lightspeed with IBM watsonx Code Assistant

Simple IT automation anyone can use

Download at no costMore ways to try

Automate with the power of AI

Red Hat Ansible Lightspeed with IBM watsonx Code Assistant is a generative AI service available to Red Hat Ansible Automation Platform users. Tapping into automation-specific foundation models, it uses natural language processing to turn written prompts into code snippets for the creation of Ansible playbooks.

The best part? It’s all done the Ansible way, ensuring an experience rooted in transparency, accuracy, and trust.

Ansible Lightspeed with watsonx Code Assistant is generally available now

Ansible Lightspeed with watsonx Code Assistant is a generative AI service engineered to help automation teams create, adopt, and maintain Ansible content more efficiently. You can turn your automation ideas into Ansible code via natural language prompts with Ansible Lightspeed with watsonx Code Assistant.

See what’s new in Ansible Lightspeed with IBM watsonx Code Assistant   

Start no-cost trial of Ansible Automation Platform   

Try our interactive lab  

Ansible Lightspeed with watsonx Code Assistant documentation   

Key features

 Multi task generation: Generate multiple Ansible task suggestions for Ansible Task files and Playbooks by providing a sequential chain of natural language task prompts chained together using ampersands (&) in YAML comment  (#) lines.

 Post-processing rules: Post-processing capabilities to augment IBM watsonx Code Assistant model recommendations with Ansible best practices.

Ansible code bot: The Ansible code bot integrates natively into git repositories you select. It then scans existing Ansible content (roles, playbooks, etc), and automatically submits pull requests when it finds automation content that could be qualitatively improved with best practices. These pull requests contain code improvement recommendations for you to review, test and apply.


Enhance your efficiency and productivity

Thanks to the finely tuned, automation-specific AI model, Ansible Lightspeed serves accelerated Playbook and Role creation right in your code-editing environment. It provides a generative AI experience that is specially tailored to IT automation teams, helping you shorten code development and improves accuracy.

Read how Ansible Lightspeed is different


More transparency

In alignment with our open source values, Ansible Lightspeed provides a foundation that elevates the user experience through integrity and openness. Red Hat Ansible Lightspeed will always attempt to reference the potential data training sources for each code recommendation, including the Ansible content, content authors and licenses, for maximum transparency and trust.

Trust & Compliance

Extend trust in automation code

As concerns regarding data privacy continue to echo, Ansible Lightspeed provides peace of mind by guarding your private data. All PII data is anonymized in Ansible Lightspeed, with code recommendations that adhere to accepted Ansible best practices, options to customize suggestions, and significant data safeguards in place; you can leverage the power of AI without any concerns.

Watch a demo

Automation articles and tutorials


How OpenShift Dev Spaces makes Ansible content testing easy


Explore the benefits of testing Ansible content within Red Hat OpenShift Dev Spaces.

OpenShift + Pipelines 2

How to connect OpenShift Pipelines using AWS CodeCommit


Learn how integrating OpenShift Pipelines with AWS CodeCommit, a fully managed source control service, creates an efficient automated workflow.

Featured Image: Ansible Tower inventory plugin

How to change an Ansible namespace with FQCN migration tool


This article demonstrates how to use the FQCN migration tool to update an Ansible collection namespace.

Featured image for security.

Secure RHEL systems using Ansible Automation Platform


Learn how to use Ansible Automation Platform to enhance the security of your Red Hat Enterprise Linux servers and workstations.