Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

WindowsAxon

WindowsAxon is a Windows 11 x64 desktop assistant built with WinUI 3 and .NET 10. It uses an OpenAI-compatible model endpoint to turn plain-text requests into tool calls. It can read files, inspect Windows settings, and work with desktop apps and browsers. Skills provide reusable instructions, and MCP servers add external tools.

Quick start

  1. Download the App executable from GitHub Releases.
  2. Start an OpenAI-compatible model service.
  3. Open the App and set the endpoint URL, model name, and API mode in Settings.

The default URL is http://localhost:11434/v1. The default model is auto. Keep auto if your endpoint routes requests to a model. If your endpoint requires a model name, enter the name it serves in Settings.

A remote model endpoint receives conversation messages and tool results. The App keeps its settings, chat history, and audit logs under %LOCALAPPDATA%\WindowsAxon. The App stores API keys entered in Settings in Windows Credential Manager.

Structure and design

flowchart LR
    User --> App["App · WinUI 3"]
    App --> Agent["Agent session"]
    Agent <--> Model["Model endpoint"]
    Agent --> Guard["Tool selection and approval"]
    Guard --> Windows["Windows tools"]
    Guard --> MCP["MCP tools"]
    Guard --> Mesh["Mesh tools"]
    Windows --> ScriptHost["Script Host for elevation"]
Loading
Project Responsibility
WindowsAxon.App Hosts the chat UI and builds sessions from the configured model, tools, skills, and network mode.
WindowsAxon.Agent Runs the agent loop and manages tool selection, approval, audit logs, and model protocols.
WindowsAxon.Windows Implements tools for Windows, file access, desktop controls, browsers, and scripts.
WindowsAxon.ScriptHost Runs approved scripts that need administrator rights in a separate process.
WindowsAxon.Mesh Handles peer discovery, task dispatch, parallel work, MapReduce, and file transfer.
WindowsAxon.Hub Relays WebSocket messages in Central Server mode and serves the online node dashboard.
WindowsAxon.Eval Runs agent evaluation cases with a configured model and simulated tools.

The agent checks the approval policy before executing a tool call. Settings offers Ask for every action, Allow reads, Allow actions on this computer, and Allow all actions. The default Allow reads level runs ordinary reads without a prompt. The agent binds each one-time approval to the specific call and its arguments.

Network modes

  • Standalone is the default. Requests run on the current computer.
  • Peer-to-Peer (same LAN) discovers peers that use the same pair key. Peers communicate over encrypted connections.
  • Central Server routes messages through WindowsAxon.Hub. The Hub relays requests to the target App.

In Network, select a mode and set a name for each computer. Select an online computer to address a request with @<name>. The left pane also lists every computer that joined before. A computer that is not online shows in a faded color with a (disconnected) suffix. In Central Server mode, the Hub keeps this list in known-nodes.json next to the Hub executable. Set Hub:KnownNodesPath to change the path. In Peer-to-Peer mode, each App keeps this list in known-peers.json next to its settings.json. The target computer runs the agent session and sends required approvals back to the caller.

For Central Server mode, start the Hub executable and set Hub URL in each App. Use ws://<hub-host>:5250/ws for the default Hub listener. The same listener serves /health. Set WINDOWSAXON_HUB_TOKEN on the Hub and enter the same token in the App to require WebSocket authentication. The separate node dashboard and /api/nodes use port 80 by default and have no authentication.

The Hub runs in a console or as a Windows service. To run it as a service, create the service with sc.exe create WindowsAxon.Hub binPath= "<path>\WindowsAxon.Hub.win-x64.exe" start= auto. The Hub checks for a new release every hour and installs it when no message is being relayed. In a console, the Hub starts the new version as a new process. As a service, a helper process starts the same service again after the old process exits. Set Hub:AutoUpdate to false to turn automatic updates off.

Build and release

Install the Windows .NET SDK selected by global.json. Run these commands from the repository root.

dotnet build WindowsAxon.slnx
dotnet test --solution WindowsAxon.slnx
dotnet run --project src/WindowsAxon.App

The CD workflow publishes two self-contained Windows x64 executables. Workflow

  • WindowsAxon.App.win-x64.exe
  • WindowsAxon.Hub.win-x64.exe

Each executable is a single file and has a matching .sha256 checksum file. The release tag and executable file versions use the same build version. Version settings

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages