# Divi AI agent: Claude and ChatGPT on Divi 4 and 5, with undo

> Edit Divi 4 and Divi 5 with Claude, ChatGPT or Cursor: 117 Divi 5 module types from Divi 5.15.1 plus Divi 4 shortcodes, inserts that leave the rest of the…

Source: https://www.respira.press/divi

---

## Three outcomes a Divi agency actually *feels.*

### Rebuild a client's Divi page from one prompt

Paste a client brief into Claude or Cursor. The agent builds the page directly inside Divi using the Visual Builder's native module structure. No HTML pasted into a text widget. No "the AI broke the hero" tickets.

### Audit every Divi page on the client roster

Accessibility, SEO, performance, schema. Per-page audit reports your AI generates from Respira's structured data. The client gets a clear report; you get the prompts that fix the violations on their pages.

### Plan a Divi 4 → Divi 5 migration safely

Respira maps every shortcode-based Divi 4 page on the site, flags mixed-state pages, and gives you the rollback path before you commit to the migration. The actual conversion stays in Divi's Migrator.

## What plugin 9.2.6 changed *for Divi.*

inserts

### Adding content leaves the rest of the page as it was

An insert, appended, placed by path or next to an element (after\_element\_id, before\_element\_id), serializes only the new content and splices it into the stored page. Every other byte stays as stored, including global modules, Divi 5.15 Components and Slots, and third-party modules such as WPForms and Divi Supreme. The plugin checks that before and after the write.

global modules

### Global modules stay global

Reading a Divi 5 page returns each global module as a reference, so writing the page back keeps its link to the Library instead of storing a detached copy. A full rewrite that would wrap or restructure one is refused with nothing written. To change a global module everywhere, edit its Library item.

large pages

### Chunked builds

A large page is built as a sequence of small inserts: the frame first, then rows and modules by path. A chunk\_id makes a retried call a no-op instead of a duplicate, and a session keeps one recovery snapshot per page for the whole build. Divi 4 and Divi 5 both.

divi 4

### Shortcode pages stay shortcode pages

Content added to a page stored as Divi 4 shortcodes is written as shortcodes, whichever Divi version the site runs. A module type with no Divi 4 equivalent is refused with nothing written.

edit links

### Links open the Visual Builder

Every edit link Respira returns opens Divi 4 and Divi 5 pages in the Divi Visual Builder and Theme Builder layouts in the Theme Builder, not in the block editor, where a Divi 5 page looks broken.

render check

### No answer means unverified, not failed

After a write Respira loads the page to check it renders. When a slow host does not answer in time, the write now reports unverified with a reason instead of a failed write, and a draft reads unverified with a note to open its preview. A page that answers with an error still fails.

## Every Divi 5 module your client could use, *understood.*

117 module types in Divi 5.15.1, read from Divi's own module files and a scan of a live site rather than guessed. Gravity Forms and Imagely Gallery stay listed on sites where those plugins are off. Below is the shape; the full list is what your AI sees when it asks Respira "what can I build on this site?". 

SectionRowColumnTextImageHeadingButtonBlurbCodeDividerCounterPricing TableTabsToggleSliderGalleryPortfolioTestimonialContact FormFormSearchSocial IconsMapVideoAudioAccordionCounterProgress BarIcon ListFilterable PortfolioNumber CounterBar CounterPostsLoginSidebarCommentsMenuShopTimelineTimeline ItemBreadcrumbsSVGTable of ContentsInstagram FeedSlot +73 more 

117 module types · checked against Divi 5.15.1

covered in Respira 7.0 (16) added from the scan of Divi itself (98) new in the 5.15.1 refresh (3) 

v7.0 supported 16 Divi 5 modules by hand. v7.1 started reading the catalogue from Divi itself, and plugin 9.2.6 refreshes it to Divi 5.15.1\. The three emerald squares are the newest entries: Slot, Gravity Forms and Imagely Gallery. 

### The newest Divi modules, *in the catalogue.*

- Slot  
Divi 5.15\. Holds the content one page gives a Component; Respira keeps a Component and its Slots as stored, and an edit inside a Slot changes only that block
- Gravity Forms  
registered by Divi only when Gravity Forms is active, and listed in the catalogue either way
- Imagely Gallery  
registered by Divi only when the Imagely gallery plugin is active, and listed in the catalogue either way
- Tooltip  
Divi 5.8 addition, registered as a write target so shorthand cannot silently persist as a core block
- Timeline  
multiple Timeline Item children, ordered, with date + title + media
- Timeline Item  
child module Respira can write per-step into a parent Timeline
- Breadcrumbs  
rich attribute schema with delimiter, current-page styling, source preferences
- SVG  
inline SVG markup sanitised through Divi's own SvgSanitizer before persist
- Table of Contents  
sticky behaviour, heading-level filter, scroll offset config
- Instagram Feed  
feed config + disconnected-account warning surfaced before write lands

