aiskin-widget
v0.6.1
Published
One-line embeddable chat widget for WRKS AI agents — floating bubble or inline iframe-style panel, no framework required.
Readme
aiskin
One-line embeddable chat widget for WRKS AI agents. No framework needed — a floating bubble or an inline panel, rendered in Shadow DOM so it never fights your page styles.
Live demo: https://aiskin.onpod.ai (AIskin is an independent SDK, not an official wrks.ai product.)
Script tag
<script src="https://unpkg.com/aiskin-widget/dist/widget.global.js"></script>
<script>
AiSkin.mount({
endpoint: '/api/aiskin', // your aiskin-proxy mount — key stays server-side
agentId: 12,
theme: 'editorial', // 14 themes: editorial | porcelain | aurora | terracotta | monolith | impact | playground | daylight | cosmos | midnight | executive | neon | boardroom | terminal
title: '무엇을 도와드릴까요?',
suggestions: ['휴가 신청 방법', 'VPN 접속 문의'],
});
</script>npm
import { mount } from 'aiskin';
const widget = mount({
endpoint: '/api/aiskin',
agentId: 12,
mode: 'inline', // fill a container instead of floating
target: '#qa-panel', // e.g. a groupware iframe body
accent: '#ff5a00', // brand color
});
widget.send('이번 분기 매출 어때?');Streaming markdown answers, reasoning indicator, tool chips, Korean IME-safe input, bubble/inline modes, 14 themes, custom accent color.
MIT © AIskin
