LocalMuse

mcp
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .github/workflows/image.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Krewbot: a personal assistant you run yourself. Server, Mac and iPhone apps. Your data stays on a machine you own.

README.md

Krewbot: personal intelligence you own.

Download for Mac · iPhone on the App Store · Source on GitHub · krewbot.com

localmuse is the open-source code for Krewbot, a personal assistant you run yourself.

Muse and other agents are great, but your personal intelligence (what your assistant knows about you, your
people and your work) and your data should be private and local. We started localmuse for this. Your
chats, memory, accounts and settings live on a machine you own: your Mac, or an always-on server of yours
in Docker. Only what a reply needs goes to the model you choose: a Claude subscription, or an Anthropic,
OpenAI, OpenRouter or Google key.

You talk to it from the Mac and iPhone apps. It works with your mail and calendar, remembers what matters
to you, keeps track of what's open, and does work in a browser and on your Mac.

This repository is the whole assistant: the server that runs it, the Mac and iPhone apps, the embedded
Tailscale node, the Docker image and the design (Repository has the map).

Status: early and moving fast.

Screenshots

Chat: booking dinner in the browser, waiting for approval Feed Tracking A Space
ChatFeedTrackingA Space

The data in these is made up (apps/scripts/screenshots.sh takes them from a demo server).

What it does

  • Chats with a main chat that is always there, plus a chat per topic. Search across all of them.
  • Memory: a wiki of plain Markdown files about you, your people and your projects, kept up to date by
    the assistant and yours to edit. It's committed to git after each reply.
  • Mail and calendar: Google, Outlook / Microsoft 365, iCloud, Yahoo or any IMAP/CalDAV server. It reads,
    searches and drafts freely. Sending an email or inviting someone always waits for your OK.
  • Tracking and the Feed: a background check-in reads new mail and calendar changes, keeps a list of
    what's waiting on you, and posts what's worth knowing. It messages you only when something is urgent.
  • Schedules and reminders in your time zone.
  • A browser it drives for you, which you can watch live and take over.
  • On the Mac: Calendar, Reminders, Contacts, Notes, Messages (sending asks first), files, Shortcuts.
  • Spaces: small pages and apps the assistant builds for you, which keep their state.
  • Skills, connectors (remote MCP servers) and a vault for logins it can use without seeing them.
  • It configures itself: ask it to change a setting, connect an account or fix a problem. It knows
    its own manual, and security-relevant changes need your passcode.

How it works

flowchart LR
    iphone["iPhone app"] --> server
    mac["Mac app"] --> server
    others["Other Macs"] --> server
    server["Krewbot server<br/>(Bun + SQLite)"] --> model["Model provider<br/>(your account)"]
    server --> mail["Mail / calendar"]
    server --> web["Web, browser, connectors"]
    linkStyle 0,1,2 stroke-dasharray: 4

On your Wi-Fi the apps reach the server directly, over TLS with a pinned certificate. Away from home they
connect through the Krewbot relay: an end-to-end encrypted WebRTC channel whose keys both sides pin,
so the relay passes along bytes it can't read. Your
own tailnet (Tailscale) is optional.

  • One server per person holds everything: chats, memory, accounts, settings. It runs inside the Mac app
    (Host mode) or headless in a container. Apps pair with it by scanning a QR code; away from home they
    reach it through the relay, with nothing else to install.
  • The agent runs in an engine (Claude Agent SDK or OpenCode) with Krewbot's tools over MCP. On a Mac
    it's sandboxed by the kernel to its workspace and memory unless you turn full access on.
  • Approvals: reading is free. Anything that leaves your machine or can't be undone (sending, paying,
    pushing, deleting) asks with one card: Allow once, Always allow (listed in Settings, with Back to Ask) or
    Don't allow. Critical changes (full access, network, the model, devices, removals, buying) are Ask-only:
    one tap, never Always.
  • Passcode: an optional 4-digit passcode locks the apps. Approvals never ask for it.
  • Secrets (model tokens, passwords) go to the Keychain or an encrypted store, never to the model.
  • Settings live in one settings.json that you, your AI agent or the assistant can edit.
  • Moving from your Mac to a server is a live migration the assistant runs for you.

The full design is in docs/localmuse/design.md.

Get started

Download

  • Mac: download the latest Krewbot
    (signed and notarized), open the DMG and drag Krewbot to Applications. It keeps itself up to date, and it
    carries its own server, so there's nothing else to run.
  • iPhone: get Krewbot on the App Store, then scan
    the code from Devices → Add iPhone on your Mac.

On first launch the Mac app asks you to:

  1. connect a model;
  2. choose a passcode;
  3. name your assistant.

Build from source

For local development, or to build your own assistant on Krewbot. The easiest way: ask your AI coding
agent
(Claude Code, Codex, Cursor, …) to set it up:

Set up Krewbot for me by following https://github.com/krewbot-organization/localmuse/blob/main/SETUP.md

SETUP.md is written for agents and people alike. Everything is doable from a terminal. In short:

On a Mac: build the app (macOS 14+, Xcode 16, Bun 1.3+, Go 1.24+,
XcodeGen):

git clone https://github.com/krewbot-organization/localmuse.git && cd localmuse/apps
xcodegen
xcodebuild -project LocalMuse.xcodeproj -scheme LocalMuseMac -configuration Release -derivedDataPath build build
cp -R build/Build/Products/Release/KrewBot.app /Applications/
open /Applications/KrewBot.app

An app you build yourself can't use the Krewbot relay (it serves only the published apps); reach your
assistant away from home over your own tailnet instead (SETUP.md, "Self-built apps").

To build the iPhone app too, see apps/README.md.

Just the server, without the app
cd localmuse/server
bun install --frozen-lockfile
bun src/main.ts serve

Then connect a model (krewbot secret set model-token, see SETUP.md), set a passcode, and pair a
device with krewbot pair.

On a Linux server (Docker):

git clone https://github.com/krewbot-organization/localmuse.git && cd localmuse
docker build -f container/Dockerfile -t krewbot .
docker run -d --name krewbot --restart unless-stopped -v krewbot:/data \
  -e KREWBOT_SECRET_KEY="$(openssl rand -hex 32)" krewbot

Keep that secret key somewhere safe; container/README.md has the details.

Repository

Path What
server/ The server and krewbot CLI: Bun + TypeScript
apps/ The Mac and iPhone apps: SwiftUI
tailscale-helper/ The embedded Tailscale node: Go, tsnet
container/ The Docker image
protocol/ Shared fixtures for the app ↔ server protocol
docs/localmuse/ The design

Three services Krewbot talks to aren't in this repository: the relay (localmuse-relay, for reaching
your assistant away from home), the hosted gateway (for the hosted version of Krewbot) and the telemetry
ingestor (localmuse-telemetry). They're run privately. The tests that need the relay skip when it isn't
checked out next to this one (RELAY_DIR); the server's messages to the gateway are tested against the
gateway's own signed vectors (protocol/fixtures/cloud).

Contributing

Issues and pull requests are welcome. Read CONTRIBUTING.md first (and
AGENTS.md if an AI agent is writing the code). To report a security problem, see
SECURITY.md.

License

MIT. Third-party notices are in NOTICE.md. For use of our name and logo, see
TRADEMARKS.md.

Reviews (0)

No results found