[WordPress] 外掛分享: AgentMod

首頁外掛目錄 › AgentMod
WordPress 外掛 AgentMod 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 7.0+ PHP 7.4+ v1.0.5 上架:2026-06-24

內容簡介

AgentMod 是一個專為 WordPress 原生打造的 AI 代理平台,能夠將各種外掛的功能整合,讓網站轉變為自動化操作平台,提升使用者體驗。

【主要功能】
• AI 協調引擎:無狀態的代理引擎,支持多種能力調用
• 管理員聊天小工具:從控制台觸發的聊天面板
• 上下文範圍選擇器:決定 AI 代理的資料讀取範圍
• 搜尋與內容工具:限制每次查詢的回傳數量
• 寫入動作確認模態:執行資料庫修改前需用戶確認
• 智能回應渲染:以 Markdown 格式呈現回應

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「AgentMod」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

AgentMod is an AI Agent Platform built natively for WordPress. Unlike standard AI chatbot plugins, AgentMod acts as an orchestration layer on top of the Connectors, WP AI Client, and Abilities API infrastructure introduced in WordPress 7.0.
Instead of writing custom integration code (glue-code) for external services, AgentMod creates an Ability Economy: it reads abilities exposed by plugins like WooCommerce (create_order), FluentCRM (create_contact), or Amelia (book_appointment) directly from the WordPress Core Registry and makes them available to AI agents — turning your site into an autonomous operating platform.
Key Features (Free Version)
AI Orchestration Engine
A stateless, model-agnostic agent engine built on the native WordPress AI Client. Supports sequential and parallel multiple ability calls via WP_AI_Client_Ability_Function_Resolver.
Admin Chat Widget
A React-based chat panel triggered from the WordPress Admin Bar. Built with @wordpress/components Modal architecture. Includes a “New Topic” button to reset the session and conversation history at any time.
Context Scope Selector
A toggle control inside the chat composer that lets the user decide whether the AI agent can read site data or should operate on general knowledge only.
Search & Content Tools
– Search queries return a maximum of 20 post titles/excerpts per call.
– Full content processing is limited to a maximum of 5 post bodies at once. Requests like “Analyze all 500 posts” are gracefully declined.
– A maximum of 10 ability calls are allowed per message cycle.
Write Action Confirmation Modal
When an agent triggers a database-modifying ability such as create_post or send_email, an approval modal is shown to the user with a summary of the action. The operation is not executed until the user explicitly confirms.
Smart Response Rendering
– Plain text responses are rendered as Markdown with “Copy Text” and “Create Draft” action buttons.
– Code block responses (HTML, CSS, PHP, etc.) are displayed in a syntax-highlighted

 container with a “Copy Code” button.
Ability Registry Browser
A dedicated sub-menu page under AgentMod lists all abilities currently registered on WordPress Core Registry, with detailed information for each.
Secure System Directives
The PromptBuilder enforces strict system-level directives that prevent agents from performing destructive actions and require them to ask clarifying questions in ambiguous situations.
Developer Hook System
A comprehensive set of PHP and JavaScript hooks for extending AgentMod:
– Filters for prompt modification (before/after)
– Actions for ability execution lifecycle (before/after)
– ChatPanel UI customization hooks (add/remove tools, sections)
Provider Agnostic
AgentMod does not lock you into any specific AI provider. It works with any provider supported by the WordPress AI Client, including OpenAI, Anthropic, and others configured via provider plugins.
Requirements

WordPress 7.0 or higher (requires native WP AI Client & Abilities API)
PHP 7.4 or higher
An active AI provider plugin compatible with WordPress AI Client

Credits
Built using official WordPress packages:

@wordpress/scripts
@wordpress/components
@wordpress/elements
@wordpress/icons
@wordpress/data

Assets:

All images located in the Admin/assets/img folder are self created and are licensed under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.

Composer Packages:

PHP DI – Copyright (c) Matthieu Napoli

Libraries:

Native Custom Fields – Copyright (c) Arkenon (https://wordpress.org/plugins/native-custom-fields/)

Source Code
It is available on GitHub:
* GitHub: https://github.com/Arkenon/agent-mod
Developers
If you want to contribute to the plugin:
1) Download the source code and run npm install to install the development dependencies.
2) To install composer dependencies, run composer install.
3) Run npm start to start the development server.
4) To build the plugin, run npm run build.

延伸相關外掛

文章
Filter
Mastodon