erfanPersonal workspace
Project
All work

WordPress plugins / WordPress

Aiwend – AI Chatbot

A free, modular AI chatbot plugin for WordPress that answers visitors from the site’s own content with cited sources, usage limits and your own AI provider key. Published on WordPress.org as a public beta.

Engagement
Independent software product
Industry
WordPress plugin · AI
Project type
Independent software product · Public beta, actively developed
My role
Product design, development, testing and release
Technologies
  • WordPress
  • PHP
  • JavaScript
  • REST API
  • WooCommerce
  • MCP
  • PHPUnit

What I did

  • WordPress plugin architecture with six independent modules
  • AI provider integrations with a bring-your-own-key design (seven providers)
  • Knowledge base and source-cited answers with a “no answer” fallback
  • WooCommerce, Gutenberg block and read-only MCP endpoint
  • Encrypted key storage, usage limits, privacy and data-removal controls
  • Compatibility and graceful-failure work across WordPress, PHP and database versions
  • Automated testing, release packaging and WordPress.org publication

Aiwend is a WordPress plugin I design, build, test and maintain on my own. It is published in the WordPress.org plugin directory as “Aiwend – AI Chatbot”; the current release is labelled a public beta and development is ongoing.

Its main module, Chat and Knowledge, lets a site owner create an assistant that answers only from the posts, pages and text files they choose. Each answer lists its sources, and the assistant says so when the content does not contain the answer. Usage limits, including a site-wide limit and per-visitor daily limits, keep costs in the owner’s hands.

Five further modules are included and all six start switched off: Content Studio drafts posts and pages as WordPress drafts only; WooCommerce AI proposes product text without changing prices, SKUs or stock; AI Forms collects inquiries and contacts an AI provider only when an administrator presses Analyze; an optional, read-only MCP endpoint lets AI apps the owner authorizes read selected data; and a Gutenberg block places the chat on a page.

It uses a bring-your-own-key model: the site owner connects an account at OpenAI, Anthropic, Google Gemini, DeepSeek, xAI, OpenRouter or GroqCloud, the key is stored encrypted on their site, and the provider bills them directly. Aiwend has no server of its own and does not resell AI usage.

Behind the listing is a substantial engineering effort: a modular PHP architecture, REST endpoints, a JavaScript chat widget and block, a security-focused handling of keys and visitor data, compatibility work across WordPress, PHP, MySQL and MariaDB versions, graceful failure handling when a provider is unavailable, and an automated unit and integration test suite that I run before each release. The public listing states which parts were tested against real provider accounts and which only against recorded responses.