=== AI Agent by SiteGround ===
Contributors: Hristo Sg, siteground, sstoqnov, stoyangeorgiev, elenachavdarova, ignatggeorgiev
Tags: AI, agent, connector, siteground, chatbot
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.2.3
Requires PHP: 7.4
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Manage your WordPress site with AI - create content, install plugins, and perform site management tasks effortlessly.

== Description ==

The AI Agent by SiteGround plugin lets you manage your WordPress and WooCommerce sites with an AI agent. Do more and faster site maintenance, updates, content, SEO and more WordPress tasks - on one or multiple sites - through a simple chat.


## Why get this plugin?

- Brings an AI assistant directly into your WordPress workflow to streamline site management, regardless of your WordPress level of expertise.

- Lets you manage WordPress and WooCommerce through an AI chat - the faster, simpler, smarter way.

- The AI Agent is trained on WordPress and is able to execute real, consequential tasks securely.

- It offers a centralized chat to do all tasks - no screen hopping across the admin.

- Saves you time and reduces manual work.


## 🗝️ Key Capabilities

The AI Agent for WordPress has a [wide range of capabilities](http://siteground.com/kb/ai-agent-for-wordpress/?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description), covering a large scope of WordPress and WooCommerce tasks:


### Content Management

Easily generate, edit, publish, and organize content on one site or across your entire portfolio.

- **Create or edit posts and pages**: Create, update, and delete posts and pages. Draft the actual content with AI-generated text and images.

- **Publish or unpublish content**: Control when your posts and pages go live, or save them as drafts until they're ready.

- **Add categories and tags**: Apply, update, or remove categories and tags to keep your content organized.

- **Moderate comments**: Approve, edit, or delete comments to keep discussions clean and relevant.

- **Media Library Control**: Upload, retrieve, or delete images and files with a single prompt.

- **Optimise for search engines:** audits for missing SEO meta data, generates meta for new WordPress posts and pages - SEO titles, meta descriptions, keywords, alt text and captions.

- Point it at a media library with 200+ product images, and it adds the needed metadata for each one, maintaining consistent keyword usage throughout. That’s 800+ individual fields – a week and a half of mind-numbing work, finished in an afternoon.

- **Translate content**: Translate posts, pages, or even your entire WooCommerce product catalogue into any language.

- **Perform bulk content changes across sites**: Update text, URLs, or meta data across dozens of pages on multiple sites.


### WooCommerce Management

Let the AI Agent for WordPress handle key WooCommerce tasks for your store.

- **Create and update products:** Add new listings or edit product details like price, description, labels and stock.

- **Manage inventory:** Adjust stock levels and availability across your catalog.

- **Handle orders:** View, update, cancel, or delete orders. **R**etrieve customer orders and details instantly for faster order processing and support.

- **Track store performance:** Ask the agent for sales reports, top-performing products, coupon usage, and trends for any date range.

- **Translate your product catalogue:** Expand into new markets by translating your full WooCommerce catalogue, with HTML formatting and technical specifications preserved.


### Plugins & Themes

Maintain your WordPress installation effortlessly and keep your entire site portfolio up to date at once.

- **Install or remove plugins:** Add new or clean up unused plugins in seconds.

- **Manage themes quickly:** Install, update, or delete themes with a single prompt.

- **Audit plugins and themes:** Ask for a list of all installed plugins or themes with their version numbers and update status, so you can spot outdated or unnecessary extensions.

- **Update plugins and themes across all sites:** Push updates to your entire portfolio with one command, with no separate wp-admin logins.


### Site Settings

Control your WordPress configuration through chat commands and standardize it across every connected site.

- **Update core settings:** Change site title, tagline, language, timezone, and permalink structure in one step.

- **Standardize settings across sites:** Apply the same configuration to all your connected WordPress installations instantly.


### User Management

Simplify user control and community moderation.

- **Add and manage users**: Create new accounts, reset passwords, update user details, or adjust roles and permissions.

- **Manage users across sites:** Add a new editor to all connected sites, review Admin access everywhere, or remove a user's access across your entire portfolio.


## 🛡️ Power Mode for High-Impact Actions

To protect your website from accidental or harmful changes, the AI Agent for WordPress includes a built-in safety layer called Power Mode.

Power Mode is disabled by default to ensure that high-impact actions are never executed without your explicit confirmation. When you request a potentially irreversible operation, the Agent will pause and alert you before proceeding.

Actions that require Power Mode ON include:

- **Deletions:** posts, pages, categories, tags, users, media files, plugins, themes, products, orders.

- **Bulk operations:** mass-editing post titles, updating URLs across multiple pages, mass-deleting drafts.

- **Create, edit, and delete users**

- **Updating global site settings**

- **Creating, updating, or deleting WooCommerce products and orders**

By combining AI automation with built-in safeguards, SiteGround ensures you get speed and convenience without compromising safety.


## 🌐 Manage Multiple Sites in Bulk

Connect any number of WordPress sites to SiteGround AI Studio and manage them all from a single AI-powered workspace. Turn repetitive wp-admin logins into one set of instructions that instantly runs across your connected sites.

- **Push plugin and theme updates** across your entire portfolio with one command.

- **Add or remove users** across all sites at once, onboard a new team member or revoke access when someone leaves.

- **Perform bulk content changes** such as updating text or URLs across dozens of pages on multiple sites.

- **Standardize WordPress settings** like site title or timezone across all connected sites instantly.


## 🚀 Getting Started

To start using the AI Agent for WordPress, you need to sign up for [SiteGround AI Studio](https://www.siteground.com/ai-studio?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description) and activate the AI Agent by SiteGround plugin. 

The plugin works with any WordPress site, regardless of where it is hosted. 

If your WordPress site is hosted on SiteGround servers, you can [enable the connection](https://www.siteground.com/kb/connect-ai-studio-with-wordpress/?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description) in a click. 


### What is AI Studio by SiteGround?

SiteGround [AI Studio](https://www.siteground.com/ai-studio?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description) is the connector that powers the AI Agent by SiteGround plugin with AI capabilities. 

By signing up for AI Studio you not only enable the AI Agent for WordPress, but also get a unified platform to chat with multiple LLMs: Claude, ChatGPT, Gemini, Imagen, Nano Banana, and gives you access to 14+ agents that perform different business and marketing tasks.


### How to get started? 

1. **Sign up for** [**SiteGround AI Studio**](https://www.siteground.com/ai-studio?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description)

2. Log into your WordPress admin and [**activate AI Agent by SiteGround plugin**](https://www.siteground.com/kb/use-wordpress-ai-agent-external-sites/?utm_source=wordpress\&utm_medium=plugin-directory\&utm_content=description).

3. **Paste the connection key** from your AI Studio account to link your site. 

Once connected, chat with the agent from the SiteGround’s AI Studio interface or directly inside your WordPress Admin via a built-in chat pop-up.


== External services ==

This plugin connects to SiteGround's AI Studio API (api.studio.siteground.ai) to provide AI-powered WordPress site management features. The plugin transmits data to the following endpoints:

**AI Chat Service**
- **Purpose:** Process user requests and generate AI-powered content, site management commands, and responses
- **Endpoint:** https://api.studio.siteground.ai/api/v1/* (various chat and generation endpoints)
- **Data sent:** User prompts/queries, site context (WordPress version, active plugins, theme info), content being edited
- **When:** Every time you interact with the AI assistant chat interface or use AI generation features

**Authentication & Key Management**
- **Purpose:** Securely authenticate the plugin and manage API access credentials
- **Endpoint:** https://api.studio.siteground.ai/[service]/v1/sign/token
- **Data sent:** Site URL, authentication tokens, plugin version
- **When:** During initial plugin setup, when connecting/reconnecting the service, and during automatic token refresh

**Key Refresh Service**
- **Purpose:** Periodically refresh authentication keys to maintain secure access
- **Endpoint:** https://api.studio.siteground.ai/dynamic-keys/v1/key-refresh
- **Data sent:** Current authentication credentials, site URL
- **When:** Automatically when authentication keys need renewal

**Usage Analytics**
- **Purpose:** Track feature usage and display usage statistics in the plugin dashboard
- **Endpoint:** https://api.studio.siteground.ai/api/v1/usage (analytics endpoints)
- **Data sent:** Usage metrics requests
- **When:** When viewing the plugin dashboard or usage statistics

**Access Control**
- **Purpose:** Retrieve and verify user permissions for plugin features
- **Endpoint:** https://api.studio.siteground.ai/api/v1/acl/wp-acl
- **Data sent:** User/site identification data
- **When:** During feature access verification and permission checks

**Connection Management**
- **Purpose:** Establish and terminate plugin connections to the AI Studio service
- **Endpoint:** https://api.studio.siteground.ai/api/v1/wp/wp-disconnect
- **Data sent:** Site URL, connection credentials
- **When:** When connecting or disconnecting the plugin from AI Studio service

**Service provider**: **SiteGround**
[**SiteGround Terms of Service**](https://www.siteground.com/viewtos/siteground_terms_of_service)
[**SiteGround AI Studio Terms**](https://www.siteground.com/viewtos/ai_studio_service_terms)
[**SiteGround Privacy Policy**](https://www.siteground.com/viewtos/privacy_policy)
[**SiteGround Plugins Privacy Notice**](https://www.siteground.com/viewtos/siteground_plugins_privacy_notice)

== Screenshots ==

1. The SiteGround Optimizer Dashboard Page offers a quick look at the current optimization status of your website, along with shortcuts to the relevant optimization pages.

== Changelog ==
= 1.2.3 =
Release Date June 10th, 2026
* Add prefixing for additionally loaded libraries

= 1.2.2 =
Release Date June 5th, 2026
* php-jwt dependency version update
* Changes to signing/verification keys validation process

= 1.2.1 =
Release Date June 4th, 2026
* REST responses optimizations
* Chat bubble improvements
* Contributor access improvements through plugin REST endpoints
* Implementing toggle for Gutenberg support

= 1.2.0 =
Release Date May 28th, 2026
* Chat bubble improvements
* Menus support

= 1.1.9 =
Release Date May 20th, 2026
* Add AI Image Refinement support
* Add introductory banner to chat
* Translation improvements

= 1.1.8 =
Release Date May 18th, 2026
* Add WP core AI functionalities support
* Improvements to initial connection flows

= 1.1.7 =
Release Date May 8th, 2026
* WP-CLI connection improvements

= 1.1.6 =
Release Date May 4th, 2026
* Assets improvements
* WooCommerce improvements
* Post types support

= 1.1.5 =
Release Date Apr 30th, 2026
* Code improvements

= 1.1.4 =
Release Date Apr 28th, 2026
* NEW - Chat History

= 1.1.3 =
* Latest stable release.
