Title: aiMiles &#8211; AI Agent
Author: aimiles
Published: <strong>2026 年 3 月 7 日</strong>
Last modified: 2026 年 4 月 8 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/aimiles-ai-agent.svg)

# aiMiles – AI Agent

 由 [aimiles](https://profiles.wordpress.org/aimiles/) 開發

[下載](https://downloads.wordpress.org/plugin/aimiles-ai-agent.0.2.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/aimiles-ai-agent/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/aimiles-ai-agent/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/aimiles-ai-agent/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/aimiles-ai-agent/#developers)

 [技術支援](https://wordpress.org/support/plugin/aimiles-ai-agent/)

## 外掛說明

aiMiles detects AI agents visiting your WordPress site and allows you to serve them
sponsored content.

#### How It Works

 1. When any request hits your site, the plugin checks the User-Agent header
 2. If it matches a known AI bot signature (25+ supported), the request is routed through
    the aiMiles serve API
 3. The API fetches your original page, appends a sponsored message, and returns the
    result to the bot
 4. Human visitors are never affected — they always see your original, unmodified pages

#### Supported AI Agents

 * GPTBot (OpenAI)
 * ChatGPT-User (OpenAI)
 * ClaudeBot (Anthropic)
 * Claude-Web (Anthropic)
 * PerplexityBot (Perplexity)
 * Google-Extended (Google)
 * Meta-ExternalAgent (Meta)
 * AppleBot-Extended (Apple)
 * ByteSpider (ByteDance)
 * CCBot (Common Crawl)
 * And 15+ more

### Configuration

#### Enable/Disable

Toggle detection and serving on/off.

#### API Key

Your aiMiles API key is required. Get one at https://app.aimiles.ai/publishers/settings

### External services

This plugin connects to the aiMiles serve API (https://app.aimiles.ai/api/serve)
to proxy AI bot requests. An API key is required to use this service.

#### Data sent to the API

When an AI agent is detected visiting your site, the plugin makes a request to https://
app.aimiles.ai/api/serve with the following query parameters:

 * `url` — The full URL the bot was requesting on your site
 * `key` — Your API key (for authentication)
 * `ua` — The visitor’s User-Agent header

The serve API fetches your original page, appends sponsored content, logs the visit,
and returns the modified HTML. This happens on every AI agent page visit. Human 
visitors are never routed through the API.

Service provided by aiMiles: [Terms of Service](https://aimiles.ai/terms), [Privacy Policy](https://aimiles.ai/privacy-policy).

## 安裝方式

 1. Download and unzip the plugin
 2. Upload the `aimiles` folder to `/wp-content/plugins/`
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Go to Settings > aiMiles to configure

## 常見問題集

### What AI agents are supported?

Over 25 AI agents including GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and
more.

### Will this affect regular visitors?

No, the injected content is invisible to human visitors and only readable by AI 
agents.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈aiMiles – AI Agent〉的開發相關工作。

參與者

 *   [ aimiles ](https://profiles.wordpress.org/aimiles/)

[將〈aiMiles – AI Agent〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/aimiles-ai-agent)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/aimiles-ai-agent/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/aimiles-ai-agent/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/aimiles-ai-agent/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/aimiles-ai-agent/)。

## 變更記錄

#### 0.2.0

 * Switched to aiMiles serve API — all fetching, injection, and logging now handled
   server-side
 * Removed client-side content injection (class-injector.php) and separate visit
   logging (class-logger.php)
 * Simpler, more reliable architecture with fail-open behavior

#### 0.1.0

 * Initial release

## 中繼資料

 *  版本 **0.2.0**
 *  最後更新 **4 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.7**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/aimiles-ai-agent/)
 * 標籤:
 * [Agents](https://tw.wordpress.org/plugins/tags/agents/)[AI](https://tw.wordpress.org/plugins/tags/ai/)
   [Claude](https://tw.wordpress.org/plugins/tags/claude/)[gpt](https://tw.wordpress.org/plugins/tags/gpt/)
   [monetization](https://tw.wordpress.org/plugins/tags/monetization/)
 *  [進階檢視](https://tw.wordpress.org/plugins/aimiles-ai-agent/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/aimiles-ai-agent/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/aimiles-ai-agent/reviews/)

## 參與者

 *   [ aimiles ](https://profiles.wordpress.org/aimiles/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/aimiles-ai-agent/)