GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nwomn/openhalo: Presence-first personal agent runtime for multi-device context, proactive interaction, and governed actions.

BranchesTags
Open more actions menu

Latest commit

 

History

371 Commits
371 Commits

Folders and files

NameName
Last commit message
Last commit date
.codex
.codex
 
 
.github/workflows
.github/workflows
 
 
agent_guard
agent_guard
 
 
assets/brand
assets/brand
 
 
bin
bin
 
 
config
config
 
 
device_edge
device_edge
 
 
docs
docs
 
 
edge_api
edge_api
 
 
experiments
experiments
 
 
openhalo
openhalo
 
 
openhalo_common
openhalo_common
 
 
personal_runtime
personal_runtime
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Project.md
Project.md
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
SECURITY.md
SECURITY.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

OpenHalo

简体中文

OpenHalo is a presence-first personal agent runtime built around the chain:

device -> context -> presence -> action

Instead of treating chat as the center of the product, OpenHalo treats devices as edges, the runtime as a long-lived personal backend, and presence as an explicit governance layer for deciding when and how the system should surface itself.

Project Status

This is an alpha source repository, not a hosted public Runtime. Do not expose a bearer-credential Runtime endpoint from these development instructions. Owner-paired ws:// direct-IP and wss:// endpoints are both supported; the former does not encrypt network traffic. Mobile sensitive-screen governance remains tracked work.

What It Is

OpenHalo is currently an architecture-led runtime project with an implemented baseline. The repository already includes:

  • A long-running Personal Runtime backend with a WebSocket gateway
  • A host-class Device Edge
  • A resident terminal Device Edge
  • A first Android phone Device Edge product UI
  • Cross-edge action routing for early multi-edge validation
  • Grounded proposal formation, prompt/context inspection, and model-provider diagnostics

Working Architecture

  • Frontend / Device Edge: device-resident runtime surfaces for sensing, interaction, local permissions, and low-latency actions
  • Backend / Personal Runtime: long-lived cross-device runtime state, agent behavior, presence governance, and action orchestration

Core backend layers:

  • Gateway
  • State / Context / Task
  • Presence Router
  • Agent Runtime (Main Hermes, InteractionPool, proposal formation and execution planning)
  • Action Layer

Deployment Shapes

OpenHalo is being built toward a small set of deployment scenes:

  • Standard personal deployment: one public or home server runs Personal Runtime + host edge; a computer runs a desktop/terminal edge; an Android phone runs the phone edge APK.
  • Computer-hosted deployment: one personal computer runs Personal Runtime + host edge + desktop/terminal edge; the Android phone connects to that computer-hosted runtime.
  • Future ambient deployment: phones, computers, smart-home devices, sensors, and small edge-AI nodes participate as a low-presence personal environment, so OpenHalo can understand context and act through the least intrusive nearby surface.

All deployment scenes preserve the same boundary:

Device Edge -> Edge API -> Gateway -> Personal Runtime

The server, computer, and phone may be physically close or even colocated, but edge traffic should still cross the Edge API boundary instead of importing backend internals directly.

Progress Toward Deployment

The deployment shapes above require three things to come together: a durable runtime, real device edges, and installable product packaging. The current implementation has moved beyond pure architecture planning, but it is not yet a fully packaged three-end product.

Surface Implemented scope Current status
Personal Runtime / Host Gateway, context, governed actions, SQLite, pairing, managed Host and release update/rollback See the canonical acceptance table in Project.md.
Terminal / Coding Edge Resident CLI/TUI, progress, bounded Coding activity and control Real parallel Child workflow remains separately scoped.
Android Product UI, paired sessions, passive observations and M17.7.2 liveness/recovery foundation Sensitive-screen governance and formal distribution remain open.
Camera / Proxy Bounded device-specific implementation and physical evidence Component evidence does not imply complete Camera/Proxy acceptance; hardware availability is recorded in Project.md.
Product packaging Owner commands, private data home and verified release staging/rollback Signing, Windows packaging and full product acceptance remain open.

The project roadmap and milestone status live in Project.md.

Android Phone Edge

The first Android phone Edge product UI is complete as milestone M17.4. It provides:

  • Connect: the default connection/status surface
  • Global Chat: phone-originated mobile.input through the public Edge API
  • Settings: runtime URL, device name, permission/background controls, cache/reset actions, and a hidden developer diagnostics entry

A preview APK is published through GitHub Releases:

  • v0.17.4-mobile-edge-preview

This APK is a debug-signed preview artifact for early installation and testing. Formal release signing, updater/distribution polish, and packaged three-end delivery are tracked as later productization work.

Install A Personal Runtime

For a Linux server or personal computer with Git and Python 3.11+, install a published fixed commit. Use the same 40-character commit ID in both placeholders:

curl -fsSL https://raw.githubusercontent.com/nwomn/openhalo/<commit>/scripts/install.sh | bash -s -- --ref <commit>
export PATH="$HOME/.local/bin:$PATH"
openhalo setup
openhalo start
openhalo pair

