---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# LEAP Ansible Execution Agent AI agent

# LEAP Ansible Execution Agent AI agent {#ariaid-title1}

Release version: Brazil  
Updated October 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of LEAP Ansible Execution Agent AI agent

The LEAP Ansible Execution Agent integrates with the Ansible Automation Platform to automate incident resolution by executing Ansible playbooks mapped to each resolution step.
It streamlines incident remediation by launching jobs, guiding users through unmapped manual steps, and providing job status updates on demand.
This agent enhances operational efficiency by combining automated and manual incident handling within the ServiceNow environment.
Show full answer Show less  

## How It Works

* The agent identifies the incident and logs the start of execution on the incident record.
* It retrieves the mapping between incident resolution steps and corresponding Ansible jobs; if no mapping exists, the user is notified.
* Resolution steps are processed sequentially:
  * Unmapped steps require manual user completion with confirmation.
  * Mapped jobs display job template details, collect required inputs via a form, launch the job, and report job ID and status.
  * The agent waits for user confirmation before proceeding to the next step.
* At completion, the agent summarizes all steps, launched jobs, job statuses, manual completions, and any failures.
* The overall success or failure is recorded on the incident record.
* Users can request job status, view job output, cancel, or relaunch jobs anytime.

## Configuration and Access

* **Third-party access:** Can be enabled to allow external AI agents to use this agent (disabled by default).
* **AI specialists access:** When enabled, AI specialists have advanced configuration options for input mapping and response templates (disabled by default).
* **Long-term memory:** Optionally stores previous user interactions as context for the language model to improve continuity (disabled by default).
* Settings for these options are managed via AI Agent configuration tables and system properties.

## Security and Roles

* Access to the agent is restricted to users with the `snitomleap.leapansibleagentworker` role.
* Data access and actions performed by the agent are also controlled by this role, ensuring proper security governance.

## Integration and Extensibility

* The agent uses various tools and protocols to interact with Ansible job templates, retrieve launch inputs, and manage record operations.
* It can be configured for use with ServiceNow Virtual Agent or Otto AI panels through the Assistant Designer.
* No default triggers are defined, but administrators can add custom triggers as needed.  
The LEAP Ansible Execution agent runs the Ansible playbooks mapped to each resolution step of an incident. It launches jobs through Ansible Automation Platform, prompts the user to complete unmapped steps manually, and reports job status on request.

## Workflow {#leap-leap-ansible-execution-agent-ai-agent__plofspgpddds}

The agent helps the user remediate an incident by running the Ansible playbooks mapped to its resolution steps.

1. Identify the incident record and log on the record that execution has started.
2. Retrieve the mapping between the resolution steps and their Ansible jobs, and inform the user if no mapping exists.
3. Work through the resolution steps in order, asking the user to complete any step that has no playbook mapped and to confirm when it's done.
4. For each mapped job, show the user the job template details and collect any required launch inputs in a single form.
5. Launch the job, report the Ansible job ID and its status, and wait for the user to confirm before moving to the next step.
6. Summarize the steps processed, the jobs launched and their status, the manual steps completed, and any failures.
7. Record the overall success or failure status on the incident record.
8. Check job status, show job output, cancel a job, or relaunch a job whenever the user asks.
{#leap-leap-ansible-execution-agent-ai-agent__ol_chb_eot_qdr}  
{#leap-leap-ansible-execution-agent-ai-agent__plofspgpddds__entry__2}

| Field | Description |
|-|-|
| Allow third party to access this AI agent | When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the External discoverable field. |
| Allow AI specialists to access this AI agent | When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the Specialist enabled field. |
| Manage long-term memory | When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see [ServiceNow Otto AI agents reference](https://www.servicenow.com/docs/sa1bdHN6FqAGJmyqCFbo6w "Find more information about user roles, tables, and the different properties that are installed in ServiceNow Otto AI agents."). |
| Tools | Model Context Protocol :   Get Job Details :   Job Template Launch Retrieve :   Job Templates Retrieve :   Launch Job Templates Record Operation :   Get LEAP Ansible Mapping Script :   Fetch Record SysId and publish Journal entry |
| Allowed user roles The specific user roles that can access this AI agent. | sn_itom_leap.leap_ansible_agent_worker |
| Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. | sn_itom_leap.leap_ansible_agent_worker |
| Triggers | Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://www.servicenow.com/docs/TTPcY_6jqFaCPLWj8oH1fQ "In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met."). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://www.servicenow.com/docs/access?context=configure-now-assist-va&version=brazil&pubname=brazil-conversational-interfaces&ft:locale=en-US). |
| Used in agentic workflows | Not applicable. |
[Table 1. Configuration]


