Skip to content

[Feature]: First-class headless / server mode for the Orca runtime #4280

Closed

Description

@giezi

Problem or use case

Provide a supported way to run the Orca runtime and orca CLI on a headless Linux server (no display, no GPU, no desktop) — without the Electron GUI.

This is the missing server-side counterpart to the existing "Remote Orca Servers" (BETA) feature. That feature already ships the client side: switching the active runtime from "Local desktop" to a paired remote runtime, saving servers (Add Server), and sharing revocable access grants.

But today the only thing a client can point at is another desktop instance with a GUI. There is no way to run that remote runtime headless on a server. Completing this makes "Remote Orca Servers" actually useful — you can run the runtime on a VPS / build box / container and pair into it.

The runtime is bundled inside the Electron desktop app. orca serve and the orca CLI therefore inherit Electron's hard dependency on a display server, which makes them unusable on a bare server.

Common scenarios where you want the runtime on the server, not driven from workstation, like Always-on orchestration — run orca automations / the coordinator loop 24/7 on a VPS, independent of any desktop being open.

Proposed solution

Make orca serve deliver on what the help text already promises — a runtime that runs headless with no display dependency:

  • Headless runtime / entrypoint — orca serve --headless (or a dedicated orca-server binary) that boots with no Electron window dependency and no xvfb. Ideally the runtime is factored out of the renderer so it can run on Node alone.

  • Standalone CLI install — a way to install just the orca CLI on a host without the desktop app, pointed at a runtime via pairing code / environment (the flags already exist).

  • Pairing into headless — a headless runtime can issue a pairing grant that a desktop client adds via Remote Orca Servers → Add Server and selects as its Active Server. This completes the existing BETA feature.

Alternatives or additional context

Thanks for the awesome project! 🙌

Activity

  1. added
    enhancement
    on May 31, 2026
  2. added
    size/xl
    on Jun 9, 2026
  3. added theissue type on Jul 12, 2026
  4. added
    orca-remote-server
    on Jul 22, 2026
  5. AmethystLiang commented on Jul 22, 2026

    @AmethystLiang
    Contributor

    Status check (2026-07-22): partially achieved, not fully done

    This issue is still open. The practical server path works; the ideal Electron-free runtime does not.

    Acceptance criteria

    Criterion Status
    Run runtime headless on a Linux VPS (no desktop window) Done — orca serve
    Pair desktop client via Remote Orca Servers / pairing code Done
    No Electron / no Xvfb / plain Node runtime Not done
    Standalone npm orca-server (or equivalent) install without desktop app Not done

    What is already shipped

    There is a supported headless Linux server path documented in docs/reference/headless-linux-server.md:

    • Install the Linux AppImage
    • Run orca serve (optionally with --port, --pairing-address, --json)
    • Starts without opening a desktop window
    • On Linux, auto-starts Xvfb when DISPLAY is unset (Xvfb must be installed first)
    • Emits a pairing URL / ready JSON so a desktop client can add it as a Remote Orca Server

    Follow-on work has landed on that path, including:

    What is still missing (the ideal form from this issue)

    This issue also asks for:

    1. A true headless entrypoint with no Electron window dependency and no Xvfb (ideally Node-only)
    2. A standalone CLI/server install without the desktop app
    3. That package being the remote runtime clients pair into

    That is tracked by #6844 — feat(server): headless, Electron-free @stablyai/orca-server — which is still open (not merged). @stablyai/orca-server is not published on npm.

    Shipped orca serve still goes through the Electron AppImage + Xvfb stack. The docs explicitly note that the AppImage still needs Electron’s runtime libraries.

    Bottom line

    • Usable today: headless remote runtime on a Linux server via AppImage orca serve + pairing (with Xvfb).
    • Not achieved yet: first-class Electron-free / Node-only server package that completes Remote Orca Servers as described here.

    So this issue is partially delivered, not done. Closing would be premature until #6844 (or equivalent) ships the Electron-free path, unless we deliberately re-scope this issue to the AppImage + Xvfb solution.

  6. AmethystLiang commented on Aug 3, 2026

    @AmethystLiang
    Contributor

    Still working on this

  7. nwparker commented on Oct 22, 2026

    @nwparker
    Contributor

    Implemented by the managed Orca server (orcad) path in #24863. Adding an SSH host now installs Orca’s pinned Node runtime, server and target-side CLI without installing the desktop/Electron runtime on that host. The server serves the normal runtime RPC and pairing contract; Linux/Windows orca serve also selects orcad by default.

    Verified the current plain-Node entrypoint, bundled CLI launcher, remote installer and pairing/readiness coverage. This supplies the dedicated server equivalent requested here, including the two requirements still missing in the July status comment. The older open npm-package proposal #6844 is a different packaging route. Closing as completed.

    #24863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementorca-remote-serversize/xl

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions