NodePilot README

The project's README from github.com/Sev7eNup/NodePilot. As one markdown file: README.md.

NodePilot logo

NodePilot

Open-source Windows and PowerShell workflow automation. Self-hosted, agentless execution over WinRM, with an import path for System Center Orchestrator runbooks.

Multi-step automation is designed, scheduled, debugged and observed in the browser. PowerShell, file, registry and service operations, REST calls, SQL and further activities are executed across a Windows estate over WinRM, without agents on the targets.

CI .NET 10 React 19 TypeScript PostgreSQL Windows Latest release License

🌐 Website · ▶️ Live demo · 📚 Documentation · ⬇️ Download · 🚀 Install


Live demo

Open the live demo to try the actual web UI with sample data. It runs entirely in the browser, requires no installation and sends no data anywhere. Each visitor has a private copy, which resets on reload. Workflows can be built, published and run, while the canvas updates live.

It is the product's own frontend on an in-memory backend, so anything that genuinely needs a server (PowerShell on a host, a WinRM test, mail, a restore) reports that limitation instead of pretending.

Product tour

Watch the NodePilot product tour, Workflow Designer with a health-check workflow: parallel checks, an LLM summary and a decision

Watch product video

Browse screenshots
🎨 Workflow Designer

Workflow Designer, parallel fan-out/fan-in, decision branches, live properties panel, seven-cluster toolbar

📊 Dashboard

Dashboard, run status, execution-duration percentiles, most common errors, quick actions

🛰️ Live-Ops Mission Control

Live-Ops Mission Control, what's running right now, what just finished, what starts next

🧾 Support Log, live tail

Support log, live tail plus structured support events


Table of Contents


Why NodePilot

NodePilot is agentless workflow orchestration for Windows, built in the browser and running PowerShell on remote machines over WinRM. It is meant for sysadmins automating Windows estates, for organizations looking for a modern alternative to SCOrch, as well as for private users who rely heavily on PowerShell.

Highlights


Install, pick one of three paths

NodePilot runs in three supported shapes. Each one leads to a working login on its own.

1 · Desktop app 2 · Windows service 3 · From source
For one person, one machine a team, a real server contributors, evaluation
You need Windows 11 x64, local admin Windows Server 2022/2025, a TLS certificate, a prepared database .NET 10 SDK, Node, a local PostgreSQL
You get installer .exe with bundled PostgreSQL and .NET runtime, opens a native window setup .exe (or the signed .zip + PowerShell installer), Windows service under a gMSA, Kestrel HTTPS dotnet run + Vite dev server on your own machine
Database bundled, loopback-only you provide it you provide it
Offline yes, fully yes no (package restore)
Guide below · details below · step-by-step below

NodePilot is Windows-only by design, because the engine drives PowerShell remoting over WinRM and protects credentials with DPAPI.

On every path the first login creates the Admin account with a one-time setup token. Where the token comes from is noted per path.


Path 1: Desktop app

A local application for Windows 11 x64. One .exe bundles the app, the .NET 10 runtime and a local PostgreSQL, installs them as background services and opens a native window. It works fully offline.

NodePilot-Desktop-Setup-<version>.exe is downloaded from the latest release and run with local admin rights. The installer hands the setup token straight to the login screen. Since the backend runs as a service, scheduled and webhook triggers keep firing while the window is closed. Help with problems is in docs/desktop-troubleshooting.md, and all log files are listed under Logs & diagnostics.

Building the installer yourself

The build requires the .NET 10 SDK, Node, Inno Setup 6 and the pgsql folder of the PostgreSQL 16 binaries.

deploy\desktop\Build-DesktopInstaller.ps1 -PgBinariesPath 'C:\Packages\pgsql' -Version 1.2.0
# -> deploy\desktop\out\NodePilot-Desktop-Setup-1.2.0.exe

This script does not sign. A signed installer comes from the release build (deploy\Build-Artifact.ps1 -IncludeDesktopInstaller), see deploy/desktop/README.md.


Path 2: Windows service

NodePilot runs as a Windows service under a gMSA, with HTTPS directly in Kestrel and in-place upgrades that can roll back.

Prerequisites, all checked by the installer's pre-flight:

With the wizard. NodePilot-Server-Setup-<version>.exe from the latest release checks every prerequisite before changing anything and can install the runtimes, create the database or issue a lab certificate. It also runs unattended: Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /ANSWERFILE=answers.json. Details are in deploy/server/README.md.

With the scripts, which the wizard uses as well. The signed NodePilot-<version>.zip is downloaded with its manifest files, verified against NodePilot-<version>.SHA256SUMS.txt and installed:

