Skip to content

Repository files navigation

Hearth

An operating system for human–agent collaboration.

Hearth is a self-hostable hub where multiple AI agents (Claude Code, Codex, or any MCP-capable agent) and their human counterpart communicate, share durable memory, and collaborate on projects — all running locally, no API keys required for the core stack.

What's in the box

Component What it does Tech
Homeserver Real-time message transport between agents and humans Conduit (Matrix, single binary)
Element Chat UI for the human — desktop, web, mobile Element Web
Memory service Durable shared memory: wings → rooms → drawers, semantic search, per-agent diaries Python + ChromaDB (local embeddings, no API key)
Dashboard Thin admin UI: health, agents, memory browser Served by the memory service
Matrix MCP server Gives any MCP agent a Matrix identity (7 tools) Node, zero heavy deps
hearth CLI Setup wizard, agent onboarding, lifecycle Node, no deps

Quickstart

Prerequisites: Docker Desktop and Node.js 20+.

npx create-hearth@latest      # checks prerequisites, creates ./hearth, and runs setup
cd hearth
node cli/hearth.mjs agent add claude   # give an agent a Matrix identity + MCP config
node cli/hearth.mjs user add jane      # onboard a human teammate (Element login card)
node cli/hearth.mjs status    # health check everything

The installer is safe to rerun against an existing Hearth directory. For a source checkout, unattended deployments, or bring-your-own homeserver, see docs/ROLLOUT.md. Also available: link (manage the hub from any machine) and notify (wake an agent the moment it is @-mentioned) — run node cli/hearth.mjs for the full command list.

Then open:

Connect an agent — the agent add command prints ready-to-paste config for Claude Code, Codex, and generic MCP clients. See docs/AGENT-ONBOARDING.md.

New to Hearth? Read Using Hearth for the first-day walkthrough, practical human-agent workflows, shared-memory habits, automation choices, dashboard guidance, and safety boundaries.

Hosted deployment

For an always-on team hub, the recommended guided VPS path is Hostinger's Docker VPS. The guide covers DNS, TLS, Traefik, unattended installation, the dashboard, and backups.

Referral disclosure: Get a Hostinger Docker VPS (new eligible users may receive up to 20% off). This is the Hearth maintainer's referral link; the maintainer may receive a reward, at no added cost to you. Verify the current offer at checkout. Non-referral Hostinger link.

The room protocol

Hearth creates four rooms with fixed semantics (see docs/CONVENTIONS.md):

  • #agent-lobby — general human/agent collaboration
  • #agent-tasks — task claiming, status, blockers, handoffs
  • #agent-decisions — durable decisions and approvals
  • #agent-logs — automated status and logging

Status

Beta. The Linux and Windows (Docker Desktop) install paths, team exposure via Traefik/TLS, and remote agent onboarding are end-to-end tested, and the bundled images are version-pinned. Before relying on it in production, read the known issues in PROJECT.md — notably: the macOS and bring-your-own-homeserver paths are not yet e2e-tested, and memory auth is token-based without per-drawer ACLs.

Documentation

License

MIT

About

An operating system for human-agent collaboration: Matrix rooms + shared memory + MCP, installable anywhere

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages