Skip to content
Back

Workspace CoderPro

Agent apps / Workspace Coder: a desktop agent app in the chat-plus-computer pattern. Chats by day in the sidebar; the agent's progress list and tool log while it works; a Workspace pane that is its own computer (Files with a file viewer, Terminal, Browser, Preview); a finished website to preview at desktop or phone width and publish to a link. Mode (Chat, Researcher, Workspace), Thinking and model in the composer.

oxyn add workspace-coder
Moving budget for three citiesWorking

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html

Building the page · step 4 of 6

The code is part of Oxyn Pro

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.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Ask for something to be researched and built, watch the agent work in its own computer, then preview and share what it made.

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

Workspace Coder 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.

Terminal
oxyn add workspace-coder

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data, the main area as an inset card.

Moving budget for three citiesWorking

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html

Building the page · step 4 of 6

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same view with the main area edge to edge.

Moving budget for three citiesWorking

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html

Building the page · step 4 of 6

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons in the sidebar, the conversation and the pane.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

A first run: nothing yet, the composer front and centre.

New chat

What can I build for you?

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Preview

The task finished: the Workspace pane shows the built page with Desktop / Phone and Publish.

Moving budget for three citiesWorkspace

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html
  6. Ranpython3 check.py

Done. Porto comes out cheapest at about €1,520 a month, mostly thanks to rent. The page has the table, a chart and the sources; preview it beside the chat or publish a link.

Move BudgetWebsite · 5 files

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X1

Oxyn: the sidebar as a 56 px icon rail; the top bar expands it.

Moving budget for three citiesWorking

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html

Building the page · step 4 of 6

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X2

Oxyn: the sidebar hidden for focus; the top bar brings it back.

Moving budget for three citiesWorking

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html

Building the page · step 4 of 6

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Files

The Workspace pane on Files: the file list and a viewer with line numbers.

Moving budget for three citiesWorkspace

I'm moving for work and can pick Lisbon, Porto or Valencia. Compare a month's costs for one person and build me a small page with the numbers and a chart that I can share.

I'll gather typical monthly costs for each city, put them in a data file, then build a one-page site with a chart you can share.

  1. Collect rent, food, transport and bills for each city
  2. Write data/costs.csv
  3. Build the page: table and summary
  4. Add the bar chart
  5. Check it at phone width
  6. Make a preview link
  1. Searchedmonthly cost of living Lisbon Porto Valencia
  2. Readcitycosts.example/portugal
  3. Readrentindex.example/valencia
  4. Wrotedata/costs.csv
  5. Wroteindex.html
  6. Ranpython3 check.py

Done. Porto comes out cheapest at about €1,520 a month, mostly thanks to rent. The page has the table, a chart and the sources; preview it beside the chat or publish a link.

Move BudgetWebsite · 5 files

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

WorkspaceCoderScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`: the main area as a rounded card on the sidebar's grey, or edge to edge.
stateString"sample"A state key (`sample`, `loading`, `empty`, `preview` or `files`).
heightu32900Height px (outside a stage).
railboolDefault::default()Oxyn: open with the sidebar as a 56 px icon rail.
sidebar_hiddenboolDefault::default()Oxyn: open with the sidebar hidden (the top bar brings it back).
dataOption<WorkspaceCoderData>Default::default()Your data. `None` shows the sample for `state`; start from `WorkspaceCoderData::default()` and replace what you have.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterSend (Shift + Enter for a new line)
← →Move between the Workspace tabs
EscapeClose the mode, model or account menu

Accessibility

  • The sidebar is a nav landmark; the open chat carries aria-current=page.
  • Progress is a labelled group with a disclosure; the tool log is an ordered list.
  • The Workspace is a labelled complementary region with a tablist (roving tabindex, arrow keys).
  • Desktop / Phone are toggle buttons (aria-pressed); 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 Workspace opens over the chat. Under 620 px the Thinking label hides. scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.

Notes for AI

  • Import WorkspaceCoderScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: WorkspaceCoderEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI