WordPress (Beta)
The Frontman WordPress plugin adds an AI agent directly to your WordPress site. Navigate to /frontman, describe what you want to change, and the agent does it — no code editor or terminal required.
Beta: This is experimental software. Start on a staging site, keep backups, and review changes before deploying to production.
Requirements
Section titled “Requirements”- WordPress 6.0 or later
- PHP 7.4 or later
- An admin account (
manage_optionscapability)
Installation
Section titled “Installation”Option A: Upload via WordPress Admin
Section titled “Option A: Upload via WordPress Admin”- Download the latest
frontman.zipfrom the GitHub releases page. - In your WordPress admin, go to Plugins → Add New Plugin → Upload Plugin.
- Choose the ZIP file and click Install Now.
- Click Activate Plugin.
Option B: Manual Upload
Section titled “Option B: Manual Upload”- Download and unzip
frontman.zip. - Upload the
frontman/folder to/wp-content/plugins/via FTP or your host’s file manager. - In your WordPress admin, go to Plugins and activate Frontman - Agentic AI Editor.
Configuration
Section titled “Configuration”After activation, go to Frontman → Settings in the WordPress admin sidebar.
| Setting | Description |
|---|---|
| Anthropic API key | Your sk-ant-... key from console.anthropic.com. Optional — Frontman provides access by default. |
| OpenRouter API key | Your sk-or-v1-... key from openrouter.ai. Optional alternative to Anthropic. |
API keys are optional. If you leave them blank, the plugin connects to the Frontman API without a custom key.
Using Frontman
Section titled “Using Frontman”- Make sure you’re logged in to WordPress as an admin.
- Navigate to
/frontmanon your site (e.g.https://yoursite.com/frontman). - The chat interface opens alongside a live preview of your site.
- Describe what you want to change and the agent handles it.
You can also open Frontman while browsing any page — just append /frontman to any URL on your site (e.g. https://yoursite.com/about/frontman) and the agent will preview that page.
What the Agent Can Do
Section titled “What the Agent Can Do”- Create, edit, and delete posts and pages
- Insert, update, move, and delete Gutenberg blocks
- Edit theme files —
style.css,theme.json,functions.php, templates - Add and update navigation menu items
- Read and change site options (title, tagline, permalinks, etc.)
- Browse block templates and template parts
- Manage widgets
- Flush the WordPress cache
All file operations are scoped to your WordPress root directory.
Security
Section titled “Security”- Only users with the
manage_optionscapability can access Frontman. - Tool call requests (POST) are validated with WordPress nonces.
- Site options are restricted to a safe allowlist — arbitrary option writes are not permitted.
- No data is sent to Frontman’s servers until you actively submit a message in the chat.
External Services
Section titled “External Services”The plugin connects to two Frontman-hosted services:
- app.frontman.sh — Serves the chat UI (JavaScript and CSS).
- api.frontman.sh — Handles AI agent communication via WebSocket. Site content is sent here when you submit a message.
AI responses are generated by third-party providers (Anthropic, OpenAI, etc.) via the Frontman API. See the Privacy Policy for details.
Troubleshooting
Section titled “Troubleshooting”The /frontman URL shows a 404.
Flush your WordPress permalinks: go to Settings → Permalinks and click Save Changes without changing anything.
I see a login screen instead of the Frontman UI.
You must be logged in to WordPress as an administrator. Log in first, then navigate to /frontman.
Changes aren’t showing on the live site.
Use the wp_clear_cache tool in the chat, or flush your caching plugin manually (WP Rocket, W3 Total Cache, etc.).
Something went wrong and I want to undo a change. Frontman records a snapshot of content before each edit. Ask the agent to revert the last change — it has the previous state available in its tool history.