LatentKit

WordPress

Connect WordPress AI features to your LatentKit route.

LatentKit AI Provider lets WordPress AI features use the route assigned to your LatentKit app. WordPress sees one logical latentkit-route model while LatentKit selects the live provider and model, applies fallback, and records usage.

Version 0.1.0 is under WordPress.org review and is not searchable from Plugins → Add New yet. During review, install only an official ZIP supplied by LatentKit. After approval, this page will link directly to the directory listing.

What the plugin provides

  • Text generation for features built on the official WordPress AI plugin
  • Server-side LatentKit authentication
  • A Settings → LatentKit status page
  • Assigned route and ordered model visibility
  • The provider and model that handled the latest request
  • Request IDs in errors for easier support and debugging

The plugin supplies an AI provider. It does not add a separate editor, auto-publishing workflow, analytics product, or WooCommerce content generator.

Requirements

  • WordPress 7.0 or later
  • PHP 8.1 or later
  • The official WordPress AI feature plugin
  • A LatentKit app API key with a published route

If WordPress AI is missing, the LatentKit provider remains unavailable and an admin notice shows the required install or activate action.

Install during review

If you received the official test ZIP:

  1. Open Plugins → Add Plugin → Upload Plugin.
  2. Choose the LatentKit ZIP and select Install Now.
  3. Activate LatentKit AI Provider.
  4. Follow the admin notice if WordPress AI still needs to be installed or activated.

Once the WordPress.org listing is approved, installation will use the normal Plugins → Add New search flow.

Connect your LatentKit app

Add the key through the WordPress AI credentials screen. For sites that manage secrets in server configuration, add it to wp-config.php instead:

define('LATENTKIT_API_KEY', 'lk_...');

Keep the key out of themes, browser JavaScript, HTML, screenshots, and client logs.

Verify the connection

Open Settings → LatentKit. A working connection shows:

  • the connected workspace and app;
  • remaining credits;
  • the assigned route and its models; and
  • the provider/model that handled the latest request, when available.

The latest model is activity from the most recent request, not a permanently selected model. Your route may choose another eligible model or use fallback on the next request.

Use Change route in LatentKit to edit routing in the LatentKit console. The WordPress API key can inspect its route but cannot change it.

Use it with WordPress AI

Open a WordPress feature that supports the official AI provider system and select LatentKit when a provider is requested. The first release supports non-streaming text generation and multi-turn text history.

Images, embeddings, streaming, tool calling, and WooCommerce-specific features are not included in version 0.1.0.

Data and privacy

When an authorized WordPress user runs an AI feature, the plugin sends the prompt and supported generation settings to LatentKit. It does not add the site URL, site title, administrator email, or unrelated telemetry.

Review the privacy policy and terms before connecting a production site.

On this page