How to Use AI Agents in WordPress Studio
Recent Posts
Imagine a client asks you to try a shorter homepage header and add a pricing section before tomorrow’s call. You can build both changes by hand, or you can ask an AI agent to put together a first pass on a local WordPress site. You still get to open the page, move the blocks around, and decide what’s worth keeping.
That’s the practical side of the November 18 WordPress Studio update. Studio is a free, open-source desktop app for building local WordPress sites on macOS, Windows, and Linux. The update gives you two ways to work with AI: connect a provider inside Studio or give a supported external coding agent access to your Studio sites.
Connect an AI provider inside Studio
Open Settings → Providers. You can connect a supported ChatGPT, Claude, or GitHub Copilot account, or add an API key from OpenAI, Anthropic, Google Gemini, or Meta. Follow the instructions Studio shows for your provider. When you start a new chat, select a model from the options available through your connected account.
Studio itself is free. Model access and usage depend on the account or API key you connect, so check what your plan covers before using it for bigger projects.
Use Codex, Claude Code, Cursor, or Grok Build
If you already work in a coding agent, open Settings → Agents in Studio. The panel shows which supported agents are installed and points you to the integration plugin that lets them work with your Studio sites. Once connected, your agent can create sites, make changes, and check its work.
Studio also supports manual setup through Model Context Protocol (MCP) for compatible clients. If you need that route, follow the WordPress Studio MCP documentation.
Try it on one page first
Create a local test site, open a chat, and give the agent a specific job. Here’s a prompt you can adapt for a client project:
Create a draft Services page for a small web design agency. Use native WordPress blocks. Include a short introduction, three service sections, and a contact button that links to /contact/. Use placeholder pricing, work only on this page, and summarize what you changed.
Open the result in WordPress and check it on a desktop and a narrow mobile screen. Click the contact button, check the heading order, and try editing a service section yourself. If a layout looks good but is difficult to edit, ask the agent to simplify the block structure before you reuse it.
Where it fits into a client workflow
Studio makes sense for work that benefits from a quick first draft. Try two versions of a landing page, experiment with a block-theme header, or create a sample page to settle a layout question before writing the final copy.
For a WooCommerce or Elementor project, keep the first task small and check the result in the tool the client actually uses. A clean layout in a local preview is only part of the job. If the client edits the page in Elementor, open it in Elementor and verify that the intended controls are available.
A good first test is a real change from your backlog that you can describe in three sentences. Give the agent the same brief you’d give another developer, then see how much of the result you’d keep.