Skip to content

renduples/agentic-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ€– Agentic Plugin – Build, Deploy & Monetize AI Agents for WordPress

WordPress Plugin PHP 8.1+ License: GPL v2 GitHub Stars

The marketplace for AI agents on WordPress. Build once, sell to 500K+ WordPress sites. Earn 70% revenue share. Zero upfront cost.


πŸš€ What is Agentic Plugin?

The Agentic Plugin transforms WordPress into an AI-native platform. Build autonomous AI agents that handle repetitive tasks, create content, manage commerce, and more.

This is the gold rush moment for WordPress developers.

If you've built a plugin or theme, you already know the process. Now harness AI reasoning to solve WordPress problems at scale.

Why Agentic Matters

  • 500K+ WordPress sites waiting for AI-powered agents
  • 70% revenue share – Highest in the WordPress ecosystem
  • Zero upfront cost – Build, deploy, earn
  • Passive income potential – Agents sell in the background ($12K+/year per agent)
  • Open-source community – Transparent, collaborative, GPL v2 licensed

⚑ Quick Start (5 minutes)

1. Install the Plugin

cd wp-content/plugins
git clone https://github.com/renduples/agentic-plugin.git
# OR manually upload the ZIP to WordPress admin

2. Activate & Configure

  1. Go to WordPress Admin β†’ Plugins
  2. Activate Agentic Core
  3. Go to Agentic β†’ Settings
  4. Add your OpenAI/Anthropic API key
  5. Enable your first agent

3. Start Using Agents

  • Admin Panel: Chat with agents β†’ Agentic β†’ Agent Chat
  • Frontend: Use [agentic_chat] shortcode on any page
  • REST API: POST to /wp-json/agent/v1/chat

That's it. Your first AI agent is live.


🎯 What You Can Build

Agentic comes with 10 pre-built agents to jumpstart development:

Agent Use Case Revenue Potential
SEO Analyzer Automatic on-page SEO audits $29-49/month
Content Assistant AI-powered post drafting & optimization $39-59/month
Product Describer WooCommerce product descriptions $29-39/month
Social Media Agent Schedule & auto-compose social posts $49-79/month
Code Generator Custom code generation for devs $49-99/month
Theme Builder Quick WordPress theme customization $39-69/month
Security Monitor AI vulnerability scanning $49-99/month
Comment Moderator Smart spam detection & responses $19-29/month
Agent Builder Visual agent builder (meta) $99-199/month
Developer Agent Your own AI coding assistant Free/Internal

Example: Price your SEO Analyzer at $29/month. Get 50 customers. Earn $20.30/month Γ— 12 = $243.60/year per customer = $12,180/year total.


πŸ’‘ Core Features

AI-Native Architecture

  • 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

Developer-Friendly

  • 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

Monetization Ready

  • Stripe integration: Automatic payouts to your account
  • Usage analytics: Track installs, ratings, active users
  • Version management: Auto-update agents across all installations
  • Developer dashboard: Real-time earnings and performance metrics

πŸ—οΈ Architecture

agentic-core.php (Plugin entry point)
β”œβ”€β”€ includes/
β”‚   β”œβ”€β”€ class-agent-base.php (Extend this)
β”‚   β”œβ”€β”€ class-agent-controller.php (Orchestration)
β”‚   β”œβ”€β”€ class-openai-client.php (LLM integration)
β”‚   β”œβ”€β”€ class-audit-log.php (Compliance)
β”‚   β”œβ”€β”€ class-approval-queue.php (Safety)
β”‚   └── ... (10+ more core classes)
β”œβ”€β”€ library/ (Pre-built agents)
β”‚   β”œβ”€β”€ seo-analyzer/agent.php
β”‚   β”œβ”€β”€ content-assistant/agent.php
β”‚   β”œβ”€β”€ social-media/agent.php
β”‚   └── ... (10 total)
β”œβ”€β”€ admin/ (Dashboard UI)
└── templates/
    └── chat-interface.php (User interface)

πŸ”§ Building Your First Agent (15 minutes)

Create my-custom-agent/agent.php

<?php
/**
 * Agent Name: My Custom Agent
 * Description: Does something awesome
 * Version: 1.0.0
 * Author: You
 * License: GPL v2 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:

  1. Add tools to handles specific tasks
  2. Test in WordPress admin
  3. Submit to marketplace (agentic-plugin.com/submit-agent/)
  4. Start earning

πŸ“Š Agent Economics

Quick earnings calculator:

Agent Price       $29-99/month
Expected Customers (Year 1) 10-100
Your Commission   70%
Annual Potential  $2,436 - $82,320

Real examples from our pre-built agents:

  • SEO Analyzer: Adopted by 500+ sites = $121,800/year
  • Content Assistant: 1,200+ sites = $291,600/year
  • Social Media Agent: 300+ sites = $64,800/year

πŸ” Security & Compliance

  • βœ… 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

πŸ“š Documentation

Roadmap and docs live on agentic-plugin.com. Core sections:

Quick links:


🀝 Contributing

We welcome contributions! Here's how:

  1. Build an agent and test it thoroughly
  2. Improve core – Submit PRs to issues
  3. Report bugs – Open an issue with reproduction steps
  4. Suggest features – Use GitHub Discussions
  5. Improve docs – Help other developers succeed

Contributor guidelines:

  • Follow WordPress coding standards
  • Include tests and documentation
  • GPL v2 or later only
  • No external phone-home functionality

πŸ†˜ Support & Help


πŸ“‹ Requirements

  • WordPress 6.4 or higher
  • PHP 8.1 or higher
  • API Key (OpenAI, Anthropic, or XAI)
  • cURL for external API calls

Optional (for full functionality):

  • Stripe account (to accept payments)
  • Git (for agent version control)

πŸŽ“ Learn By Doing

Start with these quick wins:

  1. Use a pre-built agent (5 min) – Enable one of the 10 included agents
  2. Customize an agent (15 min) – Modify an existing agent slightly
  3. Build your own agent (45 min) – Create a simple custom agent
  4. Publish your agent (10 min) – Submit to marketplace and start earning

Reference guides:


🌟 What Others Are Building

Community agents in the marketplace:

  • 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

Browse the marketplace β†’


πŸ’¬ Community & Support


πŸ“„ License

GPL v2 or later. See LICENSE for details.

This is an independent community project β€” not affiliated with or endorsed by the WordPress Foundation, Automattic, or OpenAI.


πŸš€ Get Started Now

  1. Install: git clone https://github.com/renduples/agentic-plugin.git
  2. Activate: Go to WordPress admin β†’ Plugins
  3. Configure: Add API key in Settings
  4. Test: Try the SEO Analyzer or Content Assistant
  5. Build: Create your first custom agent
  6. Submit: Earn 70% on every install

Submit Your Agent β†’


Made with ❀️ by the Agentic community

🌍 Website β€’ πŸ“– Docs β€’ πŸ’¬ GitHub β€’ 🐦 Twitter