xiaotianfotos/homerail
Self-hosted, voice-first DAG runtime for auditable agent workflows
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
HomeRail is a TypeScript orchestration runtime that separates planning, coordination, and execution. A request can go through the voice-oriented Manager Agent, or a person or existing coding agent can pass a workflow directly to the hr CLI. Both routes use homerail_manager to coordinate the DAG. homerail_node provisions a Docker container running homerail_worker for each DAG node. Workers have separate agent contexts and share ${HOMERAIL_HOME}/workspace/<run_id>/ within a run, so handoffs can pass artifacts without carrying the entire conversation forward.
homerail_protocol centralizes message contracts and validation. The Worker integrates model runtimes through harness adapters, including Claude Agent SDK; agent-ui is a separate browser client for the Manager's voice surface and generated widgets. The root package targets Node.js 20+ and npm 10+. The tree also contains homerail_plugin_sdk/ and plugins/, but their presence alone does not establish a stable plugin compatibility contract.
Key Capabilities & Differentiators
Workflows can run directly from YAML templates or be synced to the Manager database under a stable workflow_id; runtime profiles can be synced separately. Templates can assign different provider/model pairs to individual agents, with * as the fallback. This lets a planner and reviewer use a different endpoint from routine execution steps. The public live smoke workflow exercises plan → implement → test → review → summarize and verifies scorecard and evaluation output.
Operators can supervise, score, evaluate, and replay runs through hr. Multi-round WorkflowSpec v1 adds durable command boundaries: a workflow can pause and later resume selected logical actors under the same run. The voice interface defaults to Chinese and covers ASR, TTS, and VAD. For the Manager Agent, codex_appserver is the recommended harness for spoken progress: it derives commentary from native reasoning streams. claude-sdk and kimi-code are silent during execution, while deepseek_harness remains experimental. Those are Manager Agent distinctions, not a list of interchangeable Worker endpoints.
Trade-offs & Limitations
Compared with a chat-first coding agent, HomeRail makes execution easier to inspect by turning handoffs into DAG edges and associating artifacts and evaluations with each run. Compared with a code-first graph library embedded in an application, it supplies a ready-made CLI and container execution model, but adds Manager, Node, Docker networking, and image maintenance. Compared with hosted automation, it gives operators control of the execution host and artifact storage without removing model endpoint dependencies or API costs.
A fresh container per DAG node separates environments, but the shared run workspace is an intentional handoff channel, not an isolation boundary between agents in the same run. Replay makes runs inspectable; it does not guarantee that a live model will produce the same result again. The DAG and CLI are better adoption anchors than generated widgets, whose contract is still evolving. Size the host around Worker concurrency and retained artifacts; self-serving inference adds a separate resource budget driven by the chosen model and context.
Hardware & Deployment Guide
Build from source with Node.js 20+ and npm 10+ using npm run install:all and npm run build, then link hr from homerail_cli. hr start launches Manager and Node as local services; Manager can come up before Docker is ready, and hr start --rebuild-worker-image queues the Worker image build asynchronously. Run hr doctor and the two-node offline-deterministic profile before configuring a Claude Agent SDK-compatible endpoint for live runs. hr model configure ... --api-key-stdin passes credentials to the Manager's encrypted settings store rather than a repository file.
Use a volume with room for images, logs, and accumulating run artifacts under HOMERAIL_HOME (default ~/.homerail). Docker Desktop generally supplies host.docker.internal; Linux may need Docker host-gateway support or HOMERAIL_MANAGER_WORKER_WS_BASE_URL. Remote Worker and Node connections require authenticated wss://, and some Windows source scripts require a POSIX-compatible shell. The Desktop release history moves from the upgrade-test-only v0.1.0-alpha.3 to v0.1.0-beta.1, an unsigned Windows beta prerelease; it does not establish a stable Desktop release.
provider and model per agent, with * as the fallback.hr dag supervise, hr scorecard, hr eval-run, and hr replay expose different views of a run.codex_appserver provides spoken progress from streamed reasoning.offline-deterministic profile, then run the live five-stage smoke workflow.Homelab operators and engineering teams that want repeatable multi-agent workflows on their own hosts, with explicit handoffs, retained artifacts, and run evaluation.
You need a no-Docker embedded SDK, a stable desktop or generated UI, or turnkey offline model and speech inference.
Quick Start & Installation
npm run install:all npm run build
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| homerail ★ | 1k | +2 | TypeScript | MIT | Self-hosted, voice-first DAG runtime for auditable agent workflows |
| ruflo | 82.8k | +342 | TypeScript | MIT | A TypeScript orchestration layer for coding agents, with shared memory and MCP |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| langgraph | 45.8k | +293 | Python | MIT | Python graph orchestration for stateful, resumable agents and workflows |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/xiaotianfotos/homerail.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about homerail
Can an existing coding agent drive HomeRail without using its voice interface?
hr to submit a template or a synced workflow, then use the returned run_id to supervise and review the run. This bypasses the Manager Agent's planning layer, not the Manager service. Keep workflow_id stable when editing a synced YAML workflow; changing it creates a new workflow identity.Does HomeRail need a GPU, and how should I size the host?
Can a company deploy HomeRail commercially and keep its data on-premises?
When is HomeRail a better fit than an embedded graph library or hosted automation?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy