Skip to content
Gaurav TiwariDocs

Site Agent: Build Forms with AI

Version 5.2.5 Updated November 20, 2026

Site Agent is a free plugin that connects an AI assistant such as Claude, ChatGPT or Cursor to your WordPress site. Turn on its Core Forms tools and you can ask the assistant, in plain words, to build a form, change fields and messages, or set up actions. It makes each change through Core Forms itself, the same way the form editor does.

Get it from the Site Agent product page.

What the assistant can do

With Core Forms tools on, the assistant can:

  • List, read, create, edit, duplicate, publish and trash forms.
  • Build fields from the visual builder’s field list, rendered by Core Forms, or edit the code view markup.
  • Change form settings, including field wrapper classes, and messages.
  • Add, edit, remove and reorder actions: emails, autoresponders, webhooks and integrations.
  • Rehearse a submission with sample answers. Rehearsal sends nothing.
  • Send a real test of one action.
  • Read and triage entries.

With Core Commerce tools on, it can also work with the Licensing and Client Invoices modules: products, plans, releases, orders, licenses, activations, subscriptions, payment routing and client invoices. Some of these email customers, issue or void invoices, record payments or change licenses, and the assistant is told to ask you before each one.

Set it up

  1. Install and activate Site Agent.
  2. Go to Tools > Site Agent and turn on Core Forms tools. Turn on Core Commerce tools too if you sell licenses or send invoices with Core Forms. Core Forms tools need Core Forms 5.1 or later, and field wrapper classes need 5.2.
  3. Connect your AI client to the endpoint shown on that screen. A client that supports sign-in opens a WordPress consent page, where an administrator approves it and picks which tool groups it gets. Other clients connect with a dedicated WordPress Application Password, which can be limited to some of the groups.
  4. Ask for what you want.

Example requests

  • “Create a contact form with name, email, phone and message, and email new entries to sales@example.com.”
  • “Add a required file upload to the Job Application form that takes up to 3 PDFs.”
  • “Make the plan question on the Quote form a required radio group with Basic, Pro and Agency.”
  • “Send entries from the Newsletter form to Mailchimp, then rehearse it with a sample entry.”
  • “Show me last week’s spam entries on the Contact form.”

What stays protected

  • Every change goes through Core Forms’ REST API with its usual permission checks, form version checks and revisions. You can undo a change from the form’s revisions. See Drafts and Revisions.
  • API keys and signing secrets saved in actions and settings show to the assistant only as [stored], and they’re kept when the assistant saves the action back unchanged. Keys set in wp-config.php aren’t shown either. See Keys in wp-config.php.
  • Tool groups are off until you turn them on, each connection can be limited to some groups, and Site Agent keeps a history of what was done.

The Site Agent card in Core Forms

Core Forms shows a small Site Agent card on the Forms list, on Add New Form and on each form’s Actions tab. It disappears once Site Agent is active, and Dismiss hides it for that user.

To hide it for everyone, add this to a small plugin or your theme’s functions.php:

add_filter( 'cf_show_site_agent_nudge', '__return_false' );

See Hooks for the filter.

Share

Was this helpful?

Still stuck? Open a support ticket