All projects

Agent-ready Avalonia inspection

Inspector

Inspect, understand, and reshape a running Avalonia interface from the terminal or an agent.

StatusActive
TierFlagship
DomainTools
Repositorywieslawsoltes/Inspector

A .NET CLI and runtime infrastructure for inspecting and manipulating live Avalonia visual and logical trees through host, process, and deterministic automation workflows.

Inspector makes a running Avalonia interface available as a stable, session-based engineering surface. Its contracts, transport, host runtime, Avalonia adapter, and CLI expose visual and logical trees, property metadata, live edits, structural mutations, diagnostics, and deterministic JSON for both developers and coding agents.

01

Visual and logical tree inspection

02

Live properties and structural mutation

03

Host, process, and deterministic stub modes

04

Stable JSON for tools and coding agents

Where it fits.

  • Avalonia developers debugging live tree and property state
  • Tool authors building inspection or preview workflows
  • Coding agents that need deterministic, scriptable UI feedback
.NET

10.0

Avalonia

Host and adapter

Host / process

Connection modes

Agent automation

Deterministic JSON

Real output,
not a mockup.

Inspector GitHub repository preview
Inspector combines Avalonia runtime adapters, session infrastructure, a command-line tool, tests, and an instrumented sample application.

Clear layers.
Replaceable seams.

01

Contracts

Shared DTOs describe capabilities, sessions, visual and logical trees, properties, mutations, errors, and diagnostics.

02

Host + transport

An in-process runtime exposes authorized, session-based inspection through a local endpoint.

03

Avalonia adapter

Tree traversal, property normalization, and mutation services translate runtime controls into portable contracts.

04

CLI

Human-readable and deterministic JSON commands connect, inspect, edit, validate, and report stable exit codes.

2 treesvisual and logical topology
3 modesstub, host, and process
5 operationsset, insert, remove, move, reparent
LiveGitHub metadata

One repository.
Multiple serious systems.

Explore the focused capabilities, their package boundaries, architecture, installation, and smallest useful example.

From package
to first frame.

Choose the package workflow used by your repository, then start from the smallest working example. Replace VERSION with the current stable or prerelease version shown on NuGet.

01 · Install
Terminal
dotnet tool install --global Inspector.Cli.Tool
02 · Use · bash
Terminal
inspector connect --mode process --name MyAvaloniaApp --json
inspector tree get --session-id <session-id> --kind visual --json
inspector node get-properties --session-id <session-id> --node-id <node-id> --json

Start focused.
Compose as needed.

The repository is the source of truth.

Use the current documentation and samples, inspect changes, report issues, or support continued open-source maintenance.

NativeWebView

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…