=== Resolai - AI Customer Support ===
Contributors: wpreplai, thevisionofhamza
Tags: ai chatbot, customer support, support chat, live chat, helpdesk
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.14
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

An AI support agent for your website. It knows your business, answers visitors instantly and hands off to your team when it can't help.

== Description ==

Resolai adds a chat widget to your website with an AI agent that answers your visitors for you. Tell it about your business, give it a name and a few instructions, and it starts helping visitors in about two minutes.

When a question is too much for the agent, it collects the visitor's details and emails your team with a summary of the chat. Your visitors always get an answer, and your team only sees the conversations that need a person.

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

= How it works =

The agent uses **skills** to handle common requests. A skill is a short set of instructions, like how to troubleshoot a common issue, how to answer pricing questions or when to email your team. Skills load only when a visitor needs them, which keeps answers focused and AI costs low.

Start with the built in skills, pick from ready made templates or write your own in plain language.

= Features =

**Chat widget**

* Matches your brand color, with your own avatar or a preset icon
* Welcome message, greeting bubble and quick question buttons
* Visitors can read their past conversations
* Visitors can rate each chat
* Optional consent step that links to your privacy policy

**AI agent**

* Searches your own pages, posts and other content to find answers
* Reads web pages and PDFs that visitors share in the chat
* Hands off to your team by email when it can't help
* Choose from leading models by OpenAI, Anthropic, Google, DeepSeek and Meta
* Test chat in your dashboard before you go live

**Dashboard and conversations**

* Conversations, ratings, usage and AI cost at a glance
* Search and filter conversations by status
* Every conversation gets a title, its language and an AI summary
* Full transcripts that show which skills and tools the agent used

**Privacy**

* Conversations are stored in your own WordPress database
* Delete conversations one by one, in bulk or automatically after a set time
* No credit link on your site unless you turn it on

= You need an OpenRouter API key =

Resolai uses [OpenRouter](https://openrouter.ai/) to get its AI replies. You add your own API key during setup and pay OpenRouter directly for what you use. There is no markup and no subscription to Resolai. Most conversations cost a fraction of a cent.

= Premium =

Premium is a separate, optional plugin sold on [wpreplai.com](https://wpreplai.com/). It adds custom and translatable widget text, more skill templates and an email step before the chat starts. Resolai works fully without it.

Resolai is made by the team at [wpreplai.com](https://wpreplai.com/).

== Other Products ==

Also check out our other WordPress products.

- [BerqWP](https://berqwp.com/) – All-in-One WordPress performance plugin.
- [ElizaWP](https://elizawp.com/) – SEO MCP for AI agents that researches, writes and publishes for WordPress.
- [CanvoWP](https://canvowp.com/) – Completely free Agent-first website builder plugin. No blocks, no bloat.
- [Berq Markdown](https://wordpress.org/plugins/berq-markdown/) – Automatically generate markdown version of web pages for AI agents.
- [Berq Used CSS](https://wordpress.org/plugins/berq-used-css/) – Remove unused CSS automatically.
- [Camouflage Security](https://wordpress.org/plugins/camouflage/) – Static WordPress Firewall and PHP Isolation.
- [Barlapse](https://wordpress.org/plugins/barlapse/) – Fix admin bar overflow issue in WordPress admin panel.
- [Seenli BLocks](https://wordpress.org/plugins/seenli-blocks/) – Conditional display blocks for logged in users & user roles.

== External services ==

Resolai connects to the services below. Nothing is sent until you add an OpenRouter API key.

= OpenRouter =

OpenRouter provides the AI models that write the agent's replies.

* When a visitor sends a message, the conversation so far, your agent's instructions, your business details and any skills the agent loads are sent to OpenRouter to get a reply.
* After a conversation starts, it is sent once more to write its title, detect its language and write a summary for your dashboard.
* When you add your API key, it is checked with OpenRouter.
* The dashboard asks OpenRouter how much credit is left on your key.

OpenRouter [terms of service](https://openrouter.ai/terms) and [privacy policy](https://openrouter.ai/privacy).

= Web pages and PDFs =

When a visitor shares a link, or a skill points to a page, the agent can open that web page or PDF to answer. The request goes straight to that address. Only the address is requested, no visitor data is sent with it.

== Installation ==

1. Go to Plugins, Add New Plugin and search for Resolai.
2. Install and activate it. The setup opens automatically.
3. Add your OpenRouter API key, tell the agent about your business and choose its name and look.
4. Try the test chat, then switch the widget on. It appears on every page of your site.

== Frequently Asked Questions ==

= Is Resolai free? =

Yes. The plugin is free and fully working. You only pay OpenRouter for the AI usage on your own account.

= How much does the AI cost? =

It depends on the model you choose and how long the conversations are. Most conversations cost a fraction of a cent. The dashboard shows your cost per conversation and the credit left on your OpenRouter key.

= Which AI models can I use? =

You can choose from models by OpenAI, Anthropic, Google, DeepSeek and Meta, all served through OpenRouter. You can switch models at any time in Settings.

= Can visitors talk to a person? =

Yes. When the agent can't help, it asks for the visitor's email and sends your team the request with a summary of the conversation.

= Where are conversations stored? =

In your own WordPress database. They never leave your site except when they are sent to OpenRouter to write a reply, a title or a summary.

= Can I ask visitors for consent first? =

Yes. Turn on Require consent in Settings, Privacy and data. Visitors then agree to your privacy policy before they can chat.

= Does the agent speak other languages? =

Yes. It replies in the language the visitor writes in, and the dashboard shows the language of each conversation.

= How do I change the look of the widget? =

Pick your brand color and avatar in Settings, Chat widget. For anything more, add your own styles in Appearance, Customize, Additional CSS, or in the Styles panel of the Site Editor. The widget sits inside `#wpreplai-root`.

= Will it slow down my site? =

The widget loads one small script and stylesheet at the bottom of the page, without any third party scripts. AI replies are fetched only when a visitor sends a message.

= What does Premium add? =

Custom and translatable widget text, more skill templates and an email step before the chat starts. Premium is a separate plugin from wpreplai.com. The free plugin never installs it for you.

== Screenshots ==

1. The chat widget on your website.
2. The dashboard with conversations, ratings and AI cost.
3. Conversation list.
4. Every conversation with its status, summary and full transcript.
5. Skills tell the agent how to handle common requests.
6. Settings for your agent, AI model, chat widget and privacy.
7. Setup takes four quick steps.

== Changelog ==

= 1.2.14 =
* New dashboard page with conversations, tickets, handoffs, average rating and tickets resolved by the AI agent
* The dashboard also shows your AI cost and token usage
* The conversation list now shows each chat's title, status, language, number of messages, rating and total cost
* New conversation page with the full chat, an AI summary and the page where the chat started
* Change a conversation's status and export its transcript
* Choose a preset icon for your agent's avatar
* Add common questions that the chat suggests to visitors
* Data retention deletes old conversations automatically after the number of days you choose
* Visitors can read their past conversations in the chat widget
* The "Powered by" credit link is now off by default and can be turned on in Settings
* Removed the custom CSS setting. Use Additional CSS in the Customizer instead
* Premium is now a separate plugin that you download from your wpreplai.com account and install yourself. It adds editable widget text and a visitor email step

= 1.2.13 =
* New design for setup, the dashboard, conversations, skills, settings and the chat widget
* Conversation status, titles, language detection and AI summaries
* Usage and cost tracking per conversation
* Data retention settings

== Upgrade Notice ==

= 1.2.14 =
The credit link is now off by default and the custom CSS setting was removed. Move any custom styles to Appearance, Customize, Additional CSS.
