Description
WP DXTechAI Claw Agent is an AI Agent plugin for WordPress, powered by a ReAct (Reason + Act) loop. The Agent doesn’t just answer questions β it executes actions directly on your WordPress site.
Key Features
- π€ Command Palette β Open with
Ctrl+I,Ctrl+GorCtrl+Shift+K, modern glassmorphism chat interface - π§ ReAct Loop β Agent reasons, selects tools, executes, observes results, and continues
- β Confirm Before Executing β Data-changing actions require user confirmation
- π Chain Actions β Automatically performs sequential actions (e.g., create category then create multiple products)
- π Multi LLM Provider β Supports OpenAI (GPT-4o), Google Gemini (2.5 Flash/Pro), Anthropic Claude (Sonnet 4), Cloudflare Workers AI (Free)
- π WooCommerce Ready β Auto-detects WooCommerce and activates product, order, and customer management tools
- πΎ Session Persistence β Saves session state to resume after action confirmation
- π Web Research β Built-in web search via DuckDuckGo (free) or Google Custom Search
- π± Telegram Bot β Control your WordPress site via Telegram with inline keyboard confirmations
12 Built-in Tools
WordPress Core (9 tools):
- Content Manager (
wp_content_manager) β Create/update posts with categories, tags, and HTML content - System Inspector (
wp_system_inspector) β View site info, active plugins, categories, tags, post types - Web Research (
web_research_tool) β Search the web via DuckDuckGo (free) or Google Custom Search - Taxonomy Manager (
wp_taxonomy_manager) β Create/update/delete categories & tags - Media Manager (
wp_media_manager) β Upload images from URL, set featured images, list/delete media - Page Manager (
wp_page_manager) β Create/update/delete/list pages, supports templates & sub-pages - User Inspector (
wp_user_inspector) β List users, view details, count by role - Analytics Reader (
wp_analytics_reader) β Post stats by status, comment stats, content summary - Report & Analytics (
wp_report) β Dashboard overview, order reports, product reports, content reports
WooCommerce (3 tools β auto-activated when WooCommerce is active):
- Product Manager (
woo_product_manager) β Full product CRUD (name, price, SKU, stock, images), manage product categories - Order Inspector (
woo_order_inspector) β List/view orders, update status, revenue statistics - Customer Inspector (
woo_customer_inspector) β List/search customers, customer stats, top customers
Architecture
- ReAct Loop Engine (
Kernel) β ReasonActObserve loop with configurable max iterations - Dynamic Confirmation β Mixed read/write tools only require confirmation for write actions
- Context Provider β Auto-injects site snapshot (categories, post types, user) into LLM context
- Auto-Discovery β Automatically discovers and registers tools from the
Actions/directory - REST API β Two endpoints:
/agent/chatand/agent/confirmwith session management - Telegram Controller β Webhook-based bot with inline keyboard confirmations and session per chat
Usage Examples
WordPress:
* “Create a Technology category”
* “Write a blog post about AI trends 2025, save as draft”
* “Search the web for WordPress performance tips and write a summary post”
* “Show me site post statistics”
* “Create an About Us page with company introduction content”
* “Upload an image from URL and set it as featured image for the post”
WooCommerce:
* “Create 3 T-shirt products priced at 250,000”
* “Create a Fashion product category, then add 5 products to it”
* “Show me this month’s revenue”
* “Update order #123 status to completed”
* “Find customers with ‘gmail’ in their email”
* “Show me the top 5 customers by total spending”
Reports & Analytics:
* “Show me dashboard overview”
* “Thα»ng kΓͺ ΔΖ‘n hΓ ng thΓ‘ng nΓ y”
* “SαΊ£n phαΊ©m bΓ‘n chαΊ‘y nhαΊ₯t”
* “BΓ‘o cΓ‘o bΓ i viαΊΏt vΓ trang”
Configuration
LLM Provider
Choose one of four providers:
- Google Gemini (AI Studio) β Free tier available at aistudio.google.com
- Models: Gemini 2.5 Flash (Free), Gemini 2.5 Flash Lite (Free), Gemini 2.5 Pro Preview, Gemini 2.0 Flash Lite
- OpenAI β API key required from platform.openai.com
- Models: GPT-4o, GPT-4o Mini, GPT-4 Turbo
- Anthropic β API key required from console.anthropic.com
- Models: Claude Sonnet 4, Claude 3.5 Haiku
- Cloudflare Workers AI β API token required from dash.cloudflare.com
- Models: Qwen 2.5 72B (Best Vietnamese), Gemma 3 12B, DeepSeek R1 32B
Web Search
- Default: DuckDuckGo (free, no API key required)
- Optional: Google Custom Search (requires API key + Search Engine ID)
Agent Settings
- Max Iterations β Maximum ReAct loop iterations (1β20, default: 10)
Telegram Integration
Control the AI agent directly from Telegram:
- Create a bot via @BotFather on Telegram
- Copy the Bot Token to DXTechAI Claw Agent Telegram Bot Token
- Add your Telegram Chat ID to Allowed Chat IDs (send a message to your bot, then use the Telegram Bot API
getUpdatesmethod to find your chat ID) - Click Register Webhook to connect your site to Telegram
- Send messages to your bot β the AI agent will respond!
Telegram Features:
* Send natural language messages to control WordPress
* Inline keyboard buttons for action confirmations (Approve/Reject)
* Session persistence per chat β multi-turn conversations
* Automatic Markdown fallback if formatting fails
* Secure with secret token verification and chat ID whitelist
Commands:
* /start β Show help message
* /reset β Clear current session
Discord Integration
Control the AI agent directly from Discord via slash commands (/agent) and interaction buttons:
- Create an Application in the Discord Developer Portal
- Copy the Bot Token, Application ID, and Public Key to the DXTechAI Claw Agent settings
- Set your Interactions Endpoint URL in Discord to:
https://your-domain/wp-json/dxtechai-claw-agent/v1/discord/interactions - Use the Sync Commands button in the plugin settings to register the
/agentslash command - Use
/agentin your Discord server to command the agent
Discord Features:
* Control WordPress natively using the Discord slash command interface
* Rich Embeds for agent responses and confirmation prompts
* Action buttons directly in the chat to Approve or Reject changes safely
* Secure validation of every request using Ed25519 signatures
External Services
This plugin connects to third-party AI and search services to provide its core functionality. No data is sent to any external service until the user explicitly configures an API key and initiates a request.
OpenAI API
When OpenAI is selected as the AI provider, user prompts and WordPress site context are sent to the OpenAI API for processing.
* Service URL: https://api.openai.com
* Terms of Use: https://openai.com/terms
* Privacy Policy: https://openai.com/privacy
Google Gemini (AI Studio)
When Gemini is selected as the AI provider, user prompts and WordPress site context are sent to the Google Generative AI API.
* Service URL: https://generativelanguage.googleapis.com
* Terms of Use: https://ai.google.dev/terms
* Privacy Policy: https://policies.google.com/privacy
Anthropic (Claude)
When Anthropic is selected as the AI provider, user prompts and WordPress site context are sent to the Anthropic API.
* Service URL: https://api.anthropic.com
* Terms of Use: https://www.anthropic.com/terms
* Privacy Policy: https://www.anthropic.com/privacy
Cloudflare Workers AI
When Cloudflare is selected as the AI provider, user prompts and WordPress site context are sent to the Cloudflare API.
* Service URL: https://api.cloudflare.com
* Terms of Use: https://www.cloudflare.com/website-terms/
* Privacy Policy: https://www.cloudflare.com/privacypolicy/
DuckDuckGo Search
The web research tool uses DuckDuckGo’s HTML search as the default search provider. Search queries are sent when the AI agent decides to perform web research.
* Service URL: https://html.duckduckgo.com
* Terms of Use: https://duckduckgo.com/terms
* Privacy Policy: https://duckduckgo.com/privacy
Google Custom Search
When configured, the web research tool can use Google Custom Search API instead of DuckDuckGo. Search queries are sent to the Google API.
* Service URL: https://www.googleapis.com/customsearch
* Terms of Use: https://developers.google.com/terms
* Privacy Policy: https://policies.google.com/privacy
Pexels API
When Pexels API key is configured, the agent may search and download free stock photos from Pexels for blog post thumbnails. Search queries (based on your post titles or keywords) are sent to the Pexels API.
* Service URL: https://api.pexels.com
* Terms of Use: https://www.pexels.com/terms-of-service/
* Privacy Policy: https://www.pexels.com/privacy-policy/
Unsplash API
When Unsplash API key is configured, the agent may search and download free stock photos from Unsplash for blog post thumbnails. Search queries (based on your post titles or keywords) are sent to the Unsplash API.
* Service URL: https://api.unsplash.com
* Terms of Use: https://unsplash.com/terms
* Privacy Policy: https://unsplash.com/privacy
Telegram Bot API
When Telegram integration is enabled, the plugin sends messages to the Telegram Bot API to deliver responses and inline keyboards to the configured bot.
* Service URL: https://api.telegram.org
* Terms of Use: https://telegram.org/tos
* Privacy Policy: https://telegram.org/privacy
Discord Bot API
When Discord integration is enabled, the plugin communicates with the Discord API to sync slash commands and send callback responses.
* Service URL: https://discord.com/api
* Terms of Use: https://discord.com/terms
* Privacy Policy: https://discord.com/privacy
Installation
Method 1: Install from WordPress.org (Recommended)
1. In WP Admin Plugins Add New
2. Search for “DXTechAI Claw Agent”
3. Click Install Now Activate
4. Go to DXTechAI Claw Agent in the admin menu configure your API key
5. Press Ctrl+I or Ctrl+G on any admin page to start using the agent
Method 2: ZIP Upload
1. Download the latest ZIP from WordPress.org or GitHub Releases
2. In WP Admin Plugins Add New Upload Plugin
3. Choose the downloaded ZIP file and click Install Now
4. Activate the plugin
5. Configure your API key in the DXTechAI Claw Agent settings page
FAQ
-
Is the plugin free?
-
The plugin is completely free and open source. However, you need an API key from an LLM provider (Gemini offers a free tier).
-
What PHP version is required?
-
PHP 7.4 or higher is required.
-
Can the agent delete data?
-
All data-changing actions (create/update/delete) require user confirmation before execution. Mixed read/write tools use Dynamic Confirmation β only write actions need confirmation, while read actions execute immediately.
-
Does it support WooCommerce?
-
Yes! The plugin auto-detects WooCommerce and activates 3 additional tools: Product Manager, Order Inspector, and Customer Inspector.
-
Can the agent perform multiple consecutive actions?
-
Yes! The agent supports Chain Actions β after confirming an action, the agent automatically resumes the ReAct loop to perform subsequent actions (e.g., create category create 3 products).
-
Does it support Custom Post Types?
-
Currently supports Posts, Pages, and WooCommerce Products. Custom Post Type support will be added in a future release.
-
Can I control the agent from Telegram?
-
Yes! Enable Telegram integration in the settings, add your bot token and chat ID, then register the webhook. You can send natural language messages to the bot and it will control your WordPress site, including action confirmations via inline keyboard buttons.
-
Can I use Discord to manage the site?
-
Yes! The plugin fully supports Discord. Configure your Discord Bot settings, set the Interactions Endpoint URL, and you can securely execute tasks and approve actions via interactive buttons inside your Discord server.
Reviews
Contributors & Developers
“DXTechAI Claw Agent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DXTechAI Claw Agent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Rebranded to DXTechAI Claw Agent for compliance purposes.
- Updated standard asset handlers (JS/CSS enqueues).
- Added mandatory documentation links for Pexels and Unsplash AI fallback integrations.
- Resolved
sanitize_text_fieldbug corrupting LLM API keys on save.
1.0.0
- Initial release
- 12 built-in tools (9 WordPress core + 3 WooCommerce)
- Support for OpenAI (GPT-4o), Gemini (2.5 Flash/Pro), Anthropic (Claude Sonnet 4), Cloudflare Workers AI
- Gemini multi-key rotation and Cloudflare failover mode
- Command Palette UI with Ctrl+I / Ctrl+G shortcuts
- Telegram Bot integration with inline keyboard confirmations
- Report & Analytics tool (dashboard, order/product/content reports)
- Tabbed settings UI (AI Provider, Web Research, Agent, Telegram)
- ReAct Loop engine with configurable max iterations
- DuckDuckGo web search (free, no API key needed)
- Action confirmation system with Dynamic Confirmation for mixed read/write tools
- Chain action execution β agent resumes loop after confirmation
- Session persistence via WordPress transients
- WooCommerce auto-detection and tool activation
- Context Provider with auto-injected site snapshot
- REST API with session management (
/agent/chat,/agent/confirm)