AI Gateway
AI Plugin in Wordpress Local First Sidebar in Gutenberg powered by AI ollama first, multi agent orchestration to create a blog
★ 0stars
397release downloads
≈10active sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/leion-wp/ai_gateway/releases/download/v2.2.8.4.1/v2.2.8.4.1_src.zipReadme
AI Gateway
AI Gateway is a local-first WordPress plugin that connects Gutenberg to Ollama (and optional MCP backends). It lets you run AI agents inside the editor, apply native tools, and keep full control on your own infrastructure.
Why it is useful
- Run AI agents directly in Gutenberg (no external SaaS required)
- Control which tools each agent can use
- Edit content, layout, and structure from a single sidebar
- Extend with MCP tools or your own endpoints
Quick demo (30 seconds)
- Open a post in Gutenberg and open the AI Gateway sidebar
- Select an agent and click Generate
- Insert the result or use native tools (Smart Edit, Outline, Template)
Screenshots
docs/screenshots/sidebar.pngdocs/screenshots/tools.pngdocs/screenshots/agents.png
Security and privacy
- Local-first by design (Ollama runs on your own host)
- No content is sent to third-party APIs by default
- Admin-only actions for plugin activation and tools
Core features
- Custom AI agents (model, system prompt, inputs, MCP endpoint)
- Gutenberg sidebar with AI assistant and native tools
- Tool permissions per agent (checkboxes)
- REST API for agents, runs, media import, and plugin actions
- Admin pages for agents, settings, and plugins
Quick start
- Upload the plugin folder to
wp-content/plugins/ai-gateway - Activate it in WordPress Admin
- Open a post in Gutenberg and use the AI Gateway sidebar
If you change src/index.js:
npm install
npm run build
Tools available in Gutenberg
- Smart Edit (target block text + colors)
- Outline to Sections
- Page Template
- FAQ Builder
- CTA Builder
- Quick Palette
- Media Smart Insert
- Hero Section
Agents
Create agents from the admin panel with:
- Model name (Ollama)
- System prompt
- Input schema (JSON -> form fields)
- Output mode (
textorblocks) - Allowed tools (checkboxes)
Plugin control (admin)
AI Gateway provides a Plugins IA page and REST endpoints to:
- list installed plugins
- activate/deactivate plugins (admin only)
REST API
Base: /wp-json/ai/v1
GET /pingPOST /runPOST /publishGET /agentsPOST /agentsGET /agents/{id}PUT /agents/{id}DELETE /agents/{id}POST /media/importGET /pluginsPOST /plugins/activatePOST /plugins/deactivate
Roadmap
- v2.1: tools per agent, plugins admin, sidebar native tools
- v2.2: workflows, presets, logs, export/import
- v3: marketplace + connectors
License
GPL-2.0-or-later
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v2.2.8.4.1 | Dec 26, 2025 | v2.2.8.4.1_src.zip | 6 |
| v2.2.8.4.1 | Dec 26, 2025 | v2.2.8.4.1_no_src.zip | 286 |
| v2.2.8.4 | Dec 26, 2025 | v2.2.8.4_no_src.zip | 4 |
| v2.2.8.4 | Dec 26, 2025 | v2.2.8.4_src.zip | 3 |
| v2.2.8.3 | Dec 24, 2025 | v2.2.8.3_src.zip | 3 |
| v2.2.8.3 | Dec 24, 2025 | v2.2.8.3_no_src.zip | 8 |
| v2.2.8.2 | Dec 24, 2025 | v2.2.8.2_no_src.zip | 4 |
| v2.2.8.2 | Dec 24, 2025 | v2.2.8.2_src.zip | 3 |
| v2.2.8.1 | Dec 24, 2025 | v2.2.8.1_no_src.zip | 3 |
| v2.2.8.1 | Dec 24, 2025 | v2.2.8.1_src.zip | 1 |
| v2.2.8 | Dec 23, 2025 | v2.2.8_src.zip | 2 |
| v2.2.8 | Dec 23, 2025 | v2.2.8_no_src.zip | 2 |
| v2.2.7 | Dec 23, 2025 | v2.2.7_src.zip | 1 |
| v2.2.7 | Dec 23, 2025 | v2.2.7_no_src.zip | 2 |
| v2.2.6 | Dec 23, 2025 | v2.2.6_no_src.zip | 3 |
| v2.2.6 | Dec 23, 2025 | v2.2.6_src.zip | 1 |
| v2.2.5 | Dec 23, 2025 | v2.2.5_no_src.zip | 4 |
| v2.2.5 | Dec 23, 2025 | v2.2.5_src.zip | 3 |
| v2.2.4 | Dec 23, 2025 | v2.2.4_src.zip | 1 |
| v2.2.4 | Dec 23, 2025 | v2.2.4_no_src.zip | 2 |
| v2.2.3 | Dec 23, 2025 | v2.2.3_no_src.zip | 4 |
| v2.2.3 | Dec 23, 2025 | v2.2.3_src.zip | 3 |
| v2.2.2 | Dec 23, 2025 | v2.2.2_no_src.zip | 4 |
| v2.2.2 | Dec 23, 2025 | v2.2.2_src.zip | 3 |
| v2.2.1 | Dec 23, 2025 | v2.2.1_src.zip | 3 |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.