Miri-Labs/MoMo-Agent
حول
24/7 Self-Hosted Personal Agent for Apple Watch, iPhone & Mac — $0 On-Device CoreML ASR, Obsidian-Style Memory Vault, Tailscale & Codex/Claude/Antigravity OAuth
الذكاء الاصطناعي وتعلّم الآلةالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- +٤
- خلال 15 يومًا
- +٦
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
MoMo Agent
Make Life Your Context — An Open-Source, Self-Hosted 24/7 Personal Agent for Apple Watch, iPhone & Mac
Local-First · Mac-as-Backend Architecture · Free Local CoreML Speech & Acoustic Context · Self-Organizing Living Memory
English | 简体中文
MoMo Agent is fully open source, and we thank the people behind every project we’ve built on or learned from and welcome pull requests from everyone in the community.
MoMo Agent is an open-source, local-first, Mac-as-backend all-day personal agent built natively for Apple Watch, iPhone, and Mac.
Your Mac serves as your private personal backend—running Apple Silicon CoreML speech transcription, speaker diarization, ambient acoustic sensing, memory organization, and agent workflows locally at $0 inference cost—while your Apple Watch and iPhone stay light, capture effortlessly even offline, and sync directly to your Mac over an encrypted private link. Momo reuses the Codex or Claude subscription you already have to turn fleeting conversations into self-organizing long-term memory, timely reminders & morning briefings, and illustrated daily life journals, without ever sending your life data to a third-party cloud.
Your devices, working together. Models shown are illustrative. Model credits & noncommercial artwork license
Why MoMo Agent?
- A Living Memory That Organizes Itself: Stop filing notes by hand. MoMo quietly distills your daily conversations into an Obsidian-style multi-level knowledge vault—connecting people, projects, and ideas automatically, keeping every memory one tap away from the original voice moment, and updating both notes and speaker names when you ask in plain language.
- Native Apple Silicon CoreML Speech & Dual-Engine Acoustic Life Context: Runs
MOSS-Transcribe-Diarize 0.9B,ReDimNet2+,Silero VAD v6, and dual-engine ambient acoustic tagging (AppleSoundAnalysis+MIT/ast-finetuned-audiosetCoreML INT8) locally on Mac—distinguishing real conversations from background music/TV and capturing rich environmental context (rain, cafe, cooking, typing, transit, pets) to ground Dream memory reviews and daily illustrations. - A Proactive Butler That Only Acts for You: Wake up to a concise Morning Briefing, and let Momo turn your spoken commitments into Apple Reminders, Calendar events, and Notes—anchored to your voiceprint so another speaker's remarks never end up on your to-do list.
- Your Day as an Illustrated Visual Journal: Turns meaningful moments, ambient atmosphere, and real places you visited into warm kiss-cut sticker illustrations and an interactive daily footprint map—making your life log something you genuinely enjoy looking back on, not a wall of raw transcripts.
- $0 Extra AI Bills — Reuse the Subscription You Already Own: An all-day personal agent shouldn't rack up surprise API bills. Sign in with OpenAI Codex or Claude (or any custom API), switch providers anytime in one click, and run unlimited local speech, speaker, and acoustic models for $0.
- Rock-Solid Private Connectivity & Low-Latency Remote Desktop: Stay connected to your home Mac from anywhere via built-in Tailscale private mesh or a persistent E2E-encrypted multiplexed WebSocket Relay—complete with multi-route priority racing, automatic better-route promotion, 2-strike heartbeat & liveness leases, silent-socket healing,
runtime_epochauto-resync, and zero-copy NV12 WebRTC remote desktop control.
Product Preview
1. Wrist Capture, Proactive Butler, Illustrated Journal & Mobile Memory (watchOS + iOS)
- Capture — Apple Watch All-Day Recording: Hands-free wrist recording with live waveform, one-tap mute & bookmark, and fast automatic sync to iPhone.
- Ask MoMo — Proactive Butler & Morning Briefing: Start each day with a tailored briefing and ask Momo anything across your conversations, tasks, and schedule.
- Look Back — Illustrated Journal & Timeline: Browse daily life illustrations, footprint map, and speaker-aware transcripts with silence-skipping playback.
- Remember — Self-Organizing Memory Vault: Explore multi-level project, people, and journal notes on the go, jump back to original audio, or refine memories in one sentence.
2. Self-Hosted Mac Hub, Living Memory Reader & Flexible AI Subscriptions (macOS)
- Left — Chat That Gets Things Done: Hear your spoken commitments turn into Apple Reminders automatically, or tell Momo in one sentence to split a note and sync a speaker voiceprint back to iPhone.
- Right — Multi-Level Memory Vault: Browse your self-organized Markdown knowledge tree, follow bidirectional links and backlinks, replay cited voice clips, and switch across Codex or Claude subscriptions anytime.
How Your Devices Work Together (Local-First · Mac-as-Backend)
MoMo follows a local-first, Mac-as-backend architecture: every audio clip, transcript, voiceprint, SQLite index, and plain-Markdown note lives on your own devices with zero third-party cloud server. Heavy CoreML speech/acoustic inference and long-running agent tasks execute on your Mac backend, while Apple Watch and iPhone stay fast, battery-friendly, and fully capable of offline capture and local caching whenever away from your Mac.
flowchart LR
W["Apple Watch / Earphones\nAll-Day Hands-Free Capture"] --> P["iPhone\nCapture Relay · Block Audio Replay\nJournal · Footprint Map · Mobile Memory"]
P <-->|"Multi-Route Encrypted Link\n(LAN / Built-in Tailscale / E2E Multiplexed Relay)"| M["Mac (Self-Hosted Hub)\nCoreML MOSS + ReDimNet2+ + AudioSet AST\nProactive Butler · Living Vault · Remote Desktop"]
M <--> AI["Your Existing Subscription\nCodex · Claude"]
| Device / Layer | What It Does for You | Ongoing Cost |
|---|---|---|
| Apple Watch & Earphones | Continuous hands-free capture with mute, bookmark, and automatic high-speed local Wi-Fi sync | $0 |
| iPhone | Mobile capture sync, speaker-aware transcript review with block clip replay, illustrated journal, footprint map, mobile memory vault & low-latency Mac remote desktop | $0 |
| Private Connectivity | Multi-route priority engine (LAN → built-in Tailscale mesh → persistent E2E multiplexed Relay) with automatic route promotion, 2-strike liveness lease, silent-socket healing & runtime_epoch resync |
$0 (Tailscale Free Plan / Self-hosted Relay) |
| Mac Hub & CoreML Speech Engine | Local Apple Silicon CoreML transcription, speaker diarization, voiceprints & dual-engine acoustic scene tagging (SoundAnalysis + AudioSet AST), self-organizing Markdown vault, Morning Briefing, Apple Reminders / Calendar / Notes & life illustrations |
Included in your Codex / Claude subscription |
Quick Start (Self-Hosting Guide)
Optional Gmail and Outlook sync uses your own Composio project. Composio holds the mailbox OAuth credentials and proxies read requests to the provider. Connect a mailbox
For step-by-step signing, on-device speech model setup, and troubleshooting, see install.md.
Already running MoMo on your Mac? The project publishes the Mac app on GitHub Releases. This repository lists no public TestFlight invite. To install the iPhone and Watch apps, follow steps 1 and 3 below.
Prerequisites
- Devices: A Mac (
macOS 15.0+, Apple Silicon recommended), an iPhone (iOS 18.0+), and an Apple Watch (watchOS 10.0+, or compatible Bluetooth earphones). - Build Tools: Xcode (the project uses Xcode 27),
uv, and Go (seeVendor/TailscaleKit/go.modfor the toolchain version). - AI Subscription (Choose Any): OpenAI Codex (ChatGPT Plus / Pro), Claude (Claude Pro / Max), or a custom OpenAI-compatible API.
- Tailscale (Optional, for access outside home Wi-Fi): A free Tailscale account.
1. Prepare the project for your devices
git clone https://github.com/Miri-Labs/MoMo-Agent.git
cd MoMo-Agent
Create Config/Local.xcconfig with your Apple development team ID, a unique iPhone bundle ID, and an App Group registered to your team for the watch and widget. Xcode derives both watch bundle IDs from the iPhone bundle ID. Replace the example values below.
DEVELOPMENT_TEAM = YOUR_TEAM_ID
MOMO_PHONE_BUNDLE_ID = com.example.yourname.momo
MOMO_WATCH_APP_GROUP = group.com.example.yourname.momo.watch
Prepare the speech frameworks, speech models, and network framework before opening the Xcode project:
uv run Native/SpeechVendor/prepare-runtime.py --scratch-directory tmp_agent_output/runtime-download
uv run Native/SpeechVendor/prepare-models.py Models/Speech --scratch-directory tmp_agent_output/model-download
bash Scripts/build-tailscale-kit.sh
2. Start MoMo on your Mac
If you already have MoMo Agent running, open its pairing QR code. For a new installation on Apple Silicon, download the Mac app from Releases.
To build the Mac app from source after step 1, run:
xcodebuild -project MoMoAgent.xcodeproj -scheme MoMoAgentMac -configuration Release build
Mac CoreML Speech & Acoustic Models (speech-coreml-v1, ~1.41 GB): On Apple Silicon Macs, MoMo Agent runs native CoreML transcription, speaker diarization, voiceprint matching, and ambient acoustic scene tagging (MOSS-Transcribe-Diarize 0.9B, ReDimNet2+, Silero VAD v6, and MIT/ast-finetuned-audioset). Official pre-compiled weights are hosted on Hugging Face at xilanhua12138/MoMo-Agent-Mac-Speech-CoreML. The Mac app automatically downloads and SHA-256 verifies them into ~/Library/Application Support/MoMoAgent/Agent/models/speech-coreml-v1/ (progress and retry are shown in Settings → Voiceprints & Transcription). You can also install via CLI (supports HF_ENDPOINT mirrors) or export locally from upstream checkpoints (see install.md):
# Option A: Download and SHA-256 verify via MoMo's CLI (supports HF_ENDPOINT=https://hf-mirror.com)
uv run Native/SpeechVendor/prepare-mac-speech-models.py
# Option B: Download directly with Hugging Face CLI
uvx --from huggingface_hub hf download xilanhua12138/MoMo-Agent-Mac-Speech-CoreML \
--local-dir "$HOME/Library/Application Support/MoMoAgent/Agent/models/speech-coreml-v1"
# Option C: Reproducible local CoreML export from upstream weights (see Tools/*/export_*_coreml.py)
# Tools/SileroVADCoreML/export_silero_vad_coreml.py
# Tools/ReDimNetCoreML/export_redimnet2_coreml.py
# Tools/MOSSCoreML/export_moss_coreml.py
# Tools/AudioSetASTCoreML/export_ast_audioset_coreml.py
3. Install the iPhone and Watch apps
- Sign in to your Apple developer account in Xcode. Enable Developer Mode on the iPhone and paired Apple Watch.
- Open
MoMoAgent.xcodeproj. Select theMoMoAgentscheme and your iPhone as the run destination. Press ⌘R. - If the companion app does not install automatically, open the Watch app on your iPhone. Find MoMo Agent under Available Apps and tap Install.
- Open MoMo Agent on the iPhone and scan the pairing QR code on your Mac.
Roadmap
- v0.0.1 — Self-Hosted Foundation: Apple Watch all-day capture, free offline transcription & speaker diarization, built-in Tailscale private mesh, and Mac agent hub.
- v0.3.x — Faster On-Device Speech & Earphone Capture: Apple Neural Engine speech models, Watch local Wi-Fi fast sync, and Bluetooth earphone recording.
- v0.4.x — Proactive Butler & Apple Ecosystem: Daily Morning Briefing, voiceprint-grounded owner-only task creation, and native Apple Reminders, Calendar & Notes integration.
- v0.5.3 — Self-Organizing Memory Vault, Life Illustrations & Subscription Switching: Multi-level Obsidian-style Markdown vault with audio proof and plain-language editing, illustrated daily life stamps & footprint map, plus seamless switching across Codex and Claude subscriptions.
- v0.6.x – v0.7.x — Native Mac CoreML Speech Engine & Situational Context: Apple Silicon
MOSS-Transcribe-Diarize 0.9B+ReDimNet2++Silero VAD v6CoreML bundle with 1-click Hugging Face auto-download, speaker-locked voiceprint learning, HealthKit/motion/calendar situational context, and block-level transcript audio playback. - v0.8.x — Dual-Engine Acoustic Context, Orca-Grade Connectivity & Low-Latency Remote Desktop:
MIT/ast-finetuned-audiosetCoreML + AppleSoundAnalysisambient scene tagging wired into Life Context, Dream & Illustrations; Orca/T3-grade multi-route & persistent E2E multiplexed Relay resilience (runtime_epochresync, 2-strike heartbeat/liveness lease, silent-socket healing, live route promotion); and zero-copy NV12 WebRTC remote desktop. - AirPods Seamless Route Switching: Smooth automatic audio routing when wearing AirPods.
- Two-Way External Vault & Workflow Sync: Direct two-way sync with external Obsidian vaults, Things 3, and local Git repositories.
Acknowledgments
MoMo Agent builds upon outstanding open-source work from DeepSeek SuperAgent, MOSS-Transcribe-Diarize, ReDimNet, Audio Spectrogram Transformer (MIT AST), Sherpa-ONNX, SenseVoice, X-ASR, FunASR-Nano, Silero VAD, libfvad, Tailscale, and Hermes Agent.
License
MoMo Agent's original application source is licensed under AGPL-3.0-only. Third-party components and model weights retain their own licenses; the README device illustrations have separate noncommercial restrictions. See NOTICE.md.
Developer WeChat Group
For an invitation to the MoMo Agent developer group, add 18780170056 on WeChat. Include MoMo in your friend request.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…