Most of my research loop runs in a terminal. The part that does not is looking at a reconstructed trajectory and deciding whether the shape I am seeing is real or an artefact of the resampler. That is a visual job, and it needs a desktop window.
Why Avalonia
It is .NET native, it renders the same on macOS, Linux and Windows, and it does not force the process to be a browser. For a tool that reads multi-gigabyte local captures, the last point is decisive.
Three panes
The workbench is deliberately boring: a capture tree on the left, the trajectory and descriptor plots in the middle, and a query pane on the right.
The middle pane is the point. It plots the reconstructed path in a projection chosen by explained variance, colours it by curvature, and lets me step along arc length with the keyboard.
The agent pane
The agent in this window is not there to generate prose. It is there to answer questions about the loaded capture, with citations into the descriptor table.
var answer = await _agent.AskAsync(
"Which 30-second windows have the highest torsion and what did volume do afterwards?",
scope: CaptureScope.Current,
requireCitations: true);
requireCitations: true is the important flag. Every claim in the answer links to a row in the descriptor table, and clicking the link selects that window in the middle pane. An answer without a citation is rejected and re-asked, once.
What made it usable
Two small things did more for usability than any feature:
- Every number in the UI is monospaced and tabular. Columns of numbers become scannable.
- The window remembers the last capture and the last projection, so reopening it in the morning puts me back where I stopped.
What I would not repeat
Building the agent pane first. It was the most interesting part and the least load-bearing. The plots were what actually changed my decisions, and they took a fraction of the time.
Cite this entry
Copy the block you need.
@misc{huang2026avaloniaaiagentacr,
author = {Mr Huang},
title = {Avalonia + AI Agent: A Cross-Platform Quant GUI},
year = {2026},
url = {https://selfevo.dev/en/blog/tech/avalonia-ai-agent-quant-gui},
note = {selfevo, blog}
} TY - GEN
AU - Mr Huang
TI - Avalonia + AI Agent: A Cross-Platform Quant GUI
PY - 2026
UR - https://selfevo.dev/en/blog/tech/avalonia-ai-agent-quant-gui
PB - selfevo
ER - Mr Huang (2026). Avalonia + AI Agent: A Cross-Platform Quant GUI. selfevo. https://selfevo.dev/en/blog/tech/avalonia-ai-agent-quant-gui