.\deploy\Install-NodePilot.ps1 `
    -ArtifactPath 'C:\Packages\NodePilot-1.2.0.zip' `
    -TrustedArtifactSignerThumbprint '<publisher thumbprint from the release notes>' `
    -CertThumbprint '<your TLS cert thumbprint>' `
    -ServiceAccount 'CONTOSO\svc-nodepilot$' `
    -PublicHostname 'nodepilot.corp.example.com'

The installer refuses unsigned or tampered artifacts. The pinned thumbprint is the trust decision, so no certificate has to be imported beforehand.

Further reading: the Windows Server deployment walkthrough, verification and troubleshooting in docs/deployment-guide.md, and every parameter in deploy/README.md.


Path 3: From source

For contributors and for evaluation on a workstation.

Prerequisites

1. Create the database

winget install PostgreSQL.PostgreSQL
$psql = "C:\Program Files\PostgreSQL\16\bin\psql.exe"
& $psql -U postgres -c "CREATE ROLE nodepilot WITH LOGIN PASSWORD 'ChangeMe!';"
& $psql -U postgres -c "CREATE DATABASE nodepilot OWNER nodepilot;"

2. Start the backend (port 5000)

The password is passed through the environment, so that it never lands in a tracked file:

$env:ConnectionStrings__Postgres = "Host=127.0.0.1;Port=5432;Database=nodepilot;Username=nodepilot;Password=ChangeMe!;SSL Mode=Disable"
cd src\NodePilot.Api
dotnet run

On first start the setup token is written to src\NodePilot.Api\admin-setup.token. The login screen asks for it on the first attempt and then creates the Admin account.

3. Start the frontend (port 5173)

cd src\nodepilot-ui
npm install
npm run dev

http://localhost:5173 serves the app and proxies /api, /healthz and /hubs to port 5000.

4. (optional) Bring up Grafana

cd grafana
Copy-Item .env.example .env     # then set NODEPILOT_GRAFANA_ADMIN_PASSWORD
docker compose up -d
# Grafana    -> http://localhost:3000   (user "admin", the password you just set)
# Prometheus -> http://localhost:9090

Startup requires a unique NODEPILOT_GRAFANA_ADMIN_PASSWORD. Compose fails closed while the password is missing. On the API side, these three variables enable the Prometheus endpoint:

$env:OpenTelemetry__Enabled = "true"
$env:OpenTelemetry__Exporters__PrometheusScrape = "true"
$env:OpenTelemetry__Exporters__PrometheusScrapeAllowAnonymous = "true"

More in grafana/README.md and in the installation guide on the documentation site, in English and German.


Example workflow

scripts/readme-showcase-workflow.json is a nightly health check of the NodePilot host that runs three probes in parallel, gathers them at a junction and then either sends an alert or logs that all is well. A fault or a probe without evidence always takes the alert path; to check another host, give the probes a targetMachineId. It is imported on the Workflows page via Import or through POST /api/workflows/import.


Coming from System Center Orchestrator

SCOrch is not going anywhere. System Center 2025 Orchestrator is supported until 2035, so an existing installation is not on a deadline. The exception is System Center 2016 Orchestrator, whose extended support ends on January 11, 2027. The options side by side are on the SCOrch alternative page.

What has not moved is authoring. Runbooks are still built in the desktop Runbook Designer, without version history, diff or rollback. NodePilot keeps the agentless model and moves the editor, the debugger and the version history into the browser.

Existing runbooks come across. NodePilot reads SCOrch's .ois_export XML (2012, 2016 and 2019) and turns runbooks into workflows:

np workflow import-scorch --file .\runbooks.ois_export

Import also runs from the UI and from POST /api/workflows/import-scorch. The result is a draft to be reviewed: imported workflows arrive disabled, and credentials are not reconstructed because SCOrch encrypts them. Details are in the import documentation.

How the two compare

System Center Orchestrator NodePilot
Support lifecycle mainstream to 2030, extended to 2035 rolling releases, no vendor behind it
Agents on targets none none, same WinRM model
Authoring desktop Runbook Designer browser, live canvas
Debugging Runbook Tester breakpoints in the real engine, variable overrides, replay
Versioning none snapshots, diff, rollback
Automation API web API for jobs full REST API, np CLI, MCP server
Observability job history OpenTelemetry, Prometheus, Grafana dashboards
Database SQL Server PostgreSQL or SQL Server
Licence commercial, per managed host Apache-2.0
Support vendor community, single maintainer

NodePilot provides the source and no support contract, and it is to be judged on that basis.


Documentation

Everything below the surface lives on the documentation site, 45 pages in English and German, with search and deep links. This README deliberately stops at "installed and logged in".

Start here Introduction · Installation · Architecture
Building workflows Workflows & activities · Data bus & variables · Edge conditions · Sub-workflows
The designer Overview · Canvas, nodes & edges · Properties, modes & shortcuts
Reference All 29 activities · Triggers · API endpoints · np CLI · MCP server
Running it Windows Server · Desktop app · Antivirus exclusions · Logs & diagnostics · Configuration
Security Security model · Hardening flags · Audit log
Enterprise High availability · Secret providers · AD SSO Preview · Folder RBAC

The API also documents itself. The OpenAPI spec is served at GET /openapi/v1.json, with Swagger UI at GET /swagger, in Development by default.

Production deployment

A real server rollout follows Windows Server deployment on the documentation site, a lab-validated walkthrough covering service identity, both database providers, certificates and the first admin account. The installer runs NodePilot as a Windows service under a gMSA with direct Kestrel HTTPS, splits install and data directories, and upgrades in place with automatic rollback.

Two companions belong to it. docs/deployment-guide.md covers what happens before installation (verifying the download against its checksums and publisher, and building the artifact in-house) and carries the troubleshooting table. deploy/README.md is the parameter reference, and states what the installer deliberately does not do.

Before a deployment into an environment with endpoint protection, docs/av-exclusions.md is to be handed to whoever owns it. NodePilot runs PowerShell by design, and that trips heuristics.


Project Structure

src/
  NodePilot.Core/         Domain models, interfaces, enums (zero dependencies)
  NodePilot.Ai/           LLM stack: ILlmClient/OpenAI transport + SSRF guard, prompt catalog, script/workflow gen + chat assistant (Core-only; used by Api and Engine)
  NodePilot.Data/         EF Core DbContext, CredentialStore (DPAPI), provider-agnostic migrations
  NodePilot.Remote/       WinRM session factory + PowerShell SDK session
  NodePilot.Engine/       WorkflowEngine, 29 activities, RetryPolicy, DebugCoordinator
  NodePilot.Scheduler/    TriggerOrchestrator (Quartz.NET), 4 background trigger sources + retention/cluster services
  NodePilot.Telemetry/    OpenTelemetry setup, Prometheus client, metric constants
  NodePilot.Api/          ASP.NET Core host, controllers, SignalR hub, security middleware
  NodePilot.Cli/          `np`: operations CLI (Spectre.Console.Cli), shipped in both installers under tools\np
  NodePilot.Mcp/          `nodepilot-mcp`: MCP server for AI agents (ModelContextProtocol), shipped under tools\mcp
  NodePilot.Switcher/     WPF utility for exclusive local NodePilot/SCOrch service control
  nodepilot-ui/           React 19 SPA (Vite 8 + Tailwind CSS 4 + React Flow 12)
  nodepilot-docs-ui/      Documentation website (Vite + React SPA): its OWN curated markdown corpus under content/{de,en}/, maintained alongside docs/ (not a 1:1 render)
  nodepilot-desktop/      Electron shell for the desktop app: thin hardened viewer, no business logic

tests/
  NodePilot.Engine.Tests/   xUnit: engine + every activity executor
  NodePilot.Ai.Tests/       xUnit: LLM client factory, endpoint guard, prompt catalog, gen/chat services
  NodePilot.Data.Tests/     xUnit: EF context + migrations
  NodePilot.Api.Tests/      xUnit: controllers, auth, telemetry, validation
  NodePilot.Cli.Tests/      xUnit + WireMock.Net: CLI ApiClient + DPAPI TokenStore
  NodePilot.Mcp.Tests/      xUnit + WireMock.Net: MCP tools + stdio-process smoke test
  NodePilot.LoadTests/      Standalone load harness (Console EXE, NBomber)
  NodePilot.Switcher.Tests/ xUnit - discovery, state machine, fail-closed switching
  NodePilot.TestCommons/    Shared test infrastructure (TestDbFactory, FakeLlmClient, fixtures)

grafana/                  Docker-compose stack: Prometheus + Grafana + 10 dashboards
deploy/                   Production install / update / uninstall PowerShell scripts
docs/                     Feature docs (AI, styleguide, perf, security, deployment)
samples/                  Example workflows for the importer

Dependency graph: Api → Ai, Engine, Scheduler, Data, Remote, Core, Telemetry Engine → Ai, Data, Remote, Core, Telemetry Scheduler → Engine, Data, Core · Ai → Core · Data → Core · Remote → Core · Telemetry → Core Cli → Core · Mcp → Core (HTTP-only, no backend project references)


Testing

Six CI jobs gate every pull request and every push to main: backend build and tests with an enforced 85 % line / 70 % branch coverage gate, database-provider integration tests, frontend lint/build/vitest, docs-site lint/tests/build, desktop-shell typecheck and tests, as well as hermetic Playwright E2E.

Tests are mandatory. Every behaviour change ships with tests in the same change. Which tests you run locally is scoped to what you touched. The full suite is CI's responsibility, not yours. Commands, the scoping rules and the guard-test mapping are documented in CONTRIBUTING.md and CLAUDE.md.

Two conventions are worth knowing beforehand: the WinRM remote layer is always mocked, and backend database tests run on in-memory SQLite, a test backend only, never a supported production provider.


Contributing

Contributions are welcome. CONTRIBUTING.md has the full setup: prerequisites, how to obtain a local PostgreSQL and a first admin account, the build and test commands, as well as the conventions that CI enforces.

The short version:

  1. Open an issue first for anything non-trivial, it saves a round of "we already explored that" review comments.
  2. Tests ship with the change, not after it. CI fails without them.
  3. No backwards-compat shims. NodePilot is greenfield, replace cleanly rather than keeping the old path alive behind a flag.
  4. Hand-built workflow JSON requires docs/workflow-styleguide.md first, layout rules, edge-label conventions, and engine gotchas.

A security problem does not belong in a public issue. SECURITY.md has the private reporting path. Everyone taking part is expected to follow the Code of Conduct.

CLAUDE.md is working notes for AI coding agents, not contributor documentation. It is checked in deliberately: NodePilot is built with agentic engineering, so the context an agent needs to work on this codebase belongs in the repository rather than in someone's private setup. What that does not change is the bar every change has to clear, behaviour changes ship with tests, and CI enforces the coverage gate on every pull request. CONTRIBUTING.md is the file written for people.


License

NodePilot is licensed under the Apache License 2.0. Use, modification and distribution are permitted, including commercially, provided that the copyright and license notices are retained. See LICENSE for the full text.


Acknowledgments


Further Reading

NodePilot (Sev7eNup/NodePilot)

Searching Database…

What is this?NodePilot is an open-source, self-hosted platform for building and running Windows/PowerShell automation workflows, designed as a modern agentless replacement for Microsoft System Center Orchestrator.
Is this a replacement for System Center Orchestrator, or something that just imports its runbooks?Both: it is a full standalone orchestration product with its own designer, engine, CLI and APIs, but it also directly imports native .oisexport XML from SCOrch 2012/2016/2019 so existing runbooks can be brought in rather than rebuilt from scratch.
How do I get NodePilot running?You can try it instantly via the browser-only live demo with no install, or deploy for real via Docker Compose or the turnkey PowerShell installer that sets it up as a Windows Service under a gMSA.
Do I need WinRM access to target machines, or an API key for the AI features?Remote steps run over WinRM against the target Windows estate (localhost runs in-process without WinRM); AI script/workflow generation is optional and works with OpenAI or fully local Ollama, LM Studio or vLLM for zero-egress setups.
Is a System Center Orchestrator import ready to run right away?No — imported workflows arrive disabled, credentials from SCOrch can't be reconstructed since SCOrch encrypts them, and the import report flags lossy translations (dangling references, dropped run-as accounts, unconditional links) that need manual review before activation.
Do I need to install an agent on the Windows machines being automated?No — execution is agentless over WinRM, the same model SCOrch uses, so target machines only need WinRM enabled, not any NodePilot software.
Does the AI chat assistant send my workflow data anywhere?The chat is read-only and opt-in per knowledge source (docs, folder-scoped operational data, source code, read-only SQL); it never executes or publishes anything, and the live demo itself runs entirely client-side without sending data anywhere.
What is the np CLI for?np is a full-featured operations client for login, running and watching workflows, audit, lock/publish and import/export, shipped as a self-contained folder you can add to PATH.
Can AI agents like Claude control NodePilot directly?Yes, an opt-in MCP server (nodepilot-mcp) exposes 102 tools across 10 groups over HTTP against the same REST API, usable from Claude Code, Claude Desktop or any MCP client, with destructive operations gated.
What observability tools does NodePilot support out of the box?An opt-in OpenTelemetry/Prometheus exporter plus a hardened, loopback-bound Grafana stack with 10 pre-provisioned dashboards covering Mission Control, Workflows, WinRM, Security and more; it fails closed if the Grafana admin password isn't set.
Is the Active Directory SSO feature production-ready?No, it's labeled a Preview: hardened LDAP/Kerberos, OIDC and SCIM with directory-backed RBAC are implemented but production status waits on a real AD/Kerberos/LDAPS field gate.
Creator
Sev7eNup
Size
62.9 MB
Stars
205
Age
4mo
Commits · 90 Days