Skip to content

[P3][Phase 3][Platform] Desktop Agents — Windows, macOS, Linux #5

Description

@krishsutariya1742

Overview

Deliver installable desktop agents for Windows, macOS, and Linux that connect to EngineX and execute local tasks — file access, desktop applications, VPN-only systems — without CLI setup for end users.

This is an edge/local automation capability, not the primary product interface. Most users operate through the web dashboard on a server (or client self-hosted EngineX in their VPC). Implement when a client requires on-machine access.

Priority: P3 — lowest on the board. No active work until a design partner requires local file or VPN automation.


Ticket metadata

Field Value
Phase Phase 3 — Expansion / backlog
Priority P3 — Parked
Type Platform (desktop client)
Depends on #4 Multi-tenant for secure registration (or interim single-tenant token for pilots)

Existing run modes

Mode Status Audience Environment
Web dashboard Built Approvers, operators Browser → ./engine serve
CLI Built Engineers ./engine run, validate, setup-credentials
TUI Built Power users ./engine run --tui
Headless daemon Built Operations ./engine run --daemon
Desktop installer (#5) Not built Employees with local data Installed application

Dashboard includes (PR #12): Ops console (/ops), checkpoint resume, HITL evidence panel, OAuth Connect (HubSpot/Zoho/Google Calendar).

Default GTM path today: client installs EngineX OSS in their VPC (headless and/or dashboard) — not desktop connector.


When to build vs defer

Build when

  • Data resides only on the user's machine (local files, Downloads)
  • Target systems are VPN/local-only and unreachable from cloud
  • Air-gapped or high-security deployment
  • IT requires managed rollout (MSI/pkg/deb) at scale

Defer — use server + web instead

  • #2 Hourly Tracking (server-side timer agent)
  • log_monitor and similar server-side agents
  • SAP/ERP/API integrations reachable from server
  • Human approval via browser (pause_nodes)

Personas

Persona Role
Knowledge worker Local tasks execute automatically; approvals in browser
IT admin Fleet deployment; registration token management
Platform team Registration provisioning; agent health monitoring

Phased delivery

MVP — Thin desktop connector

  • Install → register with EngineX backend → maintain connection
  • Secure registration (one-time token or OAuth device flow)
  • Background service (Windows Service / macOS LaunchAgent / systemd)
  • Backend dispatches local tool call → desktop executes → returns result
  • Status UI: connection state, logs

Phase 2 — Distribution

  • Windows MSI, macOS .pkg (notarized), Linux .deb/.rpm
  • Auto-update with signed releases
  • Enterprise silent install support

Phase 3 — Extended runtime

  • Full agent graphs offline; sync on reconnect
  • Local credential vault per tenant policy

Non-goals

  • Replacing web dashboard for approvals and workflow visibility
  • Default go-to-market path (server + browser first)
  • Offline agent authoring or marketplace in v1

System architecture

Cloud ↔ desktop ↔ local execution

Desktop agents register to a tenant backend (#4) and execute only delegated local work:

sequenceDiagram
 participant IT as IT admin
 participant Cloud as EngineX backend
 participant Desk as Desktop connector
 participant Local as Local files / VPN tools
 participant Web as Web dashboard

 IT->>Desk: Install + registration token
 Desk->>Cloud: Register (tenant-scoped)
 Cloud->>Web: Agent online — visible in session

 Cloud->>Desk: Dispatch local tool job
 Desk->>Local: Scoped read / write / command
 Local->>Desk: Result or error
 Desk->>Cloud: Return payload
 Cloud->>Web: Update session — operator sees outcome
Loading

Placement in product stack

flowchart LR
 subgraph primary [Primary path — most users today]
 VPC[Client VPC self-hosted EngineX]
 WEB[Web dashboard]
 SRV[Server-side agents]
 WEB --> SRV
 VPC --- WEB
 end

 subgraph edge [Edge path — when cloud cannot reach data]
 DESK[Desktop connector]
 LOC[Employee machine]
 DESK --> LOC
 end

 SRV --> BACK[(EngineX runtime)]
 DESK --> BACK
Loading

Reference diagram

Desktop agent architecture

Definition of done (MVP)

  • Installs on Windows, macOS, Linux
  • Securely registers to EngineX backend
  • Backend dispatches local tool; result visible in dashboard session
  • Persists as background service across reboot
  • Installation and troubleshooting documentation
  • E2E test: register → dispatch → result in session
  • Security review (token handling, command sandbox)

Open questions

  1. Thin connector vs full local AgentRunner for MVP?
  2. Protocol: extend SSE/API or new WebSocket/gRPC?
  3. Local tool allowlist: tenant admin vs per-machine policy?
  4. Code signing and notarization ownership?

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-3Phase 3 — expansion / backlogpriority-p3P3 — low / backlogtype-platformPlatform / infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions