Title: Smart AI Chatbot with OpenRouter by Jayanta
Author: jayanta77
Published: <strong>June 19, 2026</strong>
Last modified: June 19, 2026

---

Search plugins

![](https://ps.w.org/jayanta-ai-site-chatbot-with-openrouter/assets/banner-772x250.
png?rev=3578022)

![](https://ps.w.org/jayanta-ai-site-chatbot-with-openrouter/assets/icon-256x256.
png?rev=3578022)

# Smart AI Chatbot with OpenRouter by Jayanta

 By [jayanta77](https://profiles.wordpress.org/jayanta77/)

[Download](https://downloads.wordpress.org/plugin/jayanta-ai-site-chatbot-with-openrouter.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/jayanta-ai-site-chatbot-with-openrouter/#description)
 * [Reviews](https://wordpress.org/plugins/jayanta-ai-site-chatbot-with-openrouter/#reviews)
 *  [Installation](https://wordpress.org/plugins/jayanta-ai-site-chatbot-with-openrouter/#installation)
 * [Development](https://wordpress.org/plugins/jayanta-ai-site-chatbot-with-openrouter/#developers)

 [Support](https://wordpress.org/support/plugin/jayanta-ai-site-chatbot-with-openrouter/)

## Description

Smart AI Chatbot with OpenRouter by Jayanta adds a production-ready AI assistant
to your public WordPress site. It reads published public content, finds relevant
pages for each visitor question, and asks OpenRouter to answer using only that site
context.

Features:

 * Floating frontend chat widget.
 * Answers grounded in published site content.
 * Session chat history stored in the visitor browser session.
 * Admin settings for API key, model, widget copy, color, indexed post types, source
   limits, token limits, temperature, rate limits, and logs.
 * Server-side OpenRouter calls so API keys are not exposed.
 * WordPress nonce protection for chat requests.
 * Hourly per-visitor rate limiting.
 * Compact admin chat logs.
 * Manual content index rebuild.
 * Automatic scheduled index rebuild after published content changes.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin from the WordPress Plugins screen.
 3. Go to Settings > Smart AI Chatbot.
 4. Add your OpenRouter API key and choose a model.
 5. Click Rebuild Index.
 6. Visit the public site and open the floating chat button.

## FAQ

### Does the plugin include OpenRouter credits?

No. You need your own OpenRouter API key.

### Can visitors see my API key?

No. Requests are sent from the WordPress server through `admin-ajax.php`.

### Does it read private drafts or admin-only content?

No. The index uses published public post types only.

### Where is chat history stored?

Visitor conversation history is stored in browser `sessionStorage`, so it lasts 
for the current browser session.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Smart AI Chatbot with OpenRouter by Jayanta” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ jayanta77 ](https://profiles.wordpress.org/jayanta77/)

[Translate “Smart AI Chatbot with OpenRouter by Jayanta” into your language.](https://translate.wordpress.org/projects/wp-plugins/jayanta-ai-site-chatbot-with-openrouter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/jayanta-ai-site-chatbot-with-openrouter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/jayanta-ai-site-chatbot-with-openrouter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/jayanta-ai-site-chatbot-with-openrouter/)
by [RSS](https://plugins.trac.wordpress.org/log/jayanta-ai-site-chatbot-with-openrouter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **4 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[chatbot](https://wordpress.org/plugins/tags/chatbot/)
   [openrouter](https://wordpress.org/plugins/tags/openrouter/)[site search](https://wordpress.org/plugins/tags/site-search/)
   [support](https://wordpress.org/plugins/tags/support/)
 *  [Advanced View](https://wordpress.org/plugins/jayanta-ai-site-chatbot-with-openrouter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/jayanta-ai-site-chatbot-with-openrouter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jayanta-ai-site-chatbot-with-openrouter/reviews/)

## Contributors

 *   [ jayanta77 ](https://profiles.wordpress.org/jayanta77/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/jayanta-ai-site-chatbot-with-openrouter/)