Skip to main content

GT Page Blocks Builder 4.2.0: AI agents can build your sections

GT Page Blocks Builder 4.2.0 lets an AI agent build pages and sections for you. Connect Claude, ChatGPT or Cursor through Site Agent (free, 0.4 or later) and the agent gets the Page Blocks skill on its own. There's nothing else to install.

What an agent can do:

  • Create a draft page from HTML, CSS and JavaScript sections, on the blank canvas template if you want no theme header or footer.
  • List the sections on an existing page, read one and change it.
  • Create, update and render library blocks.

The guardrails matter more than the features here:

  • Section markup goes through WordPress's own block serializer, so code with quotes, -- or <script> stays intact. No broken blocks from hand-written block comments.
  • Changes to a published page are saved as an autosave for your review. The live page changes only when you ask the agent to publish.
  • If the page changed after the agent read it, the save is refused.
  • Agents can't turn on PHP execution. A section that already runs PHP stays editable only in the block editor.
  • New pages are always drafts.

The new AI agents page in the Page Blocks menu shows all of this and how to connect. Developers get gt_pb_agent() for their own integrations.

Existing pages, sections and library blocks are unchanged. Update from Dashboard → Updates. The full list is in the changelog.

If an agent produces a section that breaks in the editor, reply with the page and the section name.