AI setup wizardPro
Switch on a support assistant in three stages: link your knowledge tools and see them import, set the model, voice and safety rules, then try a sample question and check the numbered sources behind the reply before launching.
oxyn add ai-setup-wizardAsk Northwind
Support assistant setup
- Notion1,284 documents
- Google Drive3,910 documents
- Intercom862 documents
- Slack5,420 documents
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Turn on an AI assistant in three steps: connect sources and watch them sync, choose model, tone and guardrails, then test with a question and go live.
When not to use
- Sit in on a crew of agents mid-run: use Live Session instead.
- One overview for a whole fleet: use Fleet overview instead.
- The fleet overview laid out against time: use Fleet timeline instead.
Installation
AI setup wizard is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add ai-setup-wizardUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Connect
Step 1, nothing connected.
Ask Northwind
Support assistant setup
- Notion1,284 documents
- Google Drive3,910 documents
- Intercom862 documents
- Slack5,420 documents
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Test
Step 3 with sources synced (Oxyn extra).
Ask Northwind
Support assistant setup
Ask a test question to see how it answers.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Error
Intercom's token expired, with Retry (Oxyn extra).
Ask Northwind
Support assistant setup
- Notion1,284 documents
- Google Drive3,910 documents
- Intercom862 documents
- Slack5,420 documents
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Live
Live, with the summary (Oxyn extra).
Ask Northwind
Support assistant setup
- Sources3 connected
- ModelClaude Sonnet 4.5
- ToneFriendly
- Guardrails2 on
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AiSetupWizard
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
start | usize | Default::default() | Starting step (0 to 2; 3 opens live). |
fail | bool | Default::default() | Intercom fails on its first sync (error scenario). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| ←or→or↑or↓ | On the model cards, select a model |
| Space | Toggle a guardrail |
| Enter | Ask the question, or stop an answer |
Accessibility
- Steps are an ordered list with aria-current; locked steps are disabled.
- Each sync is a progressbar named after its source; citations are numbered and listed by source.
- Connecting, failures, selections, answers and going live are announced, including that they are simulated.
From the spec
Steps are an ordered list with aria-current; each sync is a progressbar named after its source; model cards are a radio group with arrow keys; guardrails are switches; Enter asks or stops; every change is announced, including that it is simulated. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
Sync counts climb with a progress line; the answer streams three words a tick and each citation number appears once its sentence is complete; the header pill flips from Draft to Live.
Timing
Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Sync | 2,400 ms a source (SYNC_MS) | linear |
| Answer | 3 words per 34 ms tick | linear |
Reduced motion: fades, shimmer and count-ups stop; every state keeps its words and icons.
Responsive behaviour
- Up to 600 px; below 480 px step labels hide behind their numbers; below 400 px the footer meta hides.
Edge cases (spec)
Up to 600 px. Below 480 px of block width step labels hide behind their numbers and model cards stack; below 400 px the footer meta and citation names hide. The step area keeps one minimum height. Layout follows the block's own width (container queries), never the viewport. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus data series and the official coloured brand and model marks.
Notes for AI
- Import
AiSetupWizardfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
BlocksViewinoxyn_gpui. - Props to set first:
now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.