Docs
Next to your chat tool
Avatar mode
data-mode="avatar" renders the character alone, in the corner, with no chat box and no AI key involved. She says whatever your page passes to nikoori.speak(), with a speech bubble, lip sync and an expression. Visitors can collapse her to a small button.
<script src="https://live2d.noiselimited.com/v1/nikoori.js"
data-key="pk_live_your_key"
data-mode="avatar"
async></script>Put her in the opposite corner from your chat tool with data-position, or use the open/close handlers below so only one of them is ever on screen.
Or let your bot answer inside our panel
Avatar mode puts a face beside your chat tool. If what you want instead is your own bot answering in our panel — the transcript, the microphone, the voice — add data-brain="page". The widget then never calls our chat: it emits an ask event with what the visitor said, and your code answers with nikoori.speak(), once or once per token.
<script src="https://live2d.noiselimited.com/v1/nikoori.js"
data-key="pk_live_your_key"
data-brain="page"
async></script>
<script>
nikoori.on("ask", async function ({ text }) {
const answer = await myBot(text); // your model, your knowledge base
nikoori.speak(answer); // ...or call it once per token
});
</script>Nothing reaches our servers on that path — no request, no stored text, no conversation counted — so your knowledge base, your model key and your order system stay where they are. It works in avatar mode too. The full contract is on the JavaScript API.
What each vendor allows
This is the whole difficulty: whether the bot's reply text exists in the visitor's browser at all. Checked against the vendors' public documentation on 22 September 2026.
| Tool | Reply text in the browser? | What you can build |
|---|---|---|
| Crisp | Yes — message:received | Full bridge: the character says each reply. |
| tawk.to | Yes — onChatMessageAgent | Full bridge, except inside tawk.to's pop-out window, where its callbacks do not run. |
| Zendesk messaging | Count yes, text not documented | A nudge from unreadMessages. Check messageReceived on your own account before building on it. |
| Intercom | No — unread count only | A nudge and open/close reactions in the browser. The reply text needs a server bridge — we have built one and it is not yet verified against a live workspace; see below. |
| Your own bot | Yes | Call speak() wherever you already render the reply. |
Crisp
Crisp's $crisp SDK fires message:received for messages from the operator side, with the message object as the first argument. Text messages carry a string in content; other types (pickers, files, carousels) carry an object, so check the type before speaking it.
<script>
window.$crisp = window.$crisp || [];
$crisp.push(["on", "message:received", function (message) {
var text =
typeof message.content === "string" ? message.content :
message.content && typeof message.content.text === "string" ? message.content.text : "";
if (text && window.nikoori) window.nikoori.speak(text);
}]);
// Optional: step aside while the Crisp chatbox is open.
$crisp.push(["on", "chat:opened", function () { window.nikoori && window.nikoori.close(); }]);
$crisp.push(["on", "chat:closed", function () { window.nikoori && window.nikoori.open(); }]);
</script>message:received as “from the operator”. Whether replies from Crisp's chatbot scenarios or its AI agent arrive through the same event depends on your Crisp plan and setup. Send yourself a test message and watch the console before going live.tawk.to
<script>
window.Tawk_API = window.Tawk_API || {};
Tawk_API.onChatMessageAgent = function (message) {
var text = typeof message === "string" ? message : (message && message.message) || "";
if (text && window.nikoori) window.nikoori.speak(text);
};
</script>tawk.to documents the callback argument as message, and notes that these callbacks do not run in its pop-out chat window.
Zendesk messaging
zE("messenger:on", "unreadMessages", fn) gives you a count, which is enough for a nudge. Zendesk also lists a messageReceived event, but its payload is not documented to include the text.
<script>
zE("messenger:on", "unreadMessages", function (count) {
if (count > 0 && window.nikoori) {
window.nikoori.speak("You have a new message!", { emotion: "happy" });
}
});
// Zendesk also lists a messageReceived event. Log it on your own account before
// relying on it — the payload is not documented to contain the reply text.
zE("messenger:on", "messageReceived", function (event) {
console.log("Zendesk messageReceived", event);
});
</script>Intercom — the honest version
onShow, onHide, onUnreadCountChange (a number), onUserEmailSupplied and ready. The Messenger itself renders in a cross-origin iframe, so the page cannot read it out either. No amount of client-side code gets around that.What you can build today with Intercom is a nudge and some choreography:
<script>
// After Intercom's own snippet.
var lastUnread = 0;
Intercom("onUnreadCountChange", function (count) {
if (count > lastUnread && window.nikoori) {
window.nikoori.speak("You've got a new reply in the chat!", { emotion: "happy" });
}
lastUnread = count;
});
Intercom("onShow", function () { window.nikoori && window.nikoori.close(); });
Intercom("onHide", function () { window.nikoori && window.nikoori.open(); });
</script>For the character to read Fin's replies word for word, the text has to travel from Intercom's server-side webhooks to your backend, and from there to the visitor's browser, where you call speak(). That is a real integration, not a snippet.
The hosted bridge — built, and unverified
The server half exists: an endpoint per character that verifies Intercom's webhook signature, refuses anything unsigned, stale or already seen, reads the reply out of the payload — never an internal note — and parks it for the widget that visitor has open. Setup lives in your dashboard, under the character, on the Intercom tab: it shows your webhook URL and takes your workspace's two secrets.
- In Intercom: create an app in the Developer Hub for your workspace, add our URL as a webhook, and subscribe to
conversation.admin.replied. Copy the app's client secret into our dashboard — that is what every webhook is checked against. - Also in Intercom: turn on Identity Verification (Settings → Security) and give us that secret too. It is a different secret, and it is what stops one visitor asking for another visitor's replies — our publishable key is public, so a page's claim about who the visitor is has to be proved by something only your server can compute.
- On your page: the snippet below, called with the same
user_idanduser_hashyou already pass to the Messenger.
<script>
(function () {
var KEY = "pk_live_your_key";
var API = "https://live2d.noiselimited.com";
var session = null;
function poll() {
if (!session) return;
fetch(API + "/api/bridge/messages?key=" + encodeURIComponent(KEY) +
"&session=" + encodeURIComponent(session))
.then(function (r) { return r.json(); })
.then(function (body) {
(body.lines || []).forEach(function (line) {
if (window.nikoori) window.nikoori.speak(line.text);
});
})
.catch(function () {})
.then(function () { setTimeout(poll, 500); });
}
// The SAME user_id and user_hash your server already gives the Intercom Messenger.
window.nikooriIntercom = function (identity) {
fetch(API + "/api/bridge/session", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ key: KEY, userId: identity.userId, userHash: identity.userHash })
})
.then(function (r) { return r.json(); })
.then(function (body) { session = body.sessionId; poll(); });
};
})();
</script>Two limits worth knowing before you build on it. Anonymous visitors cannot be matched: if Intercom does not know who someone is, neither do we, and the reply has nowhere to go — a nudge is still all you get for them. And the last hop is a poll, not a push: the widget asks us every half second while it holds a connection open, so the character speaks about half a second after the reply appears in the Messenger. We do not run a websocket service, and we would rather say so than imply a push we do not have.
Your own bot
Anything you render yourself is the easy case: one line, wherever the reply arrives.
const reply = await myBot.ask(question);
renderReply(reply);
window.nikoori?.speak(reply); // expression guessed from the words
window.nikoori?.speak(reply, { emotion: "happy" }); // or set it yourselfWorth knowing
- Avatar mode needs no AI key. The character is yours, the answers stay your chat tool's.
- Speak whole sentences rather than partial tokens where you can: the mouth is driven by the text you pass, and a stream of two-character fragments makes her stutter.
- Chat tools load in their own order. If yours runs before ours, add the pre-load stub so no early call is lost.
- Emotion is guessed from the words unless you pass one. Passing it explicitly is better whenever you know the situation — an error, a refund, a successful order.