Halo ChatPro
Agent apps / Halo Chat: a desktop assistant app. Helpers (saved instructions) and chats, pinned first, in the sidebar; the assistant's tool calls as cards in the chat (a web search with its sources, code it ran with the output, a table it built), each opening and closing; Tools (Deep research, Canvas, Create image, Run code), Mode and Model in the composer; a pane with Sources and a Canvas draft; a mini chat that opens over any app from a shortcut.
oxyn add halo-chatCompare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
bikes = [("Fenwick C3", 1890, 85), ("Arden Glide 2", 1650, 70), ("Brisa Urban", 1480, 60)]for name, usd, km in bikes: print(f"{name}: ${usd / km:.2f} per km of range")
Fenwick C3: $22.24 per km of rangeArden Glide 2: $23.57 per km of rangeBrisa Urban: $24.67 per km of range
| Bike | Price | Range | Torque | $ per km |
|---|---|---|---|---|
| Fenwick C3 | $1,890 | 85 km | 85 N·m | $22.24 |
| Arden Glide 2 | $1,650 | 70 km | 60 N·m | $23.57 |
| Brisa Urban | $1,480 | 60 km | 50 N·m | $24.67 |
For 12 km with climbs, the Fenwick C3 is the pick: its 85 N·m mid-drive holds speed on hills and its range covers a week of commutes. The Arden Glide 2 costs less per km of range if your route is gentler.
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
- Ask an assistant anything, see what it searched, ran and built as cards, keep sources and a canvas draft beside the chat, ask quick questions from a mini chat over any app, and shape a research plan before it runs.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Halo Chat 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 halo-chatUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the main area as an inset card.
Compare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
bikes = [("Fenwick C3", 1890, 85), ("Arden Glide 2", 1650, 70), ("Brisa Urban", 1480, 60)]for name, usd, km in bikes: print(f"{name}: ${usd / km:.2f} per km of range")
Fenwick C3: $22.24 per km of rangeArden Glide 2: $23.57 per km of rangeBrisa Urban: $24.67 per km of range
| Bike | Price | Range | Torque | $ per km |
|---|---|---|---|---|
| Fenwick C3 | $1,890 | 85 km | 85 N·m | $22.24 |
| Arden Glide 2 | $1,650 | 70 km | 60 N·m | $23.57 |
| Brisa Urban | $1,480 | 60 km | 50 N·m | $24.67 |
For 12 km with climbs, the Fenwick C3 is the pick: its 85 N·m mid-drive holds speed on hills and its range covers a week of commutes. The Arden Glide 2 costs less per km of range if your route is gentler.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same view with the main area edge to edge.
Compare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
bikes = [("Fenwick C3", 1890, 85), ("Arden Glide 2", 1650, 70), ("Brisa Urban", 1480, 60)]for name, usd, km in bikes: print(f"{name}: ${usd / km:.2f} per km of range")
Fenwick C3: $22.24 per km of rangeArden Glide 2: $23.57 per km of rangeBrisa Urban: $24.67 per km of range
| Bike | Price | Range | Torque | $ per km |
|---|---|---|---|---|
| Fenwick C3 | $1,890 | 85 km | 85 N·m | $22.24 |
| Arden Glide 2 | $1,650 | 70 km | 60 N·m | $23.57 |
| Brisa Urban | $1,480 | 60 km | 50 N·m | $24.67 |
For 12 km with climbs, the Fenwick C3 is the pick: its 85 N·m mid-drive holds speed on hills and its range covers a week of commutes. The Arden Glide 2 costs less per km of range if your route is gentler.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons in the sidebar, the conversation and the pane.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first run: nothing yet, the composer front and centre.
Hello, Rowan
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Mini
The mini chat over the desktop: one question and its answer, an input and Open full chat.
How do I say “see you on Thursday” in Portuguese?
“Até quinta-feira.” Informal and friendly; add “então” at the end to mean “then”.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X1
Oxyn: the sidebar as a 56 px icon rail; the top bar expands it.
Compare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
bikes = [("Fenwick C3", 1890, 85), ("Arden Glide 2", 1650, 70), ("Brisa Urban", 1480, 60)]for name, usd, km in bikes: print(f"{name}: ${usd / km:.2f} per km of range")
Fenwick C3: $22.24 per km of rangeArden Glide 2: $23.57 per km of rangeBrisa Urban: $24.67 per km of range
| Bike | Price | Range | Torque | $ per km |
|---|---|---|---|---|
| Fenwick C3 | $1,890 | 85 km | 85 N·m | $22.24 |
| Arden Glide 2 | $1,650 | 70 km | 60 N·m | $23.57 |
| Brisa Urban | $1,480 | 60 km | 50 N·m | $24.67 |
For 12 km with climbs, the Fenwick C3 is the pick: its 85 N·m mid-drive holds speed on hills and its range covers a week of commutes. The Arden Glide 2 costs less per km of range if your route is gentler.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X2
Oxyn: the sidebar hidden for focus; the top bar brings it back.
Compare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
bikes = [("Fenwick C3", 1890, 85), ("Arden Glide 2", 1650, 70), ("Brisa Urban", 1480, 60)]for name, usd, km in bikes: print(f"{name}: ${usd / km:.2f} per km of range")
Fenwick C3: $22.24 per km of rangeArden Glide 2: $23.57 per km of rangeBrisa Urban: $24.67 per km of range
| Bike | Price | Range | Torque | $ per km |
|---|---|---|---|---|
| Fenwick C3 | $1,890 | 85 km | 85 N·m | $22.24 |
| Arden Glide 2 | $1,650 | 70 km | 60 N·m | $23.57 |
| Brisa Urban | $1,480 | 60 km | 50 N·m | $24.67 |
For 12 km with climbs, the Fenwick C3 is the pick: its 85 N·m mid-drive holds speed on hills and its range covers a week of commutes. The Arden Glide 2 costs less per km of range if your route is gentler.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Research
Deep research on: the plan's steps to switch on or off, the estimated time and Start research.
Compare three e-bikes under $2,000 for a 12 km hilly commute. Table the price, range and motor torque.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
HaloChatScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`: the main area as a rounded card on the sidebar's grey, or edge to edge. |
state | String | "sample" | A state key (`sample`, `loading`, `empty`, `mini` or `research`). |
height | u32 | 900 | Height px (outside a stage). |
rail | bool | Default::default() | Oxyn: open with the sidebar as a 56 px icon rail. |
sidebar_hidden | bool | Default::default() | Oxyn: open with the sidebar hidden (the top bar brings it back). |
data | Option<HaloChatData> | Default::default() | Your data. `None` shows the sample for `state`; start from `HaloChatData::default()`. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Enter | Send (Shift + Enter for a new line) |
| ← → | Move between Sources and Canvas |
| Escape | Close the tools, mode, model or account menu |
Accessibility
- The sidebar is a nav landmark; helpers are toggle buttons (aria-pressed); the open chat carries aria-current=page.
- Each tool card opens and closes from its header (aria-expanded); the table has a header row.
- The research plan's steps are labelled checkboxes; Start research reports an error in an alert when no step is on.
- The mini chat is a labelled dialog; every action reports in a polite live region.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 272 px sidebar, the conversation and a 440 px pane (380 px under 1180).
- Under 960 px the sidebar becomes a drawer from the top bar and the pane opens over the conversation from its top-bar button.
- Under 620 px the chips shorten and the composer and pane keep their actions; labels ellipsise.
Edge cases (spec)
1440 × 900 stage; /full at the real viewport. Under 960 px the sidebar is a drawer and the pane opens over the conversation from the top bar. Under 620 px chip labels shorten and dates hide in rows. scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
HaloChatScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
HaloChatElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.