🤖 Build AI Agents without writing code. Describe the AI agent you want and let WordPress build it for you.
The Agent Builder brings an ecosystem to WordPress just like plugins and themes, but for AI capabilities.
If you've built a plugin or theme before, you already know the process. Now harness AI reasoning to solve WordPress problems at scale.
With this plugin you will be able to build most of your AI Agents without writing code.
- 500K+ WordPress sites waiting for AI-powered agents to enhance Wordpress
- Open-source community – Transparent, collaborative, GPL v2 licensed
cd wp-content/plugins
git clone https://github.com/renduples/agent-builder.git
# OR manually upload the ZIP to your WordPress plugins- Go to WordPress Admin → Plugins
- Activate Agent Builder
- Go to Agentic → Settings
- Add your xAI/OpenAI/Anthropic API key
- Enable your primary agent
- Admin Panel: Chat with agents → Agentic → Agent Chat
- Frontend: Use
[agentic_chat]shortcode on any page - REST API: POST to
/wp-json/agentic/v1/chat
That's it. Your primary AI agent is live.
The Agent Builder comes with 5 pre-built agents to jumpstart development:
| Agent | Use Case |
|---|---|
| Content Assistant | AI-powered post drafting & optimization |
| Theme Assistant | Quick WordPress theme customization |
| Agent Builder | Visual agent builder (meta) |
| WordPress Assistant | Your guide to the Agent Builder ecosystem |
| Plugin Assistant | Generate complete WordPress plugins |
- Multi-model support: OpenAI, Anthropic, xAI, local LLMs
- Built-in security: Sandboxed execution, approval workflows
- Reasoning engine: Agents explain their logic, not just generate outputs
- Response caching: Reduce API costs while maintaining freshness
- Extend Agent_Base: Simple PHP class inheritance (like plugins)
- Full WordPress API access: Call any WordPress function safely
- Rich tooling: 20+ pre-built tools (file I/O, API calls, data queries)
- Audit logging: Every agent action is logged and auditable
- Version management: Auto-update agents across all installations
- Usage analytics: Track installs, ratings, active users
WordPress Installation
├── wp-content/
│ ├── plugins/
│ │ └── agent-builder/
│ │ ├── agent-builder.php (Plugin entry point)
│ │ ├── includes/
│ │ │ ├── class-agent-base.php (Extend this)
│ │ │ ├── class-agent-controller.php (Orchestration)
│ │ │ ├── class-llm-client.php (Multi-provider LLM)
│ │ │ ├── class-audit-log.php (Compliance)
│ │ │ ├── class-approval-queue.php (Safety)
│ │ │ └── ... (17 more core classes)
│ │ ├── library/ (Bundled agents)
│ │ │ ├── content-builder/agent.php
│ │ │ ├── theme-builder/agent.php
│ │ │ └── ... (more)
│ │ ├── admin/ (Dashboard UI)
│ │ └── templates/
│ │ └── chat-interface.php (User interface)
│ │
│ └── agents/ (User-installed agents - survives plugin upgrades)
│ ├── my-custom-agent/
│ │ └── agent.php
│ └── another-agent/
│ └── agent.php
Note: User agents are stored in wp-content/agents/ to survive plugin updates. Bundled agents are in wp-content/plugins/agent-builder/library/.
<?php
/**
* Agent Name: My Custom Agent
* Description: Does something awesome
* Version: 1.0.0
* Author: You
* License: GPL-2.0-or-later
*/
namespace Agentic\Agents;
class My_Custom_Agent extends \Agentic\Agent_Base {
public function get_name(): string {
return 'My Custom Agent';
}
public function get_description(): string {
return 'Solves a specific WordPress problem with AI';
}
public function get_tools(): array {
return [
'search_posts' => 'Search WordPress posts by keyword',
'analyze_content' => 'AI analysis of post content',
'update_post' => 'Update post with AI suggestions',
];
}
public function handle_request(string $input): string {
// Your agent logic here
return $this->call_llm($input);
}
}Next steps:
- Add tools to handle specific tasks
- Test in WordPress admin
- ✅ Sandboxed execution – Agents run in isolated contexts
- ✅ Capability-based permissions – Fine-grained access control
- ✅ Approval workflows – Sensitive actions require review
- ✅ Audit logging – Every action is tracked
- ✅ Rate limiting – Prevent abuse
- ✅ GDPR-ready – Privacy by design
All documentation is now available on our GitHub Wiki:
- Quick Start Guide – Get up and running in 5 minutes
- Contributing Guidelines – Help build the future
- Security Policy – Report vulnerabilities
- Technical Roadmap – What's next
- Release Notes – Version history
We welcome contributions! See our Contributing Guidelines for details.
Quick ways to contribute:
- Build an agent and test it thoroughly
- Improve core – Submit PRs to issues
- Report bugs – Open an issue with reproduction steps
- Suggest features – Use GitHub Discussions
- Improve docs – Help other developers succeed
- Issues: https://github.com/renduples/agent-builder/issues
- Discussions: https://github.com/renduples/agent-builder/discussions
- Security: See our Security Policy
- WordPress 6.4 or higher
- PHP 8.1 or higher
- API Key (OpenAI, Anthropic, or XAI)
- cURL for external API calls
Start with these quick wins:
- Use a pre-built agent (5 min) – Enable one of the 5 included agents
- Customize an agent (15 min) – Modify an existing agent slightly
- Build your own agent (45 min) – Create a simple custom agent
Reference guides:
Community agents:
- Invoice Generator – AI creates WooCommerce invoices
- Email Responder – Auto-replies with AI-powered suggestions
- Backup Monitor – Proactive backup integrity checking
- Customer Segmentation – ML-based audience analysis
- Translation Agent – Multi-language content automation
- GitHub Discussions – Ask questions, share ideas (https://github.com/renduples/agent-builder/discussions)
- Twitter/X – @agenticplugin
- Email – support@agentic-plugin.com
GPL-2.0-or-later. See LICENSE for details.
This is an independent community project — not affiliated with or endorsed by the WordPress Foundation, Automattic or any of the AI Providers.
- Install: cd wp-content/plugins
git clone https://github.com/renduples/agent-builder.git - Activate: Go to WordPress admin → Plugins
- Configure: Add API key in Settings
- Test: Try the Content Assistant or Theme Assistant
- Build: Create your first custom agent
Made with ❤️ by the Agent Builder community