The installer makes openhalo available from ~/.local/bin, creates no Runtime data until setup, and keeps personal configuration, state, and paired device credentials in ~/.openhalo. Add ~/.local/bin to your login-shell configuration once if it is not already on PATH. openhalo start also manages the colocated Host Edge. openhalo pair prints a one-time pairing code for the phone or computer Edge; its saved device credential means the Edge does not need the code again.

openhalo setup listens on 0.0.0.0:8765 by default, so a remote Edge can normally pair directly to ws://<server-ip>:8765 without a domain or reverse proxy. wss://<runtime-domain>/openhalo/edge remains fully supported for an owner who wants TLS termination. Pairing, P-256 challenge proofs, and device revocation remain required for both transports; ws:// intentionally does not encrypt the network traffic.

To install only the Terminal Edge on another computer:

curl -fsSL https://raw.githubusercontent.com/nwomn/openhalo/<commit>/scripts/install.sh | bash -s -- --edge-only --ref <commit>
export PATH="$HOME/.local/bin:$PATH"
openhalo-edge setup --url ws://<server-ip>:8765 --pairing-code <one-time-code>
openhalo-edge

Normal Runtime control is openhalo status, openhalo logs --lines 100, and openhalo stop. Full proxy, update, and troubleshooting instructions are in docs/runtime-deploy.md.

The Runtime is direct by default. Configure an owner-only HTTP/HTTPS proxy with openhalo proxy set, inspect it with openhalo proxy show, verify the selected Provider path with openhalo proxy test, or return to direct access with openhalo proxy clear. Proxy credentials are entered through a hidden prompt and are redacted from command output; these commands never change Edge WebSocket transport.

After first installing a build that includes the updater, normal updates use the latest stable GitHub Release with complete Runtime assets:

openhalo update --check
openhalo update

The update stages and verifies the Release archive without changing ~/.openhalo. For a running Runtime, it starts the candidate only after the old process has stopped; if the candidate does not become ready, OpenHalo restores the prior program release and Runtime automatically.

An existing installation retains its previous bind configuration across an update. To adopt the direct-IP default after updating, run openhalo stop, openhalo setup, and openhalo start once.

Development Quick Start

Runtime development commands below target Linux/WSL with Python 3.11+. Native Windows Runtime packaging is not yet accepted.

The local development loop uses one development runtime on port 18765, plus local host/terminal edges and an emulator or phone edge.

Use the repository root virtual environment:

python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"

Start a development runtime:

# First setup only; configure the provider fields in this private local file:
cp -n config/runtime-config.example.toml config/runtime-config.toml
bin/run-runtime-dev

The Runtime starts its colocated host-edge-1 automatically. Start the terminal edge in a second terminal:

# Create a code in the same pairing store used by bin/run-runtime-dev:
.venv/bin/python -m personal_runtime.pairing_cli create \
  --store .runtime/android-openai-dev-pairing.json

# Copy pairing_code from that command into this one-time setup:
.venv/bin/openhalo-edge --home .runtime/dev-terminal setup \
  --url ws://127.0.0.1:18765 \
  --pairing-code <one-time-code> --device-id terminal-edge-1
.venv/bin/openhalo-edge --home .runtime/dev-terminal run --line-mode

The development helper uses port 18765 so an installed personal Runtime can use port 8765. See docs/runtime-deploy.md for the owner-facing install, setup, pairing, and lifecycle commands.

Important Docs

  • Project.md: project baseline, milestones, architecture direction, current status
  • docs/dev-env.md: local development and verification workflow
  • docs/dev/github-workflow.md: GitHub Project views, fields, milestones, and execution workflow
  • docs/runtime-deploy.md: personal Runtime install, pairing, and lifecycle commands
  • docs/android-edge-install.md: Android phone Edge setup and install notes
  • docs/m17-android-edge-acceptance.md: Android Edge verification ladder
  • docs/design/mobile-edge-ui/mobile-edge-ui-spec.md: phone Edge product UI design baseline
  • docs/ops/runtime-troubleshooting.md: production runtime and edge-connection troubleshooting
  • docs/plans/2026-06-16-runtime-architecture-design.md: architecture baseline
  • CONTRIBUTING.md: contribution and local verification rules
  • SECURITY.md: private vulnerability reporting policy
  • LICENSE: MIT license

Notes

  • The real model-provider path is still under active hardening.
  • The first Android phone Edge product UI is usable, but broader packaging and distribution are still evolving.
  • Source collaboration is available under MIT; private vulnerability reporting must be enabled in the repository Security settings before public release.
  • Keep usage accurate; milestone status belongs in Project.md rather than a parallel README roadmap.
  • This repository is evolving quickly; treat Project.md as the source of truth for current direction.

About

Presence-first personal agent runtime for multi-device context, proactive interaction, and governed actions.

Topics

agent-runtimeambient-computingcontext-awaredevice-edgeedge-computingmulti-devicepersonal-agentpresence-firstpython

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

6 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.