OpenCode AI Provider

Апісанне

This plugin provides OpenCode Zen integration for the PHP AI Client SDK. It enables WordPress sites to use OpenCode Zen’s curated, developer-optimized LLMs (such as DeepSeek models) for coding and text generation.

Features:

  • Text generation with OpenCode Zen models
  • Function calling support
  • Web search support
  • Automatic provider registration

Available models are dynamically discovered from the OpenCode Zen API /models endpoint.

Requirements:

  • PHP 7.4 or higher
  • WordPress AI Client plugin installed and activated
  • OpenCode Zen API key

Privacy Policy

See the OpenCode privacy policy: https://opencode.ai/legal/privacy-policy

Terms of Use

See the OpenCode terms of service: https://opencode.ai/legal/terms-of-service

Screenshots

Ўсталёўка

  1. Upload the plugin files to /wp-content/plugins/opencode-ai-provider/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure your OpenCode Zen API key via the OPENCODE_API_KEY environment variable or constant

Часта задаваныя пытанні

How do I get an OpenCode Zen API key?

Visit opencode.ai 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 OpenCode Zen specific implementation that the PHP AI Client uses.

Водгукі

На гэты плагін няма водгукаў.

Удзельнікі і распрацоўшчыкі

“OpenCode AI Provider” is open source software. The following people have contributed to this plugin.

Удзельнікі

Перакласці “OpenCode AI Provider” на вашу мову.

Зацікаўлены ў распрацоўцы?

Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.

Журнал змяненняў

1.0.0

  • Initial release
  • Support for OpenCode Zen coding text generation models