Title: Grumpy AI Gate
Author: Lars Koudal
Published: <strong>نیسان 8, 2026</strong>
Last modified: نیسان 29, 2026

---

گەڕان لە پێوەکراوەکان

![](https://ps.w.org/grumpy-ai-gate/assets/banner-772x250.jpg?rev=3501217)

![](https://ps.w.org/grumpy-ai-gate/assets/icon-256x256.png?rev=3501217)

# Grumpy AI Gate

 لەلایەن [Lars Koudal](https://profiles.wordpress.org/lkoudal/)

[داگرتن](https://downloads.wordpress.org/plugin/grumpy-ai-gate.1.0.2.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/grumpy-ai-gate/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/grumpy-ai-gate/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/grumpy-ai-gate/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/grumpy-ai-gate/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/grumpy-ai-gate/)

## وەسف

**Grumpy AI Gate** helps you stay in control as AI features spread across WordPress.
It **observes and intercepts** outbound HTTP **that other code on your site already
initiates** (plugins, themes, or core)—so you can see **which plugin** was involved,**
how much** activity you are seeing (including helpful estimates), and **optionally
stop** unwanted **WordPress AI Client** traffic for specific plugins. **This plugin
does not** call external AI APIs for its own dashboard, analytics, or licensing.
Nothing is sent to us or to a third-party analytics service.

**Why use it**

 * **Visibility** — Dashboard summaries, a per-plugin usage table, and a request
   log so surprises become visible early.
 * **Spend awareness** — When other software calls paid APIs, usage adds up. Logging
   helps you notice patterns before invoices or quotas become a problem.
 * **Safer sharing** — Knowing what leaves your server makes it easier to decide
   what belongs in prompts and what does not.
 * **Optional blocking** — For paths that use WordPress’s AI Client, you can block
   generations from selected plugins under **Grumpy AI Gate  Settings** (save to
   apply).

**How it works**

 * When the **WordPress AI Client** is available, the plugin records those requests
   from core lifecycle hooks (other code still drives the actual generation).
 * For **HTTP fallback**, Grumpy AI Gate **hooks WordPress’s HTTP API** (for example`
   pre_http_request`) to **inspect requests that are already in flight**. If a URL
   matches **built-in recognition rules** for major AI providers, a log row can 
   be stored. **Grumpy AI Gate does not open those connections for its own purposes**—
   it only filters and classifies traffic **initiated elsewhere** on the site.
 * **HTTP fallback does not block** outbound API calls in the current release—it
   is there so you still get visibility when plugins talk to providers **directly
   over HTTP** instead of (or in addition to) AI Client flows.

**Compatibility**

The plugin requires **WordPress 7.0+** (matches **Requires at least** in the plugin
header). On WordPress **7.x**, it works with **core AI Client** functionality where
available. Release testing included **WordPress 7.0 Beta 5**. **HTTP fallback** 
remains important on every supported version—it records calls to **recognized provider
endpoints** that **other plugins** make **directly over HTTP**, which is still common
alongside (or instead of) AI Client–based flows.

**Privacy**

Everything is stored **locally in your WordPress database**. There is no cloud account,
no telemetry, and no third-party analytics from this plugin.

For technical details on logging, double-counting avoidance, and blocking limits,
see the **FAQ** below.

### External services

This plugin **does not** rely on third-party AI APIs, remote analytics, or any external
service **for its own features**. All logging and settings stay on your site.

**Provider names and URL patterns** included with the plugin are **local matching
rules** only. They let Grumpy AI Gate **filter and classify** outbound HTTP requests
that **plugins, themes, or WordPress core** may already be sending. They are **not**
a list of servers this plugin calls to power the admin UI or to “phone home.”

Your site may still contact third-party AI providers when **you or other software**
use AI features—that traffic is separate from this plugin’s own network use (which
does not include calling those providers for monitoring).

## سکرین شۆتەکان

[⌊Dashboard with summary cards, top plugins, usage-by-plugin table, providers, and
recent activity.⌉⌊Dashboard with summary cards, top plugins, usage-by-plugin table,
providers, and recent activity.⌉[

Dashboard with summary cards, top plugins, usage-by-plugin table, providers, and
recent activity.

[⌊Request log for browsing individual AI-related requests.⌉⌊Request log for browsing
individual AI-related requests.⌉[

Request log for browsing individual AI-related requests.

[⌊Settings: enable AI Client and HTTP monitoring, retention, provider list, and 
per-plugin blocking.⌉⌊Settings: enable AI Client and HTTP monitoring, retention,
provider list, and per-plugin blocking.⌉[

Settings: enable AI Client and HTTP monitoring, retention, provider list, and per-
plugin blocking.

[⌊Help: how monitoring and blocking work, privacy and retention, and restoring the
dashboard welcome panel.⌉⌊Help: how monitoring and blocking work, privacy and retention,
and restoring the dashboard welcome panel.⌉[

Help: how monitoring and blocking work, privacy and retention, and restoring the
dashboard welcome panel.

## دامەزراندن

 1. Upload the plugin folder to `/wp-content/plugins/` or install it from the **Plugins
    Add New** screen in your admin.
 2. Activate the plugin through the **Plugins** menu.
 3. Open **Grumpy AI Gate** in the admin menu. Review the **Dashboard** and **Request
    log**, then visit **Settings** to turn monitoring options on or off and configure
    optional per-plugin blocking.

## پهد

### Why monitor AI usage on my site?

Plugins can trigger AI calls in the background—for content, assistants, SEO tools,
and more. Logging gives you a clear picture of **which plugin** is active, **how
often** requests run, and **where** traffic is going, so you can manage budgets 
and content thoughtfully.

### Will this help me control API costs?

It helps you **see** usage and trends. **Optional blocking** reduces some **WordPress
AI Client** traffic for plugins you choose. Outbound **HTTP** calls to provider 
APIs that **other code** makes are **logged for visibility** in the current release
but are **not blocked** here—use provider dashboards, API keys, and quotas for hard
spend limits.

### Is my data sent to you or a third-party analytics service?

No. Logs and settings stay **on your server** in the WordPress database. This plugin
does not add off-site tracking or analytics.

### What does blocking actually stop?

Blocking applies to **WordPress AI Client** flows that respect the **`wp_ai_client_prevent_prompt`**
filter. You choose plugins under **Grumpy AI Gate  Settings** and save. It is **
not** a full firewall for every outbound request.

### Does this block all AI traffic?

No. Only **AI Client** traffic for plugins you select under **Grumpy AI Gate  Settings**
is blocked (after you save). **HTTP** calls to provider APIs that **other plugins
or themes** initiate are **observed and logged** in the current release but **not
blocked**.

### Will it work if the WordPress AI Client is not available?

Yes. The plugin loads safely. Without the AI Client stack, **HTTP fallback** can
still record calls to **recognized provider** endpoints when that option is enabled
in **Settings**, as long as **other code** on the site is making those outbound 
requests.

### How are AI Client requests and outbound HTTP logged?

When the WordPress AI Client stack is available, a full generation is one log row
from its lifecycle hooks; the matching raw provider HTTP for that same call is skipped
so usage is not double-counted. Calls that do not fire those hooks (for example 
listing models) are still logged and may appear with capability `provider_http`.
When **another plugin** talks to a known AI API without going through core AiClient,
or when AI Client monitoring is off in settings, those requests are recorded via
HTTP fallback instead.

### Which URLs does HTTP fallback recognize?

Only built-in provider host/path rules (OpenAI, Anthropic, Google AI / Gemini, xAI,
DeepSeek, Mistral, OpenRouter, and local Ollama). See **Grumpy AI Gate  Settings**
for the current hostname list. Those patterns exist **only to filter and classify**
outbound traffic **initiated by other code**—they are **not** endpoints this plugin
contacts for its own operation.

### Does blocking stop all AI traffic from a plugin?

Blocking uses WordPress’s **`wp_ai_client_prevent_prompt`** filter: it stops prompt
builder flows (support checks and generations) that go through that path. Separate
calls such as **listing models** (`/v1/models`) may still run as **provider HTTP**
on the AI Client channel and appear as a successful row—that traffic does not go
through the same prevent hook.

### Can I clear old log data?

Yes. Under **Grumpy AI Gate  Settings**, use the options to clear the request log
only, or clear the log and aggregated statistics, as needed.

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/33fadaf8aef05d4f5ce5153c47ec1ecc45fa47b6bb54f6c06825ee4abfe32321?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-9909/)󠁿

 [Vassos Hadjivassiliou](https://profiles.wordpress.org/more2think/) تەممووز 7, 
2026

Excellent idea for the AI era. As more WordPress plugins quietly integrate AI features,
Grumpy AI Gate provides valuable transparency and control over what’s happening 
on your site. It’s simple, practical, and gives website owners greater peace of 
mind when managing AI-powered tools.

 [ خوێندنەوەی 1 پێداچوونەوە ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/)

## بەشداربووان و گەشەپێدەران

“Grumpy AI Gate” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا
کردووە.

بەشداربووان

 *   [ Lars Koudal ](https://profiles.wordpress.org/lkoudal/)
 *   [ cleverplugins ](https://profiles.wordpress.org/cleverplugins/)

[“Grumpy AI Gate” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/grumpy-ai-gate)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/grumpy-ai-gate/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/grumpy-ai-gate/) بکە، یان
بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/grumpy-ai-gate/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/grumpy-ai-gate/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 1.0.2

 * Help submenu (Grumpy AI Gate  Help) with documentation on how AI Client and HTTP
   fallback logging work, what data is stored locally, a shortcut to retention in
   Settings, and a control to show the dashboard welcome panel again after dismissal.
 * Dashboard UX: plugin version shown next to the screen title; dismissible welcome
   panel (per major plugin version) with bullets and a link to Help; admin notices
   when a block rule is added or cannot be saved; clearer guidance when the WordPress
   AI Client is unavailable; short descriptions under Top providers and Usage by
   plugin; footer link to Help.
 * Block workflow: full-page Confirm block plugin step before adding an AI Client
   block rule from the dashboard or request log (nonce-protected, with Cancel and
   a link to Help explaining blocking scope).
 * Admin presentation: consistent credit line under titles; plugin labels show installed
   version where available; status rows use color-coded pills for success, blocked,
   and error states.

#### 1.0.1

 * Bumped Stable tag and internal version to 1.0.1. Aligned Requires at least with
   the plugin header (WordPress 7.0). No functional changes from 1.0.0.

#### 1.0.0

 * Renamed to Grumpy AI Gate (slug grumpy-ai-gate); internal prefix gaig / GAIG.
   Readme and admin copy clarify interception of outbound HTTP initiated by other
   code (not the plugin acting as an AI client). Added External services section
   for WordPress.org reviewers. Local-only logging of AI Client and matching HTTP
   traffic, dashboard and request log, optional per-plugin blocking for WordPress
   AI Client flows, retention and clear-data tools. See the FAQ for privacy, blocking
   scope, and provider matching details.

## مێتا

 *  وەشان **1.0.2**
 *  دوایین بەڕۆژکردنەوە **2 مانگ لەمەوبەر**
 *  دامەزراندنی چالاک **کەمتر لە 10**
 *  وەشانی وۆردپرێس ** 7.0 یان بەرزتر **
 *  تاقیکراوەتەوە تا **7.0**
 *  وەشانی PHP ** 7.4 یان بەرزتر **
 *  زمان
 * [English (US)](https://wordpress.org/plugins/grumpy-ai-gate/)
 * تاگەکان
 * [admin](https://ku.wordpress.org/plugins/tags/admin/)[AI](https://ku.wordpress.org/plugins/tags/ai/)
   [monitoring](https://ku.wordpress.org/plugins/tags/monitoring/)[privacy](https://ku.wordpress.org/plugins/tags/privacy/)
   [security](https://ku.wordpress.org/plugins/tags/security/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/grumpy-ai-gate/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/grumpy-ai-gate/reviews/)

## بەشداربووان

 *   [ Lars Koudal ](https://profiles.wordpress.org/lkoudal/)
 *   [ cleverplugins ](https://profiles.wordpress.org/cleverplugins/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/grumpy-ai-gate/)