Chagency
Chagency is built directly on the AI Client that shipped in WordPress 7.0: wp_ai_client_prompt(), Connectors, and the Abilities API. Every prompt flows through WordPress core, every provider is a Connector you already configured under Settings → Connectors, and the assistant can call the abilities your site registers. That last part is what makes it an agent rather than a chat box. Tick the abilities you want it to reach, and the model can use them mid-conversation to answer you: WordPress converts each one into a tool the model understands, runs it, and checks that ability’s own permissions first. Ask “what’s my site running on?” and it goes and looks, instead of guessing. It runs in the WordPress admin and, when you turn it on, on every page of your public site. The name (chat + ai + ency) is meant as a small bridge between the new AI primitives shipped with WordPress and the broader world of chat and agents. 🪨 Built on WordPress, period Chagency relies entirely on what WordPress 7 ships in core: wp_ai_client_prompt(), the AI Client API. using_abilities() and WP_AI_Client_Ability_Function_Resolver, core’s own tool-calling bridge. wp_get_connectors(), the Connectors API. wp_register_ability() / wp_get_ability() / wp_get_abilities(), the Abilities API. @wordpress/components, @wordpress/element, @wordpress/boot, the Gutenberg toolkit. That is the entire dependency surface. No bundled AI vendor SDKs, no third-party JavaScript libraries beyond the Gutenberg stack, no telemetry, no phone-home. The plugin stays small on purpose: fewer moving parts means less friction, fewer security holes, less to break when WordPress, browsers, or providers change. You will need at least one AI provider plugin (e.g. AI Provider for Anthropic, AI Provider for Google, AI Provider for OpenAI) to talk to a model. That is WordPress 7’s architecture: providers are separate plugins that register a Connector. They are not a Chagency dependency. 💡 Tip: For the smoothest setup, install AI Engine. It registers every AI provider it manages as a Connector, so a single configuration covers all your WordPress 7 AI plugins (including Chagency). Every request then flows through one clean, unified system. 🪄 What you get A floating chat panel pinned to the bottom-right of every page (admin and / or public site, controlled by two independent toggles). A single settings page under Settings → Chagency, with the bare minimum: where to show the chatbot, the chat title, the greeting, the system instruction, the model preference, and which abilities the assistant may use. Abilities, opt-in one by one. Every ability registered on your site (by core, by Chagency, by any other plugin) can be handed to the assistant, and each call is shown under the reply so you can see what it actually did. Live updates: flipping a toggle in Settings shows or hides the launcher immediately on the same page, no reload needed. Per-provider Test buttons that fire a canary prompt and report round-trip time. Conversation persistence in your browser’s localStorage, scoped per user. Failures explained in plain words (rejected key, rate limit, provider down, conversation too long) with a Try again button, so a hiccup never costs you what you typed. Placeholder expansion ({user_name}, {site_name}, {current_page}, {current_url}, {user_role}, {site_url}) so the assistant always knows who and where it is. Exposed as an Ability (chagency/send-message) so other plugins, MCP clients, and AI agents can invoke Chagency directly. 🚀 Getting started Install and activate Chagency. Install and configure at least one AI provider plugin under Settings → Connectors (we recommend AI Engine, which exposes all its providers as Connectors at once). Click the chat launcher in the bottom-right of any admin page and start talking. Want it on the public site too? Open Settings → Chagency and flip the second toggle. 🙋 Frequently Asked Questions Why “Chagency”? It’s a portmanteau of chat, AI, and a bit of agent. Not “agency” in the sense of a marketing shop. The plugin starts as a minimal chatbot for the new WordPress 7 AI framework and grows alongside the Abilities API into a true agent. Does it need WordPress 7? Yes. It uses wp_ai_client_prompt(), wp_get_connectors(), and the Abilities API, all added in WordPress 7.0. On older versions it refuses to boot and tells you why. WordPress 7.1 is recommended. How do abilities work, and is it safe? Open Settings → Chagency, turn on Let the assistant use abilities, then tick the ones you want to allow. Nothing is allowed by default. Three things keep it tight. Only the abilities you ticked are ever offered to the model. WordPress runs each ability itself and checks that ability’s own permission_callback for the person chatting, so the assistant can never do more than that user could. And abilities are admin-only: the public widget never gets them, even when you turn the public site on. Each reply lists the abilities it used, so nothing happens off-screen. Which abilities can it use? Whatever is registered on your site. WordPress ships core/get-site-info, core/get-user-info and core/get-environment-info, and any plugin can register more. They all show up in the list. Which AI providers are supported? Whatever you configure under Settings → Connectors. Chagency is provider-agnostic. Anthropic, Google, OpenAI, or any third-party Connector are treated equally. Can visitors on the front end use it? Yes. Open Settings → Chagency and turn on Show on the public site. The chat then appears for every visitor, signed in or not. Does it store my conversations? No. Conversations live only in your own browser (localStorage, per user). Hit Reset in the panel to clear them. Nothing is stored server-side. Can I use it as a building block in my own plugin? Yes. The chagency/send-message Ability is registered on wp_abilities_api_init and can be called with wp_get_ability( 'chagency/send-message' )->execute( array( 'message' => '...' ) ). Source code The unminified React / JavaScript source is shipped inside the plugin folder under src/, alongside the compiled output in build/. Public source repository: https://github.com/jordymeow/chagency To rebuild from source: pnpm install && pnpm run build The build is @wordpress/scripts (webpack) with no custom plugins or transforms.
Top keywords
- ai22×2.13%
- wordpress20×1.94%
- abilities17×1.65%
- chagency16×1.55%
- site11×1.06%
- wp11×1.06%
- ability10×0.97%
- settings9×0.87%
- chat8×0.77%
- connectors8×0.77%
- provider8×0.77%
- api7×0.68%
AI Agent by SiteGround
The AI Agent by SiteGround plugin enables an AI agent for your WordPress and WooCommerce instances, and activates SiteGround AI connector for WordPress. Why get this plugin? Brings an AI agent directly into your WordPress workflow to assist you in streamlining site management. Regardless of your WordPress level of expertise, you can simply describe what you want in a chat and the AI agent will do it for you. 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. It also enables SiteGround AI connector for WordPress, which means you can use native AI functionalities through AI Studio. SiteGround customers get free monthly tokens. 🗝️ Key Capabilities The AI Agent for WordPress has a wide range of capabilities, 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. Builds navigation menus, organizes page structure and hierarchy. It handles successfully complete taxonomy restructures – merging categories, creating new hierarchies, and reassigning posts to different tags. 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. Retrieve 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. ✨ AI Connector The plugin also enables SiteGround AI as an AI connector for your WordPress. SiteGround AI is a multi-model AI service that intelligently routes each task to the best-suited LLM, optimizing for output quality and cost efficiency. It powers WordPress AI features, including text, image, and code generation, translation, research, analysis, and more. It orchestrates several models – Gemini, Nano Banana, ChatGPT, GPT-Image, Claude – and automatically selects the best one for each job. Install the AI Agent by SiteGround plugin, create a free account for SiteGround AI Studio service, and the connector activates automatically. No API key is needed to activate. In the plugin you have separate settings to activate and deactivate the SiteGround AI Connector separately from the AI agent. If you deactivate the Connector it will stop powering up AI features in the WP admin, enabled by the AI plugin. Disconnecting the SiteGround AI Connector will not affect the work of the AI agent – it will remain active until you disable this plugin entirely. Learn More. 🚀 Getting Started To start using the AI Agent for WordPress, you need to sign up for SiteGround AI Studio 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 in a click. What is AI Studio by SiteGround? SiteGround AI Studio 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? Sign up for SiteGround AI Studio Log into your WordPress admin and activate AI Agent by SiteGround plugin. 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 SiteGround AI Studio Terms SiteGround Privacy Policy SiteGround Plugins Privacy Notice