Support Agent
PHP // WEBSITE CHAT
An AI chat assistant that runs on your own hosting and answers only from facts you write. Switch between AI providers — including free ones — from an admin page. When it cannot answer, it puts a real email in your inbox instead of guessing.
It is running on this page, bottom right. Ask it about this product.
What makes it different
It cannot make things up
The assistant is given your facts file and told to answer from nothing else. Ask about a price you never wrote down and it says so, then offers to pass you to a person — instead of inventing a number a customer will hold you to.
Any provider, including free
Nine providers in a dropdown: Anthropic, Groq, Cloudflare Workers AI, Mistral, OpenAI, Google Gemini, Cerebras, OpenRouter and Hugging Face. Each one lists its free tier, its limits, whether it trains on your data and where that data goes.
It never dead-ends
If the provider is down, rate-limited or out of free allowance, a second provider takes over; if that fails too, your own FAQ answers do. A visitor always gets a reply.
Spending you control
Caps per visitor, per day, and on what you spend per day. Past a cap it answers from the FAQ rather than billing you. The admin page shows the week’s usage and cost.
One script tag
Plain PHP and one JavaScript file. No framework, no build step, no npm, no database server. Upload it, edit one config file, add a <script> tag.
Keys and data stay yours
Your API key lives in a file outside the web root; the admin page never shows it. Conversations are not stored — only the messages a visitor chooses to send you, kept outside the web root too.
Installing it
-
Upload
Copy the
support/folder into your web root. -
Fill in your details
One config file: name, site, the email that receives messages, and an admin password.
-
Write your facts
Put what the assistant may say in
knowledge.md, and fallback answers infaq.php. -
Pick a provider
Add a key, choose a model in the admin page, press Test, then Save. Or run it with no AI at all.
About fifteen minutes on ordinary shared hosting. The guide in the download covers nginx, permissions and troubleshooting.
Get the Support Agent
€79
one-time
- One website you own, or run for a client
- Modify it freely
- Charge that client for installing it
€249
one-time
- Everything in Standard
- Use in one product your own customers pay for
- For a SaaS, a hosted offering or a paid add-on
Paid in SOL on the Solana network. You get the exact amount and the address at checkout, and the download immediately after the payment confirms. Neither licence allows reselling the software itself. AI provider accounts and their costs are yours; the assistant works without any provider too.
Requirements
- PHP 8.1 or newer
- The curl, pdo_sqlite and mbstring extensions
- Apache or LiteSpeed (nginx rules included)
- A writable folder outside your web root
- HTTPS on your site
- No database server, no Node, no npm
What it costs to run
Nothing, if you pick a free option: Cloudflare Workers AI gives a daily free allowance, and Groq has a free plan that permits production use and does not train on your data. Both are in the dropdown with their limits spelled out.
On a paid provider, a few hundred conversations a month costs roughly the price of a coffee. The daily spend cap is yours to set, and the admin page shows what has been spent.
Some free tiers train on what visitors type, and one forbids free use for EU visitors entirely. The admin page says which, per provider, so you can choose with that in front of you.
Questions
Do I need an AI subscription to use it?
No. Without any provider it answers from the FAQ answers you write and emails you anything else. Add a provider key whenever you want, including a free one.
Will it invent answers about my business?
It is instructed to use only your facts file, to quote prices exactly, and to refuse anything not written there. That is a strong constraint, not a guarantee: AI models can still get things wrong, and the widget says so under its own name. Anything order-specific is pushed to email by design.
Where do visitors’ messages go?
To the AI provider you choose, to generate the answer — so tell visitors in your privacy notice; the admin page drafts the sentence. Nothing is stored except messages a visitor sends your team, which live outside your web root and are emailed to you.
Can I use it on several client sites?
One licence covers one website. Buy a licence per site, or the Extended licence if the assistant is part of a product your own customers pay for.
What support comes with it?
Help installing it as delivered, defects, and licence questions, by email with your order reference. Custom work on your own site is quoted separately.