AI Suite
AI-Native Application Primitives
First-class Svelte 5 runes primitives for building generative AI chat interfaces, prompt bars, reasoning thought trees, and tool invocation cards.
Interactive AI Chat (<AiChat />)
Includes auto-scrolling message streams, assistant & user avatars, copy actions, collapsible reasoning thoughts, and tool call inspection.
Interactive Preview
Yaxa Copilot
Online & Ready
↵ to send
Props & API Reference
4 PropsComplete TypeScript interface and runtime configuration properties.
| Property | Type Definition | Default | Description |
|---|---|---|---|
messages | AiMessage[] | [] | Array of conversation messages with roles, thoughts, and tools |
loading | boolean | false | Displays in-flight generation state and pulsing status |
assistantName | string | 'AI Assistant' | Title displayed in the chat header |
onsend | (text: string, files?: File[]) => void | undefined | Callback triggered when user submits a prompt |
Prompt Input Bar (<PromptBar />)
Auto-expanding textarea with file dropzone attachments, voice microphone toggle, and slash-command autocompletion (`/`).
Interactive Preview
↵ to send
Reasoning & Tool Execution Cards
Interactive Preview
- Parsed user intent
- Resolved schema types
Model reasoning and analysis steps...