Skip to content

Add server bootstrap script for agent services #255

Description

@evansenter

Problem

Setting up a new server with the full agent stack requires manually:

  1. Cloning each repo (agent-event-bus, agent-session-analytics, agent-memory-store)
  2. Running make install-server in each
  3. Configuring tailscale serve paths
  4. Verifying LaunchAgents

This is error-prone and undocumented.

Proposal

Add scripts/setup-server.sh (or extend bootstrap.sh) that:

# Detect if this is the gateway host (mac-mini) vs client
# If server:
#   1. Clone agent-event-bus if not present
#   2. Clone agent-session-analytics if not present
#   3. Clone agent-memory-store if not present
#   4. Run make install-server in each
#   5. Configure tailscale serve paths
#   6. Verify all LaunchAgents running

./scripts/setup-server.sh
# or
./bootstrap.sh --server

Considerations

  • Should be idempotent (safe to re-run)
  • Should detect existing installations
  • May need to handle Tailscale not being logged in yet
  • Could prompt for confirmation before installing services
  • Detection heuristic: check if OpenClaw gateway config exists locally

Related

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions