Title: DraftPilot AI Site Editor
Author: simbe1
Published: <strong>15 Agosto 2026</strong>
Last modified: 26 Settembre 2026

---

Ricerca i plugin

![](https://ps.w.org/draftpilot-ai-site-editor/assets/banner-772x250.png?rev=3648954)

![](https://ps.w.org/draftpilot-ai-site-editor/assets/icon-256x256.png?rev=3649956)

# DraftPilot AI Site Editor

 Di [simbe1](https://profiles.wordpress.org/simbe1/)

[Scarica](https://downloads.wordpress.org/plugin/draftpilot-ai-site-editor.1.4.0.zip)

 * [Dettagli](https://it.wordpress.org/plugins/draftpilot-ai-site-editor/#description)
 * [Recensioni](https://it.wordpress.org/plugins/draftpilot-ai-site-editor/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/draftpilot-ai-site-editor/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/draftpilot-ai-site-editor/#developers)

 [Supporto](https://wordpress.org/support/plugin/draftpilot-ai-site-editor/)

## Descrizione

DraftPilot AI Site Editor turns one sentence about your business into a complete,
editable website.

Write a short brief (“A family-run plumbing company in Austin offering repairs, 
installation and 24/7 emergency service”) and the plugin will:

 * Plan 3–6 pages (Home, Services, About, Contact, and more) that make sense for
   the business.
 * Write specific, believable copy for every section.
 * Apply a cohesive color palette and font pairing.
 * Create every page as a draft, then wire up a navigation menu and set the front
   page.
 * Let you refine any page in the block editor, or add a whole new section with 
   one sentence.

**Built on the WordPress core AI Client.** DraftPilot AI Site Editor uses the core
AI Client introduced in WordPress 7.0, so the plugin never stores API keys or provider
credentials. Install an AI provider plugin of your choice and connect it under **
Settings  Connectors** — the core AI Client handles models, keys, and billing.

**Safe by design.**

 * **Block registry** — the AI may only emit a whitelist of block types (core blocks
   + 8 DraftPilot designer blocks). Everything is validated before it is saved; 
   nothing raw from the LLM reaches the database.
 * **No prompt injection** — page content generated by the AI is stored as data (
   JSON block attributes), never executed as code.
 * **Sanitized output** — design tokens are validated against an allowlist before
   they are output as inline CSS, and all admin/editor scripts are properly enqueued.

### REST API

All endpoints live under `/wp-json/draftpilot-ai/v1` and require `manage_options`:

 * `POST /generate-site` `{ "brief": "..." }`  create a generation job
 * `GET /job/{id}`  poll job status
 * `POST /add-section` `{ "page_id": 4, "prompt": "..." }`  append AI blocks to 
   a page
 * `GET /pages`  list generated pages
 * `POST /pages/delete-all`  permanently delete generated pages
 * `POST /pages/trash` `{ "page_id": 4 }`  trash one page
 * `GET /nav-menu`  list menus
 * `POST /nav-menu` `{ "page_ids": [4,5], "name": "DraftPilot Site", "location":"
   primary" }`  create or update a menu
 * POST /generate-site queues a WP-Cron job and returns a job ID with HTTP 202. 
   Only one generation runs at a time; a second request while a job is in flight
   returns HTTP 409. Poll `GET /job/{id}` for progress.
 * 
   ### Abilities
   
 * On WordPress 6.9+ the plugin registers two abilities that agents and tooling 
   can call with validated input and output:
 * `draftpilot-ai/plan-site` — turns a business brief into a normalized brief plus
   a page plan. Read-only; it creates nothing.
 * `draftpilot-ai/add-section` — generates one section and appends it to an existing
   page. Requires permission to edit that page.

Both require a connected AI provider. `plan-site` requires `edit_pages`; `add-section`
is checked per page with `edit_post`.

### Privacy

DraftPilot AI transmits data to the AI provider you connect. Review how your provider
handles your data before generating.

 * **Data you send.** The business brief you type, your site name and description,
   and the content generated from them are sent to the AI provider connected under**
   Settings  Connectors** using the WordPress core AI Client. The plugin does not
   transmit anything to the plugin author.
 * **What is stored.** Plugin settings (creativity level, site slug) and your generated
   pages. No API keys or provider credentials are stored by the plugin.
 * **Full text.** See the **Privacy** tab in the DraftPilot AI admin for the complete
   Terms of Service, Privacy Policy, and data provider list.

## Screenshot

[[

[[

[[

[[

[[

[[

[[

## Installazione

 1. Requires WordPress 7.0 or newer.
 2. Upload and activate the plugin.
 3. Install an AI provider plugin and connect it under **Settings  Connectors** (e.
    g. a provider for OpenAI, Google, or Anthropic).
 4. Open **DraftPilot AI** in the admin menu, describe your business, and click **Generate
    site**.

## FAQ

### Do I need my own API key?

The plugin does not store API keys. Connect an AI provider under **Settings  Connectors**;
the provider plugin manages credentials and any associated costs.

### Which AI models does it use?

The model is chosen by whichever provider you connect through the WordPress core
AI Client. The plugin is provider-agnostic.

### Does it work on WordPress 6.x?

No — this version requires WordPress 7.0 or newer, because it uses the core AI Client(`
wp_ai_client_prompt()`).

### Where are generated pages stored?

Generated pages are normal WordPress pages, created as drafts. They are tagged with
a `_simbe_ai_generated` meta flag so the plugin can list, trash, or delete them.
Nothing is sent to any third-party server except the AI provider you connected.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“DraftPilot AI Site Editor” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ simbe1 ](https://profiles.wordpress.org/simbe1/)

[Traduci “DraftPilot AI Site Editor” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/draftpilot-ai-site-editor)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/draftpilot-ai-site-editor/)
segui il [repository SVN](https://plugins.svn.wordpress.org/draftpilot-ai-site-editor/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/draftpilot-ai-site-editor/)
tramite [RSS](https://plugins.trac.wordpress.org/log/draftpilot-ai-site-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.0

 * WordPress 7.1 compatibility: block and inspector styles now load inside the iframed
   post editor canvas, and the editor scripts use the current `wp-editor` package
   and Button props.
 * Registered `apiVersion` 3 on the client so saved content matches the block API
   version.
 * Security: generation now runs as a scheduled background job instead of a logged-
   out `admin-ajax.php` request, and only one job can run at a time.
 * Security: generated pages are attributed to the user who started the run.
 * Security: menu building validates every page ID and menu location, and adding
   a section requires permission to edit that specific page.
 * Security: the admin dashboard builds its UI with DOM APIs instead of interpolating
   unescaped values into markup.
 * Performance: provider availability is cached for 5 minutes instead of being checked
   on every admin and editor page load.
 * Added two Abilities API abilities (`draftpilot-ai/plan-site` and `draftpilot-
   ai/add-section`) for agent and tooling access.
 * Editor script dependencies were narrowed to the packages actually used.

#### 1.3.0

 * Renamed the plugin to **DraftPilot AI Site Editor**.
 * Migrated all AI calls to the WordPress core AI Client (`wp_ai_client_prompt()`);
   provider credentials are now managed by core **Settings  Connectors**.
 * Replaced inline `<script>` in the admin with enqueued JavaScript.
 * Sanitized and escaped all inline design CSS (colors, fonts, radii are allowlisted).
 * Added a changelog and privacy documentation.

#### 1.2.0

 * Added a Privacy tab (Terms of Service, Privacy Policy, Data Providers) and readme
   privacy section.
 * Added `uninstall.php` so all plugin data is removed on uninstall.
 * Added a version badge and this changelog.

#### 1.1.0

 * Added an “Add section” sidebar panel for the block editor.
 * Added block registry validation and JSON-safe generation.

## Meta

 *  Versione **1.4.0**
 *  Ultimo aggiornamento **2 settimane fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 7.0 o superiore **
 *  Testato fino alla versione **7.1.3**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/draftpilot-ai-site-editor/)
 * Tag
 * [AI](https://it.wordpress.org/plugins/tags/ai/)[blocks](https://it.wordpress.org/plugins/tags/blocks/)
   [page builder](https://it.wordpress.org/plugins/tags/page-builder/)[website builder](https://it.wordpress.org/plugins/tags/website-builder/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/draftpilot-ai-site-editor/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[La tua recensione](https://wordpress.org/support/plugin/draftpilot-ai-site-editor/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/draftpilot-ai-site-editor/reviews/)

## Collaboratori

 *   [ simbe1 ](https://profiles.wordpress.org/simbe1/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/draftpilot-ai-site-editor/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://paypal.me/HBesim)