WordPress plugin intelligence profile

AI Provider for Osaurus

Registers Osaurus, a local Apple Silicon LLM runtime, as a provider for the WordPress AI Client.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version0.4.2
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 7.0 · PHP 7.4
Directory statusactive
Last directory update2 Jun 20265mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records AI Provider for Osaurus version 0.4.2 as active, updated 5mo ago and tested up to WordPress 7.0.

Overview

About this plugin

0.

After activation, any plugin that calls wp_ai_client_prompt() (Gutenberg AI features, official provider plugins, third-party code) can route prompts to Osaurus running on the same machine. Prompts never leave the local network.

Why use it

  • Privacy first — prompts stay on your machine, no third-party API receives the data.
  • Zero cost — no API keys, no metered requests.
  • Fast — MLX-backed inference on Apple Silicon.
  • OpenAI-compatible wire format — streaming, tool calls, JSON output, and chat history work out of the box.

Capabilities

  • Text generation
  • Chat history
  • Function / tool calls
  • Structured JSON output
  • Streaming

Image generation, embeddings, and text-to-speech are not supported because Osaurus does not currently expose those endpoints. Pair this plugin with an image-capable provider such as the official AI Provider for OpenAI when you need images.

How it works

The plugin registers a provider with AiClient::defaultRegistry() and points it at the Osaurus HTTP server. Because Osaurus speaks the OpenAI Chat Completions wire format, the implementation extends the SDK’s OpenAI-compatible base classes — so capabilities like streaming and tool calling flow through automatically.

Configuration

The plugin resolves the Osaurus base URL in this order (first match wins):

  • OSAURUS_BASE_URL PHP constant defined in wp-config.php.
  • osaurus_ai_connector_base_url option, settable from Settings → Connectors in wp-admin.
  • Default: http://127.0.0.1:1337/v1 (works out of the box for bare-metal WordPress on the same Mac as Osaurus; Docker setups must override).

Pick the right URL for your setup

WordPress can run in many places — the right base URL depends on how it reaches your Mac, where Osaurus is listening.

  • Bare-metal WordPress on the same Mac (MAMP, Laravel Valet, Local, WordPress Studio, native PHP):

1:1337/v1 (this is the default — no configuration needed)

  • Docker-based WordPress on the same Mac (DDEV, Lando, Docker Desktop):

internal:1337/v1

  • WordPress on a different machine on your LAN, Osaurus on your Mac:

http://:1337/v1 — make sure Osaurus is bound to a non-loopback interface and your firewall allows port 1337.

  • Remote Osaurus you operate (e.g. a Mac mini on Tailscale, a colocated server):

http://:1337/v1 or https://... if you front it with TLS.

The fastest way to confirm a URL works from the WordPress host: run curl <base-url>/models from the same shell environment WordPress runs in. A JSON list back means the connector will work.

ai

ai

External services

This plugin connects to an Osaurus HTTP server — a local LLM runtime that you install and run yourself on the same machine as WordPress (or on a host you operate). The plugin is useless without it: every text-generation request from the WordPress AI Client is routed to this server.

Service: Osaurus (self-hosted, local LLM runtime)

Osaurus is an open-source Apple Silicon LLM runtime that exposes an OpenAI-compatible HTTP API. It is installed and operated by the same person running WordPress — there is no third-party service operator. This plugin forwards prompts to it so WordPress can perform text generation, chat, tool calls, and structured JSON output without sending data to any cloud provider.

ai

ai

ai.

Hosts the plugin actually contacts at runtime

The plugin sends HTTP requests only to the host and port resolved (in order) from:

  • The OSAURUS_BASE_URL PHP constant (if defined in wp-config.php ).
  • The osaurus_ai_connector_base_url WordPress option (set from Settings &rarr; Connectors ).
  • The built-in default http://127.0.0.1:1337/v1.

Two host targets are referenced by name in the plugin code as quick-pick presets and as the default:

  • 127.0.0.1:1337 — loopback on the same machine as WordPress (default). Used by bare-metal installs (Studio, MAMP, Valet, Local, native PHP).
  • host.docker.internal:1337 — Docker’s hostname for the host machine. Used by Docker-based WordPress (DDEV, Lando, Docker Desktop). Resolved by Docker, not by a public DNS server.

If the user configures a different URL, the plugin only contacts that URL. The plugin never contacts any third-party endpoint operated by the plugin author, the Osaurus project, or any other party.

What data is sent and when

  • When any plugin (including WordPress core) calls wp_ai_client_prompt() and routes through Osaurus, the plugin sends a POST to {base_url}/chat/completions with: the prompt text, the conversation history you supplied, the model ID, sampling parameters (temperature, top_p, max tokens, etc.), and any tool / function declarations or JSON schemas you supplied.
  • When an admin opens Settings &rarr; Connectors, the plugin sends a GET {base_url}/models to populate the model picker and a GET {base_root}/health to display a connection status indicator. Both run only for users with manage_options and are triggered by user actions in wp-admin.
  • No telemetry, analytics, or background requests are sent.

Terms of service and privacy policy

Osaurus is open-source software you self-host. There is no third-party service operator collecting your data. See the project pages linked above for the project’s terms and source.

If you point the plugin at a remote Osaurus server operated by someone else (for example, a Mac mini you reach over Tailscale), the operator of that server is the data recipient and is governed by whatever terms you have with them.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • local ai
  • connector
  • llm
  • osaurus
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 7.0 · PHP 7.4
Update activity2 Jun 20265mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.