Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(cli): `jarvis serve` (clean headless run) + `[full]` extra

Ruben Lütke574ac4d7dfc4
diff --git a/jarvis/__main__.py b/jarvis/__main__.py
index 906a176cd3..86389afd5d 100644
--- a/jarvis/__main__.py
+++ b/jarvis/__main__.py
@@ -57,6 +57,13 @@ def _parse_args(argv: list[str]) -> argparse.Namespace:
dest="reset_onboarding",
help="Clear onboarding markers so the first-run guide shows again.",
)
+ parser.add_argument(
+ "command",
+ nargs="?",
+ choices=["serve"],
+ help="serve: start the headless web UI (browser/server, no desktop) — "
+ "the cloud-first path for a VPS, Mac or Linux. Open the printed URL.",
+ )
return parser.parse_args(argv)
@@ -344,6 +351,12 @@ def main(argv: list[str] | None = None) -> int:
return _cmd_install_admin_helper()
if args.reset_onboarding:
return _cmd_reset_onboarding()
+ if args.command == "serve":
+ # Headless web UI — the cloud-first path (no desktop/tray). Delegates to
+ # the web launcher so `jarvis serve` == `python -m jarvis.ui.web.launcher --headless`.
+ from jarvis.ui.web import launcher
+
+ return launcher.main(["--headless"])
if args.wizard or cfg.is_first_run():
rc = _cmd_wizard()
if rc != 0 or args.wizard:
diff --git a/pyproject.toml b/pyproject.toml
index 0f94f3bddc..16e61df285 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -93,6 +93,16 @@ dev = [
"mypy>=1.13",
"pyinstaller>=6.11",
]
+# "Everything a normal power user wants" in one shot: the desktop app (tray /
+# overlay / hotkey / screen capture) + telephony (phone calls) + chat channels.
+# Each sub-extra carries its own platform markers, so `pip install .[full]`
+# quietly skips what does not apply to the OS. Deliberately EXCLUDES the heavy
+# `local-voice` extra (torch + faster-whisper, multi-GB, GPU-oriented) — add that
+# explicitly with `.[local-voice]` for offline speech. The cloud-first BASE
+# install still needs none of this; `[full]` is the opposite end of the spectrum.
+full = [
+ "personal-jarvis[desktop,telephony,channels]",
+]
# Twilio telephony voice agent (call Jarvis on a phone number). Optional extra
# per the cloud-first doctrine: the base install must boot without it, and the
# telephony routes degrade gracefully when it is absent (AD-T8). `audioop` is