An open source framework that integrates LLM-powered AI agents directly into WordPress and the Gutenberg editor. Built with PHP and React.
WP Agent AI is an open source project that brings modern AI agent capabilities into the WordPress ecosystem. It enables AI-powered content generation, block editing assistance, and custom agent workflows directly inside the Gutenberg editor and WordPress admin. Built with a PHP backend and React-based editor integration.
Open Source
Type
OpenAI
LLM Support
PHP + React
Stack
2025
Release Year
WordPress has no native support for AI agents or LLM-powered workflows. Existing AI WordPress plugins were simple chatbots — not proper agent systems. Building a real agent framework inside WordPress's hook-based, request-scoped PHP architecture required rethinking how agents maintain context and chain tool calls.
Designed a PHP agent runtime that uses WordPress's transients and options API for state persistence between requests. Built a tool-calling abstraction that maps Gutenberg editor actions (insert block, update content, query posts) to LLM function calls. The React editor integration streams responses via REST and updates blocks in real-time.