Pull up a chair by the window, and the controls move right in.


Get started
Add it with dotnet.
Each release publishes the packages to GitHub Packages, ourostack's NuGet feed, which asks for a sign-in even for public packages: a token with read:packages. gh auth token gives you one, after gh auth refresh -s read:packages.
dotnet nuget add source https://nuget.pkg.github.com/ourostack/index.json --name ourostack --username <your GitHub login> --password <token> --store-password-in-clear-textdotnet add package Ouro.UI.Windows --source ourostackRather not sign in? Each release attaches its .nupkg files too, for a local feed. Release 0.12.1
Five minutes
A button that knows what it does.
Declare your actions once in TypeScript with core’s defineAction, then generate the Windows files. An OuroButton with an Action runs it through the same runtime an agent’s call goes through.
Generate the doors
node vendor/core/ouro-actions-windows.mts generate my.actions.mts GeneratedThat writes OuroActions.g.cs (the catalog), app-actions.json (App Actions), mcpb.manifest.json (the MCP bundle for the Agent Registry) and doors.json (which door carries which action, and why not).
Press it, or let an agent call it
MainWindow.xaml.cs var runtime = new OuroActionRuntime(OuroActions.Catalog, MyHandler.Handle, new OuroJsonlAudit(auditPath)) { Confirm = OuroPerson.Dialog(() => window.Content.XamlRoot), }; var add = new OuroButton { Action = OuroActions.AddShoppingListItem, Runtime = runtime, Input = () => new() { ["name"] = field.Text } };A consequential action an agent prepared waits for the person's yes before it runs.
Draw an agent’s card
Generate your catalog from your actions with core’s
ouro-a2ui-catalog.mts catalog, then giveOuroComposedSurfacethe tool result. It draws Ouro's composed tree or A2UI messages, limited to your catalog.An unpackaged app needs
<EnableMsixTooling>true</EnableMsixTooling>in its project, so the build writes itsresources.priand the controls’ templates load.Check what you installed
gh attestation verify Ouro.UI.Windows.0.12.1.nupkg --repo ourostack/ouro-ui-windowsThe release workflow attests each file it attaches, so you can check a package was built from its tag.
The rest, from the controls’ manners to where Windows differs from the spec, is in the kit’s README. What it has beside the other platforms is on Ouro HX’s coverage.