Skip to content

Installation ​

Requirements ​

RequirementVersion
Node.js (development and trusted adapters)22.19 or later
Vue3.5 or later
BundlerA Vue-aware ESM bundler such as Vite
Electron (optional)30 or later
Element Plus (optional)2.13 or later

The package is ESM-only. TypeScript consumers should use target: ES2022, module: ESNext and moduleResolution: Bundler. NodeNext resolution is not part of the supported consumer contract.

Install ​

bash
npm install @korus-dev/agent-ui-sdk @korus-dev/multi-agent-sdk vue

Import the stylesheet once in your renderer:

ts
import { ConversationPane, Composer, MessageList } from '@korus-dev/agent-ui-sdk';
import '@korus-dev/agent-ui-sdk/styles.css';

The stylesheet carries control styles, code and math styles, and the packaged KaTeX fonts.

Optional peers ​

Electron is an optional peer for desktop hosts. Element Plus is an optional peer used only by the browser panel; install it when you use that component:

bash
npm install element-plus

Provider execution ​

The SDK renders conversations; it does not run them. @korus-dev/multi-agent-sdk is a peer dependency (^0.29.0): your application owns its version, and the UI shares that single installed copy, so a patch release of Multi Agent SDK never requires a UI release. Install the runtime for each harness you support (Codex, Claude, Cursor or Antigravity) in your trusted host. See the quick start for how the pieces connect.

Import boundaries ​

Root UI imports do not initialize a harness or load Electron. Keep trusted adapters in the Electron main process or on your server:

ImportWhere it may run
@korus-dev/agent-ui-sdkRenderer
@korus-dev/agent-ui-sdk/styles.cssRenderer
@korus-dev/agent-ui-sdk/hostAnywhere: types and a pure prompt-option translation
@korus-dev/agent-ui-sdk/browser, /browser-ui, /documentsRenderer
@korus-dev/agent-ui-sdk/electronElectron main process
@korus-dev/agent-ui-sdk/electron/preloadElectron preload script
@korus-dev/agent-ui-sdk/electron/browser, /speechTrusted Node or Electron process only

See entry points for the full list.

Work from a checkout ​

bash
git clone https://github.com/Korus-Dev/agent-ui-sdk.git
cd agent-ui-sdk
npm ci
npm run dev:lab

The component lab uses mocked state and needs no provider login. To run a sample against a real harness, see samples.

Published sibling SDKs are used by default. To develop them together with this package, see local SDK sources.

Released under the Apache License 2.0.