Title: Codiecool Action Guard for AI Agents
Author: codiecool
Published: <strong>July 30, 2026</strong>
Last modified: July 30, 2026

---

Search plugins

![](https://ps.w.org/codiecool-action-guard-ai-agents/assets/banner-772x250.png?
rev=3628452)

![](https://ps.w.org/codiecool-action-guard-ai-agents/assets/icon-256x256.png?rev
=3628452)

# Codiecool Action Guard for AI Agents

 By [codiecool](https://profiles.wordpress.org/codiecool/)

[Download](https://downloads.wordpress.org/plugin/codiecool-action-guard-ai-agents.1.0.3.zip)

 * [Details](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/#description)
 * [Reviews](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/#reviews)
 *  [Installation](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/#installation)
 * [Development](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/#developers)

 [Support](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/)

## Description

**Codiecool Action Guard for AI Agents** is the governance layer for AI on WordPress.

MCP connectors and AI agents can edit your site. This plugin does not replace them—
it sits beside them and makes sure **publish, delete, settings, and role changes**
go through a human first when you want them to.

#### Features

 * Intercept publish, trash/delete, media delete, watched options, and role changes
 * Detect Application Password / Basic-auth REST traffic and watched roles (including`
   cagai_ai_agent`)
 * Per-action modes: Allow / Ask first / Block
 * Pending queue with human-readable before/after summary
 * Soft-held deletes (redirect + notice — no scary error page)
 * Audit log with one-click undo
 * First-run setup checklist (plugins screen / plugin pages only)
 * Configurable retention (up to 365 days)
 * REST API for queue review workflows

Works alongside any MCP or AI plugin. The filter `cagai_is_agent_request` lets connectors
mark requests as agent-driven.

## Screenshots

[⌊Pending Queue — review AI and watched-role writes before they go live⌉⌊Pending
Queue — review AI and watched-role writes before they go live⌉[

Pending Queue — review AI and watched-role writes before they go live

[⌊Settings — Allow / Ask first / Block modes for each action family⌉⌊Settings — 
Allow / Ask first / Block modes for each action family⌉[

Settings — Allow / Ask first / Block modes for each action family

[⌊Audit Log — approved actions with one-click undo when available⌉⌊Audit Log — approved
actions with one-click undo when available⌉[

Audit Log — approved actions with one-click undo when available

[⌊First-run onboarding checklist for AI Agent users⌉⌊First-run onboarding checklist
for AI Agent users⌉[

First-run onboarding checklist for AI Agent users

## Installation

 1. Upload the `codiecool-action-guard-ai-agents` folder to `/wp-content/plugins/`
 2. Activate **Codiecool Action Guard for AI Agents** through the Plugins menu
 3. Follow the welcome checklist (AI Agent user + Application Password)
 4. Open **Codiecool Action Guard  Settings** and confirm Publish/Delete are set to**
    Ask first**

## FAQ

### Does this include an MCP server?

No. This plugin is the approval and audit layer only. Use the official WordPress
MCP Adapter or any third-party MCP/AI plugin for connectivity.

### Will it block my normal editing?

By default, only watched roles and Application Password requests are governed. Draft
updates default to Allow. Turn on Paranoid mode only if you want every user watched.

### Who can approve queued actions?

Administrators (users with `manage_options`).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Codiecool Action Guard for AI Agents” is open source software. The following people
have contributed to this plugin.

Contributors

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

[Translate “Codiecool Action Guard for AI Agents” into your language.](https://translate.wordpress.org/projects/wp-plugins/codiecool-action-guard-ai-agents)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/codiecool-action-guard-ai-agents/),
check out the [SVN repository](https://plugins.svn.wordpress.org/codiecool-action-guard-ai-agents/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/codiecool-action-guard-ai-agents/)
by [RSS](https://plugins.trac.wordpress.org/log/codiecool-action-guard-ai-agents/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * Fix fatal error on Pending Queue when multiple items were listed (kind mapper
   variable clash)

#### 1.0.2

 * Unique 5-character prefix (cagai / CAGAI) for defines, options, hooks, caps, 
   tables, and assets
 * Namespace moved to Codiecool\ActionGuardAiAgents to avoid collisions

#### 1.0.1

 * Distinctive plugin name and slug for WordPress.org guidelines
 * Limit admin notices to dashboard / plugin screens (Guideline 11)
 * Text domain and admin menu slugs aligned with the new permalink

#### 1.0.0

 * Initial release
 * Approval queue for publish, delete, media, settings, and role changes
 * Human-readable before/after summaries
 * Soft-held deletes with redirect notices
 * Audit log with undo
 * Allow / Ask first / Block modes
 * Application Password and watched-role detection
 * Modern admin UI with confirm dialogs and snackbars

## Meta

 *  Version **1.0.3**
 *  Last updated **7 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[approval](https://wordpress.org/plugins/tags/approval/)
   [audit](https://wordpress.org/plugins/tags/audit/)[mcp](https://wordpress.org/plugins/tags/mcp/)
   [security](https://wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/)