$ cat README.md

Hearth

Swift-native personal AI harness for macOS that routes each task to an on-device, local, cloud, or Claude Code model.

[in progress]#swift#macos#ai#mlx#mcp#claude-code
Hearth design mockup: chat with a routing explanation panel

In progress. Early development. Screenshots are design mockups.

Overview

A single macOS daemon that unifies on-device, local, cloud, and Claude Code models behind one interface, routing each task by cost, privacy, and capability.

Models and cost overview

Features

  • Cross-model chat: switch models mid-conversation without losing context
  • Explainable routing: every model choice comes with its reason and cost
  • Sandboxed agent jobs: Claude Code runs in isolated workspaces and leaves a branch for review
  • Versioned memory: Markdown knowledge base in git, with human approval for agent changes
  • Multi-step pipelines: draft, review, approve, and build workflows across models

Pipeline awaiting spec approval

Technical highlights

  • Swift 6 with strict concurrency, organized as a modular SwiftPM workspace
  • Daemon serving a versioned local API to CLI, app, and editor clients
  • Apple Foundation Models, MLX, OpenRouter, and Claude Code providers, with MCP tooling
  • Capability tokens, hard spending caps, and Secure Enclave–backed Touch ID approvals

Memory browser with agent proposals