Skip to content

miyakooy/clawdhome

 
 

Repository files navigation

ClawdHome

English | 中文

ClawdHome securely isolates and operates multiple OpenClaw gateway instances on a single Mac.

ClawdHome is built for "raising Shrimps" on your Mac: each Shrimp should live in a safe, reliable house with clear boundaries.

Website & Download

Who It Is For

ClawdHome is designed for makers and operators who want to run multiple OpenClaw gateways on one Mac without mixing identities, data, and permissions. It is especially useful when you need production/staging isolation, low-risk clone-and-test workflows, and a single operations UI for day-to-day maintenance.

Visual Overview

Dashboard Claw Pool
File Manager Process

ClawdHome provides a single control plane to monitor, isolate, and operate multiple OpenClaw gateway instances for different people and roles.

What ClawdHome Is

ClawdHome is a macOS control-plane app for securely isolating and operating multiple OpenClaw gateway instances, with a privileged helper daemon for system-level operations. It focuses on one thing: safely running and managing multiple isolated OpenClaw gateway instances on one machine. Each "Shrimp" runs in its own boundary with separate runtime context, data, and policy.

Why It Exists

  • OpenClaw is not a one-time setup; it needs continuous "raising" (learning, growth, iteration). That requires each Shrimp to have its own house: account isolation and permission boundaries.
  • Raising also needs low-risk iteration: you should be able to quickly clone a Shrimp for experiments, rehearsals, and regression checks, then shape a stable, maintainable digital twin.
  • A primary MacBook should also run Shrimps safely with low overhead: humans on admin accounts, Shrimps on standard accounts, each Shrimp in its own boundary.
  • Virtual machines and Docker are often too heavy for this use case; macOS multi-user primitives provide a more native path (system UI and browser automation).
  • Raising Shrimps is not only about chat; Shrimps should connect to smart-home workflows and leverage Mac neural/GPU acceleration for lower-latency, lower-cost local capabilities.
  • OpenClaw instances can fail in real-world use, so centralized operations plus backup, maintenance, and recovery workflows are essential.

How It Works

ClawdHome.app (admin UI)
  -> XPC -> ClawdHomeHelper (privileged daemon)
      -> user-level OpenClaw gateway instances (isolated per Shrimp)
  • ClawdHome.app provides UI for operations, status, and configuration.
  • ClawdHomeHelper performs privileged system actions via controlled interfaces.
  • Each Shrimp maps to an isolated OpenClaw gateway runtime.
  • Gateway lifecycle is managed per instance (start/stop/restart/health checks).
  • Per-instance config and data are handled with explicit ownership and permission logic.

Security Model

  • Privileged operations are isolated in the helper daemon boundary.
  • User-scoped runtime resources are separated per Shrimp/gateway instance.
  • Sensitive operations are routed through explicit XPC methods, not ad-hoc shell paths.
  • Ownership and permission repair is built into key lifecycle workflows.

Quick Start

Requirements

  • macOS 14+
  • Xcode 15+
  • Optional: XcodeGen

Build and run

open ClawdHome.xcodeproj

Or regenerate first:

xcodegen generate
open ClawdHome.xcodeproj

Install helper (development)

make install-helper

Equivalent direct command:

sudo bash scripts/install-helper-dev.sh install

Key Capabilities

  • Multi-Shrimp OpenClaw gateway isolation on one Mac.
  • Per-instance lifecycle control and health visibility.
  • Managed user operations and bootstrap workflows.
  • Config editing and diagnostics tooling in one UI.
  • File, session, memory, and log management surfaces.
  • Local AI operational integration (where configured).

Repository Layout

ClawdHome/
  UI app (SwiftUI), models, services, views
ClawdHomeHelper/
  privileged helper daemon and operations
Shared/
  shared protocol/models between app and helper
scripts/
  build, install, packaging, release-note utilities
Resources/
  helper launch daemon plist and packaging resources

Development Workflow

  • Build app debug:
make build
  • Build helper debug:
make build-helper
  • Build pkg:
make pkg
  • Show helper logs:
make log-helper

Roadmap

  • External key management (Exec-based secrets provider).
  • Fine-grained network access control management.
  • Simplified configuration for more model providers and IM channels.
  • Local small-model integrated runtime, scenario skills, and OpenClaw integration.
  • Rescue and diagnostics capabilities.
  • Improved gateway probing and historical health tracking.
  • Production-grade signed/notarized distribution pipeline.

Who is Using ClawdHome & OpenClaw

Here are some interesting real-world uses of ClawdHome + OpenClaw. PRs to add your case are welcome!

  • tensorslab-xhs - TensorsLab + Xiaohongshu Marketing Automation: best-value automatic marketing tool with TensorsLab seconds-fast AI image generation, automatic hot topic crawling, auto-generate Xiaohongshu copy + 1:1 square cute-style images, auto-archive to Feishu Bitable, support daily scheduled automatic content production, saves tons of human time. by @miyakooy

Contributing

  • Open an issue first for major changes.
  • Keep PRs scoped and atomic.
  • Include validation evidence for behavior changes.
  • Avoid committing local/private environment artifacts.
  • Follow existing Swift style and project structure.

License

Licensed under the Apache License 2.0. See LICENSE.

About

ClawdHome securely isolates and manages multiple OpenClaw gateway instances on one Mac.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Swift 98.3%
  • Shell 1.1%
  • Makefile 0.6%