# Create and Edit AGI Scripts

Use this page when creating a new AGI script or editing an existing AGI script from **Configuration &gt; AGI Scripts**.

The form screenshots below are separated by block where the application exposes separate sections. Complete the required values, review routing or destination references, and save the record.

## Add and edit form

<figure id="bkmrk-agi-scripts-add%2Fedit">![AGI Scripts add/edit form.](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/UCdagi-scripts-form.png)<figcaption>AGI Scripts add/edit form.</figcaption></figure>## Saving and deleting

<table id="bkmrk-taskhow-to-do-it-cre"><thead><tr><th>Task</th><th>How to do it</th></tr></thead><tbody><tr><td>Create</td><td>Select the new action from the AGI Scripts list, fill the required fields, and select Save.</td></tr><tr><td>Edit</td><td>Open the existing AGI script, update the needed fields, and select Save.</td></tr><tr><td>Delete</td><td>Before deleting a AGI script, check call-flow, destination, schedule, report, provisioning, or integration references. Use the row delete action or the form delete action when available, then confirm.</td></tr></tbody></table>