RecursiveAI.OneApp 1.0.0

Prefix Reserved
dotnet add package RecursiveAI.OneApp --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OneApp -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RecursiveAI.OneApp" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneApp" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneApp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OneApp --version 1.0.0
                    
#r "nuget: RecursiveAI.OneApp, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RecursiveAI.OneApp@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OneApp&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneApp&version=1.0.0
                    
Install as a Cake Tool

RecursiveAI.OneApp

A framework for desktop apps in .NET. The UI is HTML and CSS: components written as a markup template plus a C# class (from RecursiveAI.OneUI), or plain HTML pages. OneRender styles, lays out and paints them, and the result is drawn on the GPU with OneGpu in a window from RecursiveAI.OnePlatform. There is no web view, no Chromium and no JavaScript runtime, and the package depends only on .NET and Recursive AI packages.

A minimal app

A component is a template, an optional stylesheet and a partial class with the same name; the markup compiler in RecursiveAI.OneUI checks every binding, event and CSS property when the project builds.

Counter.html

<main>
  <h1>Counter</h1>
  <button id="add" on:click="Increment">Clicked {Count} times</button>
</main>

Counter.cs

using OneUI.Components;

public partial class Counter
{
    [State]
    public partial int Count { get; set; }

    private void Increment() => Count++;
}

Program.cs

using OneApp;

using var host = AppHost.Create(new AppOptions(new Counter()) { Title = "Counter", AppId = "org.example.Counter" });
host.Run();

AppHost opens the window, mounts the component and runs the loop until the window closes. The loop sleeps in the operating system until input, a timer the page asked for, or a posted action arrives, and it draws a frame only when the page changed, so an idle window uses no CPU. Pages written as plain HTML work the same way: new AppOptions("<h1>Hello</h1>").

Platforms

Platform Window and drawing Desktop services Accessibility Packaging
Linux Wayland (server-side decorations, layer-shell overlays) and X11; Vulkan tray, notifications, file dialogs, global hotkeys, screenshots and single instance through the desktop portals and the session bus AT-SPI .deb, AppImage, desktop entry
macOS (Apple silicon) Cocoa; Metal menu bar, status item, notifications, file dialogs, single instance NSAccessibility .app bundle, .dmg
Windows Not supported by this version
Browser Components only, in RecursiveAI.OneApp.Browser: custom elements on browser-wasm, drawn by the browser the browser's static folder

Native apps are NativeAOT- and trim-compatible. AppHost with HTML pages is native only.

Harness

A Debug build of an app listens for MCP on a local socket (a Unix socket in a private per-user folder, or loopback TCP with a token) when ONEAPP_HARNESS is set. Tests and automation tools click by selector, type, press keys, wait, query the DOM and the accessibility tree, and capture pixels through the window's real event queue, and an app can run on a headless backend with no window system. A Release build contains no listener. The oneapp tool launches and drives apps. See harness.

Accessibility

On Linux an app's windows are exported to assistive technology such as Orca on the AT-SPI bus, and on macOS through NSAccessibility, from the accessibility tree OneHtml computes for each page. With AppOptions.Accessibility left at Auto the bridge connects only when the desktop asks for it, and AppHost.AccessibilityStatus says why it is or is not active. See accessibility.

More

Source and issues: https://github.com/recursive-ai-oss/oneapp-csharp. Licensed under MIT OR Apache-2.0.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 12/2/2026

See CHANGELOG.md in the repository.