{"id":344632,"date":"2026-07-29T00:11:47","date_gmt":"2026-07-29T00:11:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-provider-for-opencode\/"},"modified":"2026-07-29T00:11:27","modified_gmt":"2026-07-29T00:11:27","slug":"opencode-ai-provider","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/opencode-ai-provider\/","author":15029042,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.2","requires":"6.9","requires_php":"7.4","requires_plugins":null,"header_name":"OpenCode AI Provider","header_author":"FahimMurshed","header_description":"OpenCode AI Provider for the WordPress AI Client.","assets_banners_color":"353955","last_updated":"2026-07-29 00:11:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/murshed\/opencode-ai-provider","header_author_uri":"https:\/\/fahimm.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":33,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"fahimmurshed","date":"2026-07-29 00:11:27"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3626541,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3626541,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3626541,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3626541,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3626541,"resolution":"1","location":"assets","locale":"","width":800,"height":600},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3626541,"resolution":"2","location":"assets","locale":"","width":800,"height":600}},"screenshots":[]},"plugin_section":[],"plugin_tags":[2353,5739,25308,261513,4037],"plugin_category":[],"plugin_contributors":[144109],"plugin_business_model":[],"class_list":["post-344632","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-artificial-intelligence","plugin_tags-connector","plugin_tags-opencode","plugin_tags-zen","plugin_contributors-fahimmurshed","plugin_committers-fahimmurshed"],"banners":{"banner":"https:\/\/ps.w.org\/opencode-ai-provider\/assets\/banner-772x250.jpg?rev=3626541","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/opencode-ai-provider\/assets\/icon.svg?rev=3626541","icon":"https:\/\/ps.w.org\/opencode-ai-provider\/assets\/icon.svg?rev=3626541","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/opencode-ai-provider\/assets\/screenshot-1.png?rev=3626541","caption":""},{"src":"https:\/\/ps.w.org\/opencode-ai-provider\/assets\/screenshot-2.png?rev=3626541","caption":""}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Text generation with OpenCode Zen models<\/li>\n<li>Function calling support<\/li>\n<li>Web search support<\/li>\n<li>Automatic provider registration<\/li>\n<\/ul>\n\n<p>Available models are dynamically discovered from the OpenCode Zen API <code>\/models<\/code> endpoint.<\/p>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>PHP 7.4 or higher<\/li>\n<li>WordPress AI Client plugin installed and activated<\/li>\n<li>OpenCode Zen API key<\/li>\n<\/ul>\n\n<h3>Privacy Policy<\/h3>\n\n<p>See the OpenCode privacy policy: https:\/\/opencode.ai\/legal\/privacy-policy<\/p>\n\n<h3>Terms of Use<\/h3>\n\n<p>See the OpenCode terms of service: https:\/\/opencode.ai\/legal\/terms-of-service<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/opencode-ai-provider\/<\/code><\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure your OpenCode Zen API key via the <code>OPENCODE_API_KEY<\/code> environment variable or constant<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20get%20an%20opencode%20zen%20api%20key%3F\"><h3>How do I get an OpenCode Zen API key?<\/h3><\/dt>\n<dd><p>Visit <a href=\"https:\/\/opencode.ai\">opencode.ai<\/a> to create an account and generate an API key.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20without%20the%20php%20ai%20client%3F\"><h3>Does this plugin work without the PHP AI Client?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Support for OpenCode Zen coding text generation models<\/li>\n<\/ul>","raw_excerpt":"OpenCode AI Provider for the PHP AI Client SDK.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/344632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=344632"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fahimmurshed"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=344632"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=344632"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=344632"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=344632"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=344632"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=344632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}