EERRAA // THE WIDGET
One script tag. Your product can chat.
// a drop-in chat agent that lives inside your app, in your branding. not a popup you send people away to. paste it and ship.
<script
src="https://eerraa.online/static/widget.js"
data-api-key="era_your_project_key"
data-title="Assistant"
data-primary-color="#19c37d"
data-placeholder="Ask me anything…"
data-position="bottom-right"
></script>WHAT IT DOES
Answers render token by token, formatted, as the model writes them. Live tool status shows what the agent is doing right now, not a spinner.
Users attach files, get clickable choice buttons, and approve or cancel write actions inline. A stop button ends a run mid-stream.
Vanilla JS in a Shadow DOM. No framework, no CSS bleed either way. It looks like part of your product and cannot break its styles.
Thumbs up or down on any answer, and a My-tasks panel where scheduled work and its results live.
CONFIGURE WITH DATA-*
Your project key. The only required attribute.
Header label for the chat window.
Accent color, to match your brand.
Text shown in the empty input.
bottom-right or bottom-left.
Force a light or dark look.
Cap the length of a user message.
Set "off" to hide thumbs feedback.
Set "off" to disable choice buttons.
"professional" or "playful" tool status.
Point the widget at your own proxy.
DRIVE IT FROM YOUR APP
A small window.ERA API.
Identify the user with window.ERAConfig, then open, send, and listen from your own buttons.
Open or close the chat panel from your own UI.
Send a message as the user, e.g. from a "Ask about this" button.
Start a fresh conversation.
Subscribe to stream events: { type, content, full, name }.
Open the My-tasks panel.
Kick off a per-user MCP OAuth connection.
Paste it into your app.
// grab your project key and the snippet from the dashboard. free to start.
