跳到内容

SharkTrace AI Agent Monitor

v0.1.1

Iqbal Hossain · 2026年11月25日 上架

AI observability for WordPress. See what AI agents do inside your site, in real time.

正在使用
10 以下
评分
暂无
累计下载
61
最近更新
2026年11月25日
需要 WordPress 6.7+已测试到 7.1.5PHP 7.2+

贡献者

SharkTrace AI Agent Monitor records what AI agents, MCP clients and automations actually do on your
site, and shows it in a live control room screen inside wp-admin.

Every recorded event keeps the who, what, when and the values that changed, so you can
answer “what did that agent just do?” without digging through logs.

Attribution you can trust

An event is labelled as an AI agent only when WordPress can prove it: an Abilities API
execution, or an explicit X-Agent-Name / X-MCP-Client header over REST or WP-CLI.
Anything else is reported as Unknown / WordPress rather than guessed.

What is recorded

  • Abilities API executions, with input, result, duration and outcome, including permission denials (blocked) and runs that never completed.
  • Core writes: posts, trash, permanent deletes, media uploads, terms, user creation, role changes, user deletion, watched options and plugin activation.
  • Risk classification of low, medium or high, with critical options such as siteurl, home, active_plugins and default_role always treated as high risk.

Control room screen

A live feed with 24 hour counters, search and filters by source, risk level and status,
plus a detail pane showing before and after values for each event.

REST API

Read-only endpoints under the sharktrace-ai-agent-monitor/v1 namespace, all requiring the
manage_options capability:

  • GET /sharktrace-ai-agent-monitor/v1/events – the feed, with search, source, status, risk_level, action_name, session_id, since_id, per_page and offset parameters.
  • GET /sharktrace-ai-agent-monitor/v1/events/<id> – one event with full payloads.
  • GET /sharktrace-ai-agent-monitor/v1/stats – 24 hour counters and top agents.
  • GET /sharktrace-ai-agent-monitor/v1/sessions/<id> – every event in one session, oldest first.
  • DELETE /sharktrace-ai-agent-monitor/v1/events – clear the log.

Extension points

  • staiam_should_record – filter. Skip events by context.
  • staiam_pre_record_event – filter. Alter or drop an event before storage; return a non-array to drop it.
  • staiam_risk_level – filter. Override risk classification.
  • staiam_watched_options – filter. Choose which options are logged.
  • staiam_view_capability – filter. Capability required to read monitoring data.

Privacy and data safety

All data stays in your own database. Nothing is sent to any external service.

Payload keys matching pass, password, token, secret, api_key, nonce, auth,
salt or private_key are stored as [redacted]. Values are truncated at 500
characters, arrays at 30 entries and 4 levels deep. Events older than the retention
window, 30 days by default, are deleted daily.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums