WP On-Device AI Assistant
Your AI Assistant for WordPress that works completely on device
by Nico Martin - mail@nico.dev · github.com/nico-martin/wp-ai-assistant · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nico-martin/wp-ai-assistant/archive/refs/heads/main.zipReadme
WP On-Device AI Assistant
This WordPress plugin provides an on-device AI assistant for your website. It uses the experimental Prompt API to generate text and thus provides you three main features:
The AI Assistant Block
The AI Assistant block is a block editor block that you can add to your posts and pages. It will initially show a text field where you can type your instructions. After submit, the AI will generate a response and convert the "AI Assistant Block" to a regular core/paragraph containing the newly created content.

Not yet happy with the result? Time to use the "Paragraph Rewriter" feature!
The Paragraph Rewriter
The paragraph rewriter extends the core/paragraph block with a new button in the toolbar that allows you to rewrite the paragraph using AI. Just select the text you want to rewrite, add some instructions and hit the "Rewrite" button.

So you have your perfect blogpost, but you're not sure about the title? Have a look at the "Title Generator" feature!
The Title Generator
In the Post Settings panel you will find a new meta box called "AI Assistant". Here you have a button called "Generate title suggestions". Clicking this button will generate 5 different titles based on the content of your post.
You like one of them? Just click on it, and it will be set as the post title.
You don't like any of them? Just click the button again and get 5 new suggestions.

Installation
- Upload the files and folders to the
/wp-content/plugins/wp-ai-assistantdirectory - Go to "Plugins" in your WP Admin
- Activate "WP On-Device AI Assistant"
About this project
The "WP On-Device AI Assistant" WordPress Plugin is a project by Nico Martin and is a submission for the Google Chrome Built-in AI Challenge.
It is an experimental project and should not be used in production environments.
Prompt API
It heavily relies on the Prompt API which is an experimental project by Google Chrome. The API is not stable and might change at any time.