AI Provider for Anthropic
This plugin provides Anthropic integration for the PHP AI Client SDK. It enables WordPress sites to use Anthropic’s Claude models for text generation and other AI capabilities. Features: Text generation with Claude models Function calling support Extended thinking support Automatic provider registra
This plugin provides Anthropic integration for the PHP AI Client SDK. It enables WordPress sites to use Anthropic’s Claude models for text generation and other AI capabilities.
Features:
- Text generation with Claude models
- Function calling support
- Extended thinking support
- Automatic provider registration
Available models are dynamically discovered from the Anthropic API, including Claude models for text generation with multimodal input support.
Requirements:
- PHP 7.4 or higher
- For WordPress 6.9, the wordpress/php-ai-client package must be installed
- For WordPress 7.0 and above, no additional changes are required
- Anthropic API key
- 01Upload the plugin files to /wp-content/plugins/ai-provider-for-anthropic/
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Configure your Anthropic API key via the ANTHROPIC_API_KEY environment variable or constant
Frequently asked questions.
How do I get an Anthropic API key?
Visit the Anthropic Console to create an account and generate an API key.
Does this plugin work without the PHP AI Client?
No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the Anthropic-specific implementation that the PHP AI Client uses.