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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(cloud-first): base install now boots headless on a fresh machine + add install.sh
Ruben Lütke2ab1c213d0ec
diff --git a/install.sh b/install.shnew file mode 100644index 0000000000..03f35a04b9--- /dev/null+++ b/install.sh@@ -0,0 +1,79 @@+#!/usr/bin/env bash+#+# Personal Jarvis — one-command install (Linux / macOS).+#+# git clone https://github.com/PersonalJarvis/PersonalJarvis+# cd PersonalJarvis+# ./install.sh+#+# Creates an isolated virtual environment and installs the cloud-first BASE:+# no GPU, no local models, no desktop/audio drivers required — it boots on a+# fresh machine (proven on python:3.11-slim). Desktop voice, local Whisper and+# the Orb overlay are opt-in extras you can add later with:+#+# ./install.sh --desktop+#+# After install, start it with: . .venv/bin/activate && jarvis+# Headless browser UI (no desktop needed): jarvis --headless+#+# Requires Python 3.11, 3.12 or 3.13.+set -euo pipefail++REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+cd "$REPO_DIR"++EXTRAS=""+for arg in "$@"; do+ case "$arg" in+ --desktop) EXTRAS=".[desktop]" ;;+ --dev) EXTRAS=".[dev]" ;;+ *) echo "Unknown option: $arg (use --desktop or --dev)" >&2; exit 2 ;;+ esac+done++# --- 1. Python 3.11+ ---------------------------------------------------------+PY="${PYTHON:-python3}"+if ! command -v "$PY" >/dev/null 2>&1; then+ echo "✗ Python 3.11+ is required but '$PY' was not found on PATH." >&2+ echo " Install Python 3.11–3.13, then re-run ./install.sh" >&2+ exit 1+fi+ver="$("$PY" -c 'import sys; print("%d.%d" % sys.version_info[:2])')"+case "$ver" in+ 3.11|3.12|3.13) ;;+ *) echo "✗ Python 3.11–3.13 required (found $ver). Set PYTHON=/path/to/python3.11 and re-run." >&2; exit 1 ;;+esac+echo "→ Using Python $ver ($("$PY" -c 'import sys; print(sys.executable)'))"++# --- 2. isolated virtual environment ----------------------------------------+if [ ! -d .venv ]; then+ echo "→ Creating virtual environment (.venv)…"+ "$PY" -m venv .venv+fi+# shellcheck disable=SC1091+. .venv/bin/activate+python -m pip install --quiet --upgrade pip++# --- 3. install Personal Jarvis ---------------------------------------------+if [ -n "$EXTRAS" ]; then+ echo "→ Installing Personal Jarvis with extras ($EXTRAS)…"+ pip install --quiet "$EXTRAS"+else+ echo "→ Installing Personal Jarvis (cloud-first base — no GPU/desktop needed)…"+ pip install --quiet .+fi++# --- 4. done -----------------------------------------------------------------+cat <<'DONE'++✓ Personal Jarvis is installed.++ Start it:+ . .venv/bin/activate && jarvis++ No desktop? Use the browser UI (headless server):+ jarvis --headless++The first run walks you through ONE AI-provider key. Without a key it starts in+a zero-config demo mode (mock brain) so you see it running immediately.+DONEdiff --git a/jarvis/ui/web/federation_proxy_routes.py b/jarvis/ui/web/federation_proxy_routes.pyindex a92cbe43de..fc1c580862 100644--- a/jarvis/ui/web/federation_proxy_routes.py+++ b/jarvis/ui/web/federation_proxy_routes.py@@ -26,7 +26,22 @@ from jarvis.board.sync import (_load_or_create_privkey,_resolve_admin_token,)-from board_backend.crypto import canonical_json, sign+try:+ from board_backend.crypto import canonical_json, sign+except ModuleNotFoundError:+ # `board_backend` is a SEPARATE, optional package (the Board-federation+ # backend). The base app MUST import this module without it (cloud-first:+ # a fresh `pip install .` has no board_backend), so the whole server still+ # boots. The federation routes then return a clear 503 when actually called,+ # instead of crashing the server at import time.+ def _federation_unavailable(*_a: Any, **_k: Any) -> Any: # type: ignore[misc]+ raise HTTPException(+ status_code=503,+ detail="Board federation is unavailable — the optional 'board_backend' package is not installed.",+ )++ canonical_json = _federation_unavailable # type: ignore[assignment]+ sign = _federation_unavailable # type: ignore[assignment]log = logging.getLogger(__name__)router = APIRouter(prefix="/api/board/federation", tags=["board-federation"])diff --git a/jarvis/ui/web/launcher.py b/jarvis/ui/web/launcher.pyindex 7bf57277be..748305c896 100644--- a/jarvis/ui/web/launcher.py+++ b/jarvis/ui/web/launcher.py@@ -307,7 +307,20 @@ async def _run_headless(cfg) -> int:# Bus is passed so mascot-originated user events (mute toggle on# doubleClick) can be republished on the EventBus where the voice# pipeline subscribes.- from jarvis.overlay.integration import start_overlay, stop_overlay+ # Orb overlay is a desktop-only extra (separate `overlay` package). On a+ # headless / cloud base install it isn't present — skip it cleanly so the+ # server still boots (cloud-first). The no-op stubs keep the shutdown path+ # (stop_overlay, below) valid. start_overlay itself no-ops when disabled.+ try:+ from jarvis.overlay.integration import start_overlay, stop_overlay+ except ModuleNotFoundError:++ async def start_overlay(*_a: object, **_k: object) -> None: # type: ignore[misc]+ return None++ async def stop_overlay(*_a: object, **_k: object) -> None: # type: ignore[misc]+ return None+await start_overlay(bus=server.bus)# Auto-start all enabled MCP servers as a fire-and-forget task