Status: draft
Date: 2026-03-27
QuantLab Desktop is the single operator workspace for quantitative research, execution review, and bounded AI assistance.
It is not a collection of local UIs. It is the main work surface of the laboratory.
Create a single desktop shell that lets an operator:
- define work
- launch work
- inspect results
- compare alternatives
- decide what deserves to advance
- supervise runtime surfaces
without juggling browser tabs, manual terminals, and disconnected tools.
Today the system has useful pieces:
- QuantLab run and artifact surfaces
- Stepbit chat and orchestration capabilities
meta_tradepre-trade planning- operational views such as paper, broker, and venue health
But it does not yet have a single primary surface that imposes order on those capabilities.
The result is:
- too many local entry points
- context switching
- weak continuity across the research cycle
- friction between action, review, and decision
- do not rewrite QuantLab from scratch
- do not make Stepbit the control plane of QuantLab
- do not embed every existing web UI unchanged
- do not move QuantLab authority into chat
- do not make
meta_tradepart of QuantLab internals
- one app, one main entry point
- focused work surfaces lead, with assistant support always available
- tabs are contextual and task-driven
- actions should be explicit and auditable
- the shell must supervise local services instead of assuming they are healthy
- QuantLab remains sovereign
- Stepbit remains optional and augmentative
- run execution
- run history
- artifact truth
- research state
- paper and execution boundaries
- promotion and safety semantics
- reasoning assistance
- tool orchestration
- goal execution
- optional automation
- optional cognitive workflows
- pre-trade planning
- upstream handoff semantics
- calculator-specific workbench logic
The desktop shell state for one operator session. It knows:
- open tabs
- selected run context
- recent commands
- runtime status
A reusable research intent or prepared configuration.
A concrete execution with config, status, metrics, timestamps, and artifacts.
A grouped set of related runs created to explore parameter or strategy variants.
A focused side-by-side decision surface for selected runs.
Any canonical output used to inspect, explain, or justify results.
A runtime session that moves beyond pure research into supervised operational behavior.
A user-issued command or request handled through the QuantLab assistant.
QuantLab Desktop v1 should not be assistant-only.
It should combine focused workstation surfaces with four interaction modes:
A specialized assistant support surface.
Use it for:
- launch requests
- summaries
- failure explanations
- run lookup
- artifact lookup
- comparisons
- next-step suggestions
The assistant should speak QuantLab objects, not generic assistant language.
Example intents:
- launch a run for ETH-USD with the latest baseline config
- compare the last three completed runs
- explain why the latest run failed
- open the report for the best sharpe candidate
- prepare a paper-ready summary for this run
The fast path for repeatable explicit actions.
Use it for:
- launch run
- launch sweep
- open latest failed run
- compare selected runs
- open artifacts
- open paper ops
- open Stepbit tools
This is better than chat for deterministic operator actions.
Short, structured forms for tasks where ambiguity is costly.
Initial panels:
- Launch Run
- Launch Sweep
- Compare Runs
- Prepare Paper
These should be compact and safe, not giant workflows.
Tabs are where focused work happens after the user triggers an action.
The chat and palette should open tabs rather than new windows.
Keep v1 small.
The main command and reasoning surface.
Detailed run view with:
- summary
- metrics
- config
- artifacts
- failure state if applicable
Side-by-side comparison for 2 to 4 runs.
Focused artifact explorer for reports, configs, logs, and machine-readable outputs.
Operational view for paper-related state, runtime visibility, and session supervision.
- Candidates
- Sweep Inspector
- Stepbit Tools
- Pre-Trade Intake
These should only be added once the core workflow is solid.
Chat is good for:
- flexible intent
- summarization
- natural-language retrieval
- explanation
Chat is weak for:
- high-precision structured input
- dense side-by-side comparison
- audit-friendly operational monitoring
- repeated actions with low ambiguity
Therefore v1 should be chat-centered, not chat-exclusive.
QuantLab should reuse Stepbit as an engine layer, not as the visible product shell.
stepbit-coregoals and reasoning endpoints- MCP tool execution
- pipeline execution
- chat-completion and streaming runtime
- optional automation primitives
- session persistence patterns from
stepbit-app - streaming message protocol patterns
- execution-history ideas
- the full Stepbit UI as the main QuantLab desktop surface
- Stepbit-owned product navigation
- Stepbit provider/model UX as the primary QuantLab interaction model
The right v1 approach is:
QuantLab Desktop Chat UI
-> QuantLab Assistant Adapter
-> Stepbit engine capabilities
-> QuantLab contracts and tools
Owns:
- conversation surface
- prompts and actions framed in QuantLab language
- tab opening
- local workspace context
Owns:
- command routing
- context assembly from QuantLab state
- mapping user intent to Stepbit goals, tool calls, or direct QuantLab actions
- producing structured action results for the desktop shell
Provide:
- reasoning
- tool execution
- goal decomposition
- optional pipelines
- summarization
The desktop shell should supervise local services explicitly.
Initial runtime set:
- QuantLab local backend / execution entrypoints
- artifact and output surfaces already used by QuantLab
- Stepbit backend and frontend if enabled
- Stepbit core if enabled
The shell should show:
- up
- starting
- degraded
- down
for each runtime piece.
Stable navigation:
- Chat
- Launch
- Compare
- Artifacts
- Paper Ops
Tabbed work surface.
Minimal. Useful items only:
- global search or quick jump
- command palette trigger
- runtime summary
Shows live status for:
- QuantLab
- Stepbit App
- Stepbit Core
- paper surfaces if available
- Open the desktop app.
- Ask chat to launch a run, or use the Launch panel.
- Watch runtime and job state.
- Open the resulting run tab.
- Inspect metrics and artifacts.
- Add the run to Compare.
- Compare against prior candidates.
- Decide whether to keep, discard, or prepare for paper.
- Ask chat for the latest failed run.
- Open the run.
- Ask chat to explain the likely failure cause.
- Open the relevant artifact or log tab.
- Decide whether to relaunch or archive the result.
- desktop shell
- runtime manager
- chat tab
- launch panel
- run tabs fed by current QuantLab outputs
- compare tab over existing runs
- artifact inspection
- paper ops read-only or lightly interactive surfaces
- full experiment manager
- full candidate promotion workflow
- full Stepbit UI embedded inside the shell
- full
meta_tradeworkbench integration inside the main loop
For a first shell, Electron is acceptable because it reduces friction around:
- process management
- local services
- multiple local runtimes
- web-based rendering reuse
This is a pragmatic v1 choice, not a permanent dogma.
Define contracts:
- chat intents
- tab types
- runtime states
- QuantLab assistant adapter responsibilities
Build a minimal desktop shell with:
- sidebar
- chat
- tabs
- runtime status
Connect real capabilities:
- launch run
- launch sweep
- open run
- compare runs
- inspect artifacts
- view paper ops
Add bounded Stepbit augmentation:
- richer summaries
- command suggestions
- optional automation
- the operator opens one desktop app instead of several browser tools
- the assistant can trigger real QuantLab work through stable contracts
- repeated actions are available through palette or panels, not only chat
- runs, comparisons, and artifacts open in tabs
- runtime health is visible and honest
- Stepbit improves the experience without becoming the product shell
QuantLab Desktop v1 should be:
- a single work surface
- workstation-first, with a QuantLab-specialized assistant support lane
- supported by palette, panels, and tabs
- powered by Stepbit where useful
- governed by QuantLab's own authority and contracts
This makes the desktop shell a layer of order over the current system, not a repackaging of existing fragmentation.