WP Agentic Writer
Plan-first AI writing workflow for WordPress
A WordPress plugin that transforms how developers and technical writers create blog posts. Instead of the traditional "blank page → write → edit" workflow, it implements a multi-phase agentic AI workflow:
Scribble (Ideas) → Research → Plan (Outline) → Execute (Write) → Discussion/Revise
Features
5-Phase Workflow
- Brainstorm & Scribble - Share raw ideas, code snippets, or vague topics
- Research - Optional web search for current information (via OpenRouter)
- Plan - Generate structured outline with H2 sections
- Execute - Auto-generate full article from plan
- Revise - Regenerate individual blocks or sections
Key Features
- ✅ Single API key via OpenRouter
- ✅ Built-in web search with toggle
- ✅ Real-time cost tracking
- ✅ Gutenberg block integration
- ✅ Block-level regeneration
- ✅ Free tier support (25+ free models)
Installation
- Download the plugin ZIP file
- Upload to WordPress plugins directory
- Activate the plugin
- Configure settings in Settings > Agentic Writer
Configuration
Get OpenRouter API Key
- Visit OpenRouter.ai
- Create an account (or use free tier)
- Generate an API key
- Paste in plugin settings
Recommended Models
Planning Model:
google/gemini-2.0-flash-exp(Free, Fast) - Recommendedxiaomi/mimo-v2-flash(Free, High Quality)anthropic/claude-sonnet-4-20250514(Paid, Excellent)
Execution Model:
anthropic/claude-sonnet-4-20250514(Recommended)anthropic/claude-opus-4-20250514(Premium, Best Quality)meta-llama/llama-3.3-70b(Free)qwen/qwen3-coder-480b(Free, Technical Writing)
Image Model:
black-forest-labs/flux-schnell(Fast, $0.04/image)black-forest-labs/flux-pro(Premium, $0.25/image)
Web Search
Toggle web search in the Research phase:
- Cost: ~$0.02 per search (Exa engine)
- Engine: Auto, Native, or Exa
- Depth: Low, Medium, or High
Usage
- Open WordPress editor for a new post
- Click "Agentic Writer" in the sidebar
- Brainstorm: Type your raw ideas or topic
- Research: (Optional) AI searches the web for current info
- Plan: Review and edit the generated outline
- Execute: Click to generate the full article
- Revise: Regenerate blocks as needed
Cost Estimation
Per Article (2,500 words):
- Planning: ~$0.0007 (with free model)
- Research: ~$0.02 (if web search enabled)
- Writing: ~$0.633 (with Claude Sonnet)
- Image: ~$0.04 (with FLUX Schnell)
- Total: ~$0.70
Free Tier:
- Planning & Writing: $0.00 (with free models)
- Research: $0.00 (skip web search)
- Total: $0.00
Requirements
- WordPress 6.6+
- PHP 7.4+
- Gutenberg Editor
- OpenRouter API Key (or use free tier models)
Security
- API keys are stored encrypted in WordPress options
- All user inputs are sanitized
- Nonces verified for all AJAX requests
- No external data collection
Support
- GitHub: https://github.com/wp-agentic-writer/wp-agentic-writer
- Issues: https://github.com/wp-agentic-writer/wp-agentic-writer/issues
License
GPL-2.0+
Credits
Developed with ❤️ for developers who struggle with blogging.
Uses OpenRouter for unified AI model access.
Description
Languages
PHP
52.6%
JavaScript
31.9%
CSS
15.5%