Avalonia + AI Agent: A Cross-Platform Quant GUI

A desktop workbench that puts a research capture, the derived descriptors and an agent that can query them in one window.

语言版本 [EN] [中文]
引用

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.

相关阅读

文章//阅读约 13 分钟

Building a TIR Compiler: From Patent to Prototype

A rule graph, one intermediate representation, and three backends. What was easy, what leaked, and which abstraction I would not build again.

文章//阅读约 14 分钟

Enterprise AI Agents in .NET 10: Wiring an Agent to Real Systems

What changes when an agent has to call into a system with an audit log, a permission model and a rate limit, instead of a demo endpoint.

视频//阅读约 1 分钟

One Rule Graph, Three Backends: A TIR Compiler Demo

Lowering the same rule graph to a spreadsheet add-in, a service and an FPGA pipeline, and the four disagreements the conformance suite found.

专利//阅读约 5 分钟

Lowering a Uniform Rule Graph to Heterogeneous Evaluation Targets

The disclosure behind the TIR compiler, including the width and latency negotiation that the first implementation got wrong.

引用本条

复制你需要的那一段。

BibTeX
@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}
}
RIS
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  - 
APA
Mr Huang (2026). Avalonia + AI Agent: A Cross-Platform Quant GUI. selfevo. https://selfevo.dev/en/blog/tech/avalonia-ai-agent-quant-gui