
ericblue/mac-agent-gateway
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
ericblue/mac-agent-gateway — кандидат на агентские навыки, импортированный из https://github.com/ericblue/mac-agent-gateway.
Обзор
ericblue/mac-agent-gateway — кандидат на агентские навыки, импортированный из https://github.com/ericblue/mac-agent-gateway.
Обзор (машинный перевод)
Локальный шлюз HTTP API macOS, который раскрывает защищенные Apple возможности (напоминания, сообщения) через стабильный, удобный для агентов REST API.
##Почему МАГ?
Современные агенты ИИ, работающие в виртуальных машинах, контейнерах или удаленных хостах, не могут получить доступ к службам, защищенным macOS, из-за:
TCC Permission Enforcement — Apple ограничивает доступ к напоминаниям, сообщениям и т. д. Ограничения песочницы — виртуальные машины и контейнеры не могут ссылаться на macOS CLI Хрупкая интеграция CLI - прямое выполнение CLI от агентов ненадежно
MAG решает эту проблему, работая на вашем Mac в качестве безопасного шлюза HTTP, обрабатывая все разрешения TCC и выполнение CLI, показывая чистые конечные точки REST.
###Что это значит для вас
MAG позволяет помощникам ИИ работать с вашими Apple Reminders и Messages — приложениями, которые обычно заблокированы на вашем Mac — контролируемым и безопасным способом.
** Ваш помощник по ИИ теперь может помочь с реальными задачами** — «Добавьте напоминание на завтра», «Найдите ссылки, которые Джейн прислала мне на прошлой неделе», «Следуйте за моим списком дел» ** Работает с любым агентом ИИ** — OpenClaw, Claude Code, Cursor или любым инструментом, который может делать HTTP-запросы
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Mac Agent Gateway (MAG)
A local macOS HTTP API gateway that exposes Apple-protected capabilities (Reminders, Messages) via a stable, agent-friendly REST API.
Why MAG?
Modern AI agents running in VMs, containers, or remote hosts cannot access macOS-protected services due to:
- TCC Permission Enforcement — Apple restricts access to Reminders, Messages, etc.
- Sandbox Restrictions — VMs and containers can’t invoke macOS CLIs
- Fragile CLI Integration — Direct CLI execution from agents is unreliable
MAG solves this by running on your Mac as a secure HTTP gateway, handling all TCC permissions and CLI execution while exposing clean REST endpoints.
What This Means for You
In plain terms: MAG lets AI assistants work with your Apple Reminders and Messages—apps that are normally locked to your Mac—in a controlled, secure way.
- Your AI assistant can now help with real tasks — “Add a reminder for tomorrow”, “Find the links Jane sent me last week”, “Text me my todo list”
- Works with any AI agent — OpenClaw, Claude Code, Cursor, or any tool that can make HTTP requests
- You stay in control — Choose exactly what the AI can do: read-only access, send only to specific contacts, or full access
- No cloud required — Everything runs locally on your Mac; your data never leaves your computer
- Built on trusted tools — Uses popular open-source CLIs (remindctl, imsg) with a standard REST API on top
Example permissions you can set:
- Allow reading messages but not sending
- Allow sending only to yourself or specific contacts
- Allow reminders but disable message access entirely
Try prompts like these with your AI agent:
- “What’s on my todo list for today?”
- “Find the last 20 Trulia links my wife sent me and organize them by state and city”
- “Create a reminder for tomorrow at 9am to call the dentist”
- “Text me a summary of my overdue reminders”
- “Search my messages with John for anything about the project”
- “Find the last restaurant link Jane sent me, look it up, and text me the hours and address”
See EXAMPLES.md for 21+ real-world prompts and workflows.
flowchart LR
subgraph Agents["🤖 AI Agents"]
direction TB
A1["OpenClaw / Hermes"]
A2["Claude Code / Cowork"]
A3["Custom HTTP Client"]
end
subgraph Gateway["🖥️ Mac Agent Gateway"]
direction TB
subgraph API["REST API :8123"]
R["/v1/reminders"]
M["/v1/messages"]
end
subgraph Services["CLI Services"]
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add ericblue/mac-agent-gateway