A macOS-first AI agent platform with an iOS companion for chat, remote control, and Apple Health sync.
Lumi can run tool-using agents that read/write files, execute shell commands, browse the web, control desktop input, and automate workflows. The iOS app pairs with your Mac over local network and now includes a dedicated Health tab with local analysis + JSON export.
^ Developed by Lumi Astria Fiona under TriadAstria™ Student Association.

- Added iOS Health tab (view + analyze local Apple Health metrics on iPhone)
- Added local health JSON export on iOS (
Documents/LumiAgent/health_data_*.json) - Added/confirmed sync of
health_data.jsonbetween iOS and macOS - Improved sync conflict checks for object-based payloads using
updatedAt - macOS Health view reads synced iPhone data and supports AI insight generation
| Area | macOS | iOS |
|---|---|---|
| Agents + Tool Execution | Full runtime (60+ tools) | Chat client (provider calls run on-device) |
| Desktop Control | Yes | Remote command client |
| Automation | Yes | No |
| Pairing/Remote | Bonjour TCP server + approval flow | Bonjour browser + remote panel |
| Health | Health dashboard (synced iPhone data + local fallback) | Health tab with local HealthKit analysis + JSON export |
| Voice | Mic + Whisper + TTS + realtime VAD | Mic + Whisper + TTS |
- Multi-agent setup with per-agent model/provider config
- Streaming agent loop (plan -> tool calls -> results -> continue)
- Tool registry with file, shell, web, git, clipboard, and system tools
- Security policy controls by agent (risk limits, tool allowlists, command restrictions)
- Global hotkeys + floating command UI
- Text assist shortcuts (rewrite, grammar fix, instruction mode)
- macOS Services integration
- Automation triggers (schedule, app events, device conditions)
- Agents, Chat, Remote, Health, Settings tabs
- Local-network pairing with Mac approval workflow
- Remote actions: sync, screenshot, shell command, volume control
- Continuous sync loop with conflict-aware timestamps
- iOS: local HealthKit fetch for activity, heart, body, sleep, workouts, vitals
- iOS: per-category local AI analysis and JSON export
- Sync file:
health_data.json - macOS: synced health dashboard + AI coaching summaries
- Push-to-talk transcription
- Realtime VAD pipeline on macOS
- Text-to-speech responses
Lumi can perform high-impact actions depending on enabled tools and security settings.
Before enabling advanced capabilities, review:
Settings -> Security- Per-agent
enabledTools - Shell/desktop-control policies
Use least privilege for each agent profile.
- macOS 15.0+ (primary runtime)
- iOS 18.0+ (companion app)
- Swift 6.2 toolchain
- API key for at least one cloud model provider, or local Ollama
git clone https://github.com/triadastra/Lumi.git
cd Lumi
./run_app.shgit clone https://github.com/triadastra/Lumi.git
cd Lumi
open Lumi.xcodeprojThen run the macOS target and (optionally) the iOS companion target.
./build_unsigned_dmg.sh- Add API keys in
Settings -> API Keys - Grant required macOS permissions in
Settings -> Permissions - Create your first agent and send a message in Agent Space
- On iOS, pair in
Remotetab and approve from MacDevices - If using Health sync, enable
Settings -> Sync Apple Healthon iOS
- On iPhone: open Lumi
Settingsand enableSync Apple Health - Grant HealthKit read permissions when prompted
- Open iOS
Healthtab and tapRefresh - (Optional) Tap
Export JSONto save a local copy to Files - Connect to Mac in
Remotetab and runSync Now - On macOS: open
Healthsidebar to review synced metrics and AI insights
| Shortcut | Action |
|---|---|
⌘L or ^L |
Open command palette |
⌥⌘L |
Open quick-action panel |
⌥⌘E |
Extend selected text with AI |
⌥⌘G |
Grammar-fix selected text |
⌥⌘R |
Treat selection as an instruction |
⌘, |
Open Settings |
⌘N |
New agent |
Lumi/
├── App/ # App entry, AppState, hotkeys, automation
├── Domain/ # Models, protocols, tool registry, execution engine
├── Data/ # Repositories, provider integration, iOS health sync DTOs
├── Infrastructure/ # Database, network, security, audio, screen capture
└── Presentation/ # SwiftUI views (Agents, Chat, Remote, Health, Settings)
Project docs are in wiki/:
- Getting Started
- Architecture
- Agents and Configuration
- AI Providers
- Tool Catalog
- Desktop Control and Agent Mode
- Hotkeys and Quick Actions
- iOS Companion
- Automation
- Voice
- Security and Permissions
- Building and Deployment
- Troubleshooting
- Function Reference
- Function Updates
PRs are welcome. Keep changes scoped and include validation steps.
See LICENSE.



