AI Agent — WordPress plugin

Client: Media-met

Category: Web applications, AI services

Technology: WordPress, PHP, HTML/CSS, JavaScript, copywriting

Backend

  • PHP 8.0+
  • WordPress Plugin API (hooks, filters, REST API)
  • MySQL (custom tables for conversations)
  • Anthropic Claude API (claude-haiku / claude-sonnet)

Frontend

  • JavaScript (vanilla + jQuery)
  • CSS3 (custom, no framework)
  • WordPress REST API (frontend ↔ backend communication)

WordPress specific

  • Custom REST API endpoints
  • WP Options API (settings storage)
  • WP Mail (sending email notifications)
  • dbDelta (creating databases on activation)
  • wp_remote_post (HTTP calls to Anthropic API)

Architecture

  • OOP-like structured code (separate classes by functionality)
  • License server / client architecture (for the distribution version)
  • WooCommerce integration (automatic licensing)

AI Agent — WordPress plugin

The project arose from a specific need: how to provide website visitors with instant and relevant answers without constant team engagement? The result is a functional WordPress plugin that integrates an AI model and automatically adapts to the content of each page on which it is installed.

The agent reads the navigation, pages and posts of the WordPress site in real time and gives visitors precise answers with clickable links to the requested content. No generic answers — every answer is contextualized for the specific page.

What the plugin offers:

  • AI chatbot that responds in Croatian
  • Automatic reading of page content and structure
  • Clickable links in answers — the visitor gets directly to the requested information
  • Collecting contacts of interested visitors
  • View all conversations in the WordPress admin panel
  • Fully customizable appearance — color, position, agent name
Logo Media-met
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.