OpenClaw Swarm

Developer Overview

Start contributing to OpenClaw Swarm

OpenClaw Swarm is open source and we welcome contributions. This section covers everything you need to know to work on the codebase.

Tech stack

LayerTechnology
ShellElectron (macOS vibrancy + hidden titlebar)
FrontendReact 19
RoutingTanStack Router (file-based, memory history)
Server stateTanStack Query
IPCoRPC over MessagePort
UIshadcn/ui (base-mira) + Base UI + Tailwind CSS 4
Persistenceelectron-store (safeStorage encryption)
CryptoNode native Ed25519 (device identity + challenge signing)
LoggingTransport-agnostic logger (console, file, memory ring buffer)
Package managerBun
Task runnermoon
Toolchain managerproto

Monorepo layout

├── .moon/               # moon workspace + toolchain config
│   ├── workspace.yml    # Projects, VCS hooks, pipeline
│   ├── toolchains.yml   # Bun toolchain
│   └── tasks/           # Inherited tasks (lint, typecheck)
├── apps/
│   ├── swarm/           # Electron desktop app
│   └── docs/            # This documentation site (Fumadocs + TanStack Start)
├── .prototools          # Pinned tool versions (moon, bun)
├── .editorconfig        # Editor formatting defaults
├── .prettierrc          # Shared Prettier config
└── package.json         # Bun workspaces root

Where to start

  1. Dev Setup — clone, install, and run locally
  2. Architecture — understand how the app is structured
  3. Conventions — enforced ESLint rules and code patterns
  4. Logging — structured logging system for the main process
  5. Contributing — PR process and guidelines

On this page