=== Replyan AI – AI Chatbot, Customer Support & AI Agents ===
Contributors: aninostephen
+Tags: ai, chatbot, openai, claude, gemini, openrouter
Requires at least: 6.0
Tested up to: 7.0.3
Requires PHP: 7.4
Stable tag: 1.1.5
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI chatbot for WordPress with OpenAI, Claude, Gemini, and OpenRouter support. Use your own API keys.

== Description ==

**Replyan AI** is a powerful AI Chatbot for WordPress that helps businesses automate customer support, answer visitor questions, generate leads, recommend products, schedule appointments, and deliver intelligent human-like **conversations 24/7** using today's leading AI models.

Stop worrying about replying to every customer manually. Whether you're sleeping, working, or away from your computer, Replyan AI keeps engaging your visitors with natural, human-like conversations, so you never miss an opportunity to answer questions, capture leads, convert visitors into customers, or hand conversations to a real person when needed.

Unlike traditional chatbot plugins that rely on predefined replies, Replyan AI understands natural language, remembers conversation context, and can learn from your own website content using AI-powered Knowledge Base (RAG). This allows your AI agents to answer questions based on your WordPress website instead of generic AI knowledge.

Create multiple AI agents for Customer Support, Sales, Product Recommendations, Appointment Booking, HR, Billing, Technical Support, FAQs, Receptionists, and any business workflow without writing a single line of code.

Plus, you can seamlessly transition to human support and take over any conversation instantly using the built-in Live Chat (Real-Time Chat Interface) directly inside the plugin.

Simply connect your own OpenAI, Claude, Gemini, or OpenRouter API key, choose your preferred AI model, and stay in complete control of your AI provider, API usage, and costs.


### Why Choose Replyan AI?

✅ **Never Miss a Customer Again**
Replyan AI responds instantly to visitors 24/7 with natural, human-like conversations, helping you engage potential customers even when you're offline or busy.

✅ **Stress-Free Customer Support**
Forget spending hours replying to repetitive questions. Let Replyan AI handle common inquiries automatically while you focus on growing your business.

✅ **Human-Like Conversations**
Powered by advanced AI models, Replyan AI delivers natural, friendly, and intelligent responses that create a better customer experience.

✅ **Bring Your Own AI Provider**
Connect your own OpenAI, Claude, Gemini, or OpenRouter API keys. You're never locked into a single AI provider and always stay in control of your API usage and costs.

### Features

* 🤖 Multiple AI Providers (OpenAI, Claude, Gemini, OpenRouter)
* 🧠 Multiple AI Agents with Unique Personalities
* 💬 Live Chat module.
* 💬 Floating AI Chat Widget
* 🎨 Fully Customizable Chat Widget
* 🧠 Context-Aware Conversations
* 💬 Human-Like AI Responses
* 📈 Lead Generation & Contact Collection
* 📜 Conversation History
    * Visitor Notes
    * Lead Forms
    * AI Conversation Insights Summaries
* 👨‍💼 Live Agent Takeover
* 📚 AI Knowledge Base (RAG)
    * WordPress Posts
    * WordPress Pages
    * WooCommerce Products
    * Custom Post Types
* 📜 Dynamic Forms
    * Create Appointment form
    * Create Lead form
    * Create Feedback form
    * Etc..
* ⚡ Easy Setup & Configuration
* 🔒 Bring Your Own AI Provider & API Keys
* 🌐 Supports the Latest AI Models

Learn how to set up Replyan AI, connect your AI provider, create an AI agent, and test the chatbot widget.

https://www.youtube.com/watch?v=Nkmdc1EBTSI

== Use Cases ==

# Replyan AI Use Cases

- **Customer Support** – Automatically answer frequently asked questions about your business, products, services, pricing, shipping, refunds, business hours, and contact information.

- **Knowledge Base Assistant** – Train AI agents using your company knowledge base, documentation, FAQs, and policies to provide accurate answers.

- **Online Course Assistant** – Assist students by answering questions about lessons, assignments, schedules, and course materials.

- **Healthcare Information Assistant** – Provide general information about your clinic, healthcare services, doctors, appointment procedures, and operating hours.

- **Real Estate Assistant** – Help visitors search properties, answer listing inquiries, explain financing options, and schedule property viewings.

- **Logistics & Freight Assistant** – Answer questions about shipping services, customs clearance, warehousing, freight forwarding, cargo tracking, and delivery schedules.

- **Restaurant Assistant** – Help customers with reservations, menu information, opening hours, promotions, delivery options, and frequently asked questions.

- **Hotel Concierge** – Assist guests with room availability, hotel amenities, check-in and check-out information, reservations, and local recommendations.

- **Financial Services Assistant** – Answer frequently asked questions about banking, loans, insurance, investments, account opening, and financial products.

- **SaaS Product Assistant** – Guide users through your software features, pricing plans, integrations, onboarding, tutorials, and troubleshooting.

- **Technical Support Assistant** – Provide instant answers using your technical documentation, user manuals, API references, and troubleshooting guides.

- **Lead Generation Assistant** – Qualify visitors by collecting contact information such as name, email, phone number, company, and inquiry details before handing them to your sales team.

- **Live Agent Support** – Seamlessly transfer conversations from AI to a human support agent whenever manual assistance is required.

- **Multi-Department AI Agents** – Create dedicated AI agents for different departments such as Sales, Customer Support, HR, Billing, Marketing, and Technical Support.

- **AI Receptionist** – Welcome website visitors, answer common questions, and intelligently route them to the appropriate department or human representative.

- **Appointment Booking Assistant** – Help visitors schedule consultations, meetings, demos, or appointments while answering common scheduling questions.

- **Product Recommendation Assistant** – Recommend products or services based on customer needs, preferences, and frequently asked questions.

- **Event Information Assistant** – Provide attendees with event schedules, speakers, venue information, registration details, and frequently asked questions.

- **Portfolio & Agency Assistant** – Help potential clients learn about your services, showcase your portfolio, answer project inquiries, and collect leads.

- **Membership Website Assistant** – Assist members with account information, subscription details, available content, and membership benefits.

- **Government & Public Information Assistant** – Provide citizens with information about services, requirements, office hours, forms, and frequently asked questions.

- **Internal Employee Assistant** – Help employees quickly access company policies, internal procedures, HR information, and operational documentation.

== Embedded AI Assistant (Shortcode) ==

A page-specific AI assistant.

Example:
On a Pricing page: "Do you have questions about our pricing plans?"

On a Product page: "Ask me anything about this product."

On a Documentation page: "Need help understanding this API?"

== External Services ==

Replyan AI requires an API key from one of the supported AI providers, supplied by the site owner. Supported providers currently include OpenAI, Anthropic Claude, Google Gemini, and OpenRouter.

These services are used to generate AI-powered responses for website visitors.

= What data is sent and when =

When a visitor submits a message through the chat widget, the plugin sends the following information to the selected AI provider:

* The user's message.
* Previous conversation context, if enabled, to improve response quality.
* The selected model identifier and request parameters.

Requests are made only when:

* A visitor submits a message through the chat widget.
* An administrator uses the test connection or test agent features.

No requests are sent automatically without user interaction.

= OpenAI =

Service purpose:
Generate AI responses using OpenAI models.

Terms of Service:
https://openai.com/policies/terms-of-use/

Privacy Policy:
https://openai.com/policies/privacy-policy/

= Anthropic =

Service purpose:
Generate AI responses using Claude models.

Terms of Service:
https://www.anthropic.com/legal/consumer-terms

Privacy Policy:
https://www.anthropic.com/legal/privacy

= Google Gemini =

Service purpose:
Generate AI responses using Google Gemini models.

Terms of Service:
https://policies.google.com/terms

Privacy Policy:
https://policies.google.com/privacy

= OpenRouter =

Service purpose:
Provide access to multiple AI models through a unified API.

Terms of Service:
https://openrouter.ai/terms

Privacy Policy:
https://openrouter.ai/privacy

== Changelog ==

= 1.1.5 (September 4, 2026) =
* Fix: Frontend chat widget fix the style become background transparent.

= 1.1.4 (September 4, 2026) =
* Fix: Isolated frontend chat widget styles to prevent conflicts with WordPress themes, fixing distorted action buttons, hidden icons, and textarea layout.

= 1.1.3 (August 26, 2026) =
* Fix: fix has been implemented to ensure full backward compatibility with older PHP versions

= 1.1.2 (August 22, 2026) =
* fix: Agent update issue is database migration version check
* Enhance: AI agent intent enhancement.

= 1.1.1 (August 15, 2026) =
* Fix: General settings don't save when other tabs have no value.
* Fix: Fix live chat reset loading state

= 1.1.0 (August 14, 2026) =
* Agent takeover is on free tier.
* Feature: on live chat added feature Content Navigator.

= 1.0.10 (August 13, 2026) =
* Fix: added hash in build output for caching purpose

= 1.0.9 (August 12, 2026) =
* Feature: Added users able to send images in the chat both admin and users.
* Feature: Added notification sounds for new messages and replies.

= 1.0.8 (August 9, 2026) =
* fix: General settings fix the save form.
* fix: build config fix.
* fix: notification indicator in messages.

= 1.0.7 (August 6, 2026) =
* Feature: Added AI Knowledge Base & Context Awareness (RAG) with semantic chunking and vector search.
* Feature: Full indexing support for WordPress Posts, Pages, WooCommerce Products, and Custom Post Types (CPT).
* Feature: Granular CPT Field Configuration drawer for custom fields, ACF, and taxonomies.
* Feature: Added Direct Permalink / URL indexing toggle so AI agents can provide clickable links to website content.
* Feature: Added AI optimization for instructions in AI Agents.
* Feature: Added instruction templates in AI Agents.

= 1.0.6 (July 29, 2026) =
* Feature: Dynamic Forms & AI Intent Engine for automatic Appointment, Lead, and Feedback form triggers.
* Feature: Non-blocking background lead extraction to capture contact details from natural conversation.
* Feature: Live Human Agent Takeover to intercept and manage ongoing chatbot conversations.

= 1.0.5 (July 26, 2026) =
* Feature: AI Conversation Insights with sentiment analysis, summaries, and visitor notes.
* Feature: Multi-provider support for OpenAI, Anthropic Claude, Google Gemini, and OpenRouter.
* Feature: Added Discord Community and updated Tutorial links in Support page.
* Improvement: Fixed admin drawer and modal z-index layering with the WordPress top admin bar.
* Improvement: Optimized vector indexing batching, content sanitization, and database performance.

= 1.0.0 =
* Initial release of Replyan AI.

== Frequently Asked Questions ==

= Do I need an AI Provider API Key? =
Yes, you will need your own API key from OpenAI, Antrophic, Gemini and OpenRouter for the chatbot to generate responses.

= Will this slow down my website? =
No! The frontend chat widget is extremely lightweight and loaded efficiently.
