All notable changes to AskWP are documented here.

2.0.0 — February 2026

Major release introducing agentic search and OpenRouter support.

Added

  • Agentic search — For providers with tool support (OpenAI, Anthropic, OpenRouter), the AI now receives a live site index and uses search_website and get_page tools to autonomously find and read your content before answering.
  • OpenRouter provider — Access hundreds of LLM models through a single API key. Full tool calling support via the Chat Completions API.
  • Site index builder — New askwp_rag_build_site_index() function generates a compact index of all published pages and posts with titles, paths, types, and dates.
  • Smart source tracking — Source pills now show only pages the AI actually read via get_page, not search results or the current page.

Changed

  • Tool use rounds increased from 4 to 6 for all providers, allowing more complex multi-hop queries (search → read → search → read → answer).
  • Anthropic provider now forces text response on final tool round (tool_choice: none) to prevent infinite tool loops.
  • System prompt updated with explicit tool-use instructions and site index injection for agentic mode.
  • get_page tool handler now normalizes relative paths via home_url().

Fixed

  • Source pills no longer show the current page by default in agentic mode.
  • search_website results no longer auto-added to sources before being read.
  • AI no longer includes inline source citations in reply text.

1.0.0 — January 2026

Initial release.

Features

  • Floating chat widget with responsive mobile layout
  • Three LLM providers: OpenAI (Responses API), Anthropic (Messages API), Ollama (local)
  • Keyword-based RAG with WordPress search, FAQ matching, and current page context
  • Configurable contact form with email submissions
  • 7-tab admin settings panel (General, LLM, Prompt, RAG, Form, Appearance, Rate Limits)
  • Prompt injection detection and origin validation
  • Per-IP rate limiting for chat and form endpoints
  • Full appearance customization: colors, icons, avatar, fonts, border radius, custom CSS
  • Zero external dependencies — pure PHP and vanilla JavaScript