## Four guardrails your AI *can't skip.*

security

### SVG sanitizer routing

SVG markup written through Respira is sanitised before persisting using Divi's own SvgSanitizer policy. <script>, on\* handlers, <foreignObject>, external xlink:href, and javascript: URLs are stripped at write-time. Every sanitised write returns a structured warning showing exactly what was removed.

integrations

### Instagram disconnected-state warning

When an agent writes display fields on an Instagram Feed module that has no connected account, Respira surfaces a clear warning instead of silently succeeding. Respira never writes Instagram credentials, that flow stays in the Divi UI.

validation

### 13-point payload validation

Context checks, nesting rules, module-level validation, flexColumnStructure counts, variable references, and 16 common mistake patterns caught before anything hits the database.

rollback

### Duplicate-before-edit + snapshot rollback

Every Divi page edit goes to a duplicate first, and every write is snapshotted. Theme Builder global layouts land live, snapshotted and reversible. One-click restore to undo any page edit. Mixed Divi 4/5 pages flagged so high-risk edits get extra review.

## Five steps from prompt to *published.*

1. 1  
### Connect  
Link Claude Code, Cursor, Codex, or any MCP client to your WordPress site through Respira.
2. 2  
### Auto-detect  
Respira detects Divi 4 (shortcodes) vs Divi 5 (blocks) automatically per page.
3. 3  
### Safe duplicate  
Edits happen on a duplicate first. Your live page is never touched until you approve.
4. 4  
### Validate  
13-point validation catches nesting errors, missing columns, and structure issues before save.
5. 5  
### Publish or roll back  
Review the diff, approve the change, or restore the snapshot. Full audit trail.

## What people ask before they *install.*

Does Respira support Divi 5? 

Yes. Respira reads and writes Divi 5 block-based layouts (divi/\* blocks) so AI edits stay compatible with the Visual Builder. The module catalogue matches Divi 5.15.1: 117 module types, including all 24 WooCommerce modules, the new Slot module, and the Gravity Forms and Imagely Gallery modules Divi registers when those plugins are active. AI edits also activate the native Divi styling engine, manage global presets, and save sections as Library items applied across pages as live-linked global references. Divi 5.15 Components and their Slots are kept exactly as stored on every write.

Does Respira support Divi 4? 

Yes. Divi 4 shortcode pages are detected and extracted automatically, with several meta field sources checked. Content added to a page stored as Divi 4 shortcodes is written as shortcodes, whichever Divi version the site runs, and a module type with no Divi 4 equivalent is refused with nothing written.

Does adding content to a Divi page rewrite the rest of it? 

No. Since plugin 9.2.6 an insert (append, a position by path, or next to an element) serializes only the new content and splices it into the stored page. Every other byte stays as stored, including global modules, Divi 5.15 Components and Slots, and third-party modules such as WPForms or Divi Supreme, and the plugin checks that before and after the write.

Do global modules stay global when the AI edits a page? 

Yes. Reading a Divi 5 page returns each global module as a reference, not as a copy of its content, so writing the page back keeps the link to the Library. A full rewrite that would restructure a global module is refused with nothing written. To change a global module everywhere, edit its Library item.

Can Respira build a large Divi page? 

Yes, in chunks. The agent writes the frame first, then rows and modules by path. Each chunk can carry a chunk\_id, so a retried call does nothing instead of adding a duplicate, and one recovery snapshot per page covers the whole build. This works on Divi 4 and Divi 5.

Does Respira convert Divi 4 to Divi 5? 

No. Respira helps plan and validate migration via the Migration Copilot. The actual conversion is handled by Divi's native Migrator.

Can I roll back AI edits on Divi pages? 

Yes. Respira uses duplicate-before-edit and snapshot workflows so every change can be reviewed, diffed, and rolled back. The edit link Respira returns opens Divi 4 and Divi 5 pages in the Divi Visual Builder, and Theme Builder layouts in the Theme Builder.

Which AI tools work with Divi through Respira? 

Claude Code, Cursor, Codex, Gemini, Antigravity, and any MCP-compatible client. WebMCP support also works directly in Chrome with WebMCP enabled.

## Ready to put Respira on a Divi site?

The Maker plan covers one site at €9/month. Builder covers five at €19/month. Studio scales 25 to 250\. 

[Start free](https://www.respira.press/signup) [See pricing](https://www.respira.press/pricing) [Divi MCP, the developer page](https://www.respira.press/divi-mcp)
