Title: Aivexa
Author: Vivek Kethu
Published: <strong>2026 年 9 月 23 日</strong>
Last modified: 2026 年 9 月 23 日

---

搜索插件

![](https://ps.w.org/aivexa/assets/banner-772x250.png?rev=3708511)

![](https://ps.w.org/aivexa/assets/icon-256x256.png?rev=3708511)

# Aivexa

 作者：[Vivek Kethu](https://profiles.wordpress.org/vivek28042000/)

[下载](https://downloads.wordpress.org/plugin/aivexa.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/aivexa/#description)
 * [评价](https://cn.wordpress.org/plugins/aivexa/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/aivexa/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/aivexa/#developers)

 [支持](https://wordpress.org/support/plugin/aivexa/)

## 描述

Aivexa adds an AI assistant to your WordPress website. Visitors can ask questions,
search public site content, perform safe calculations, and more through a lightweight
chat interface.

This plugin uses the **WordPress AI Client** (`wp_ai_client_prompt()`). It does **
not** call third-party AI provider hosts directly. Provider credentials are managed
in **Settings  Connectors**.

Chat tools are registered through the **WordPress Abilities API** and executed only
when the administrator enables them.

#### How it works

Visitor  Chat UI  WordPress REST API  Agent  WordPress AI Client  Connected provider
Abilities/tools  Final response

The AI does **not** have unrestricted access to WordPress. It can only use explicitly
registered abilities that the administrator enables.

### Features

 * WordPress AI Client integration (no direct provider HTTP client in plugin code)
 * Provider credentials via Settings  Connectors
 * Tools registered as WordPress Abilities
 * Admin settings under Aivexa
 * Frontend shortcode: `[aivexa]`
 * Optional floating chat widget
 * Lightweight Gutenberg block
 * Conversation memory using transients
 * Rate limiting for anonymous users
 * Admin test interface with safe trace output
 * Privacy notice and local usage statistics
 * Graceful failure when AI is unavailable

### Configuration

 1. Configure an AI provider under **Settings  Connectors**
 2. Enable the agent in Aivexa settings
 3. Optionally set a preferred model name
 4. Customize the agent name, welcome message, and system instructions
 5. Enable the tools you want the assistant to use
 6. Configure rate limits and logging as needed
 7. Click **Test AI Connection**

### Using the Chat Assistant

Use the shortcode:

    ```
    [aivexa]
    ```

Or enable the floating widget in settings to show a site-wide chat button.

### Available Tools (Abilities)

 * **Calculator** — safe math without code execution
 * **Site Search** — search public posts and pages
 * **Post Search** — search public blog posts
 * **Page Search** — search public pages
 * **Site Information** — safe public site metadata
 * **Contact Tool** — controlled contact submission with explicit confirmation

### External services

Aivexa does not hard-code third-party AI endpoints. Requests are sent through the
WordPress AI Client to whichever AI provider the site owner connects under **Settings
Connectors**.

If you connect OpenAI (or another provider) through Connectors:

 * User messages may be sent to that provider
 * Public website content may be sent when search tools are used
 * Retention and privacy are governed by that provider and by WordPress Connectors
 * Review the provider’s current terms and privacy policy before enabling AI

This plugin is not affiliated with or endorsed by OpenAI or other AI providers.

### Privacy

#### Local WordPress retention

 * Conversation transcripts and conversation IDs are stored **locally** as WordPress
   transients for up to **24 hours**.
 * Local transients are used for session isolation, conversation continuity, optional
   admin traces, and privacy export/erase.
 * Logging is optional and disabled by default. Optional logs stay in the WordPress
   database until cleared or the plugin is uninstalled.
 * The plugin does not sell user data.
 * The plugin does not phone home or send analytics to the plugin author.

#### Provider retention

 * User messages may be sent to the connected AI provider through the WordPress 
   AI Client.
 * Deleting a local WordPress transient does **not** delete data already sent to
   a provider.
 * Configure your site privacy policy accordingly. Site owners remain responsible
   for privacy, consent, and legal compliance.

### Security

 * Provider API keys are managed by WordPress Connectors, not stored by this plugin
 * REST endpoints use nonces and permission callbacks
 * Input validation, sanitization, and output escaping throughout
 * No arbitrary code execution
 * Retrieved website content is treated as untrusted data
 * Rate limiting helps prevent abuse

### Troubleshooting

 * Confirm WordPress 7.0+ and that `wp_ai_client_prompt()` is available
 * Open **Settings  Connectors** and verify a provider is connected
 * Use **Test AI Connection** in Aivexa settings
 * Check that the agent is enabled
 * Confirm your hosting allows outbound HTTPS for the connected provider

### Developer Documentation

REST namespace: `aivexa/v1`

Endpoints:

 * `POST /wp-json/aivexa/v1/chat`
 * `POST /wp-json/aivexa/v1/clear-conversation`
 * `GET /wp-json/aivexa/v1/status`

Abilities namespace: `aivexa/*`

## 区块

该插件提供了 1 个区块.

 *   Chat

## 安装

 1. Upload the plugin ZIP via **Plugins  Add New  Upload Plugin**
 2. Activate **Aivexa**
 3. Open **Settings  Connectors** and configure an AI provider (for example OpenAI)
 4. Go to **Aivexa  Settings**
 5. Enable the agent and configure tools
 6. Add `[aivexa]` to a page or enable the floating widget

## 常见问题

### Does this store my OpenAI API key?

No. Configure providers under **Settings  Connectors**. Aivexa uses the WordPress
AI Client.

### Can the AI access my entire WordPress admin?

No. It can only use the abilities/tools you enable.

### What happens if AI is unavailable?

Visitors see a friendly error message. Your site continues to function normally.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Aivexa」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Vivek Kethu ](https://profiles.wordpress.org/vivek28042000/)

[帮助将「Aivexa」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/aivexa)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/aivexa/)，查看[SVN仓库](https://plugins.svn.wordpress.org/aivexa/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/aivexa/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/aivexa/)。

## 更新日志

#### 1.0

 * Initial public WordPress.org release as Aivexa
 * WordPress AI Client (`wp_ai_client_prompt()`), Connectors, and Abilities API
 * Activation shows an admin notice (not wp_die) when the AI Client API is unavailable
 * Shortcode `[aivexa]`, optional floating widget, and admin tools/settings

## 额外信息

 *  版本 **1.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 7.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/aivexa/)
 * 标签
 * [abilities](https://cn.wordpress.org/plugins/tags/abilities/)[AI](https://cn.wordpress.org/plugins/tags/ai/)
   [assistant](https://cn.wordpress.org/plugins/tags/assistant/)[chatbot](https://cn.wordpress.org/plugins/tags/chatbot/)
   [support](https://cn.wordpress.org/plugins/tags/support/)
 *  [高级视图](https://cn.wordpress.org/plugins/aivexa/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/aivexa/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/aivexa/reviews/)

## 贡献者

 *   [ Vivek Kethu ](https://profiles.wordpress.org/vivek28042000/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/aivexa/)