🛸 Orbit: Your AI's Bridge to macOS - Framework-agnostic automation toolkit with 104+ satellites
Project description
Orbit 🛸
Your AI's Bridge to macOS 让您的 AI 桥接到 macOS
🌍 Language / 语言
English
Orbit is a framework-agnostic macOS automation toolkit that empowers AI agents to seamlessly interact with macOS through AppleScript.
🌟 Key Features
- 100+ Satellites - Comprehensive macOS automation tools
- 4-Tier Safety - Built-in security system (SAFE/MODERATE/DANGEROUS/CRITICAL)
- Framework Agnostic - Works with OpenAI, LangChain, Anthropic, and custom agents
- CLI Tool Included - Convenient terminal access to all satellites
- Bilingual Docs - Complete documentation in English and Chinese
🚀 Quick Start
# Install
pip install orbit-macos
# Basic usage
from orbit import MissionControl
from orbit.satellites import all_satellites
mission = MissionControl()
mission.register_constellation(all_satellites)
result = mission.launch("system_get_info", {})
📚 Documentation
Getting Started
- Quick Start Guide - Get up and running in 5 minutes
- API Reference - Complete API documentation
- CLI Reference - Command-line tool documentation
Core Documentation
- Design Document - Architecture and technical details
- Security Model - Safety system and best practices
- Satellites Reference - Complete list of all 104 satellites
Guides
- Terminology - Orbit naming conventions
- Contributing Guide - How to contribute
Examples
- CLI Examples - CLI usage examples
- Python Examples - Code examples for various frameworks
📦 Project Links
中文
Orbit 是一个框架无关的 macOS 自动化工具包,通过 AppleScript 赋能 AI 代理无缝操作 macOS。
🌟 核心特性
- 100+ 卫星工具 - 全面的 macOS 自动化能力
- 四级安全系统 - 内置安全保护(安全/中等/危险/严重)
- 框架无关 - 支持 OpenAI、LangChain、Anthropic 和自定义代理
- CLI 工具 - 方便的终端访问
- 双语文档 - 完整的中英文文档
🚀 快速开始
# 安装
pip install orbit-macos
# 基础用法
from orbit import MissionControl
from orbit.satellites import all_satellites
mission = MissionControl()
mission.register_constellation(all_satellites)
result = mission.launch("system_get_info", {})
📚 文档
入门指南
核心文档
指南
示例
📦 项目链接
🛰️ Satellite Constellation
Orbit provides 104 satellites across 12 categories:
| Category | Count | Satellites |
|---|---|---|
| System | 24 | System info, clipboard, notifications, screenshots... |
| Files | 10 | File operations: read, write, delete, search... |
| Notes | 7 | Create, read, update, delete, search notes |
| Reminders | 6 | Manage reminders and lists |
| Calendar | 4 | Create and manage events |
| 6 | Send and read emails | |
| Safari | 12 | Browser automation, tabs, search |
| Music | 11 | Playback control and library |
| Finder | 6 | File manager operations |
| Contacts | 4 | Search and retrieve contacts |
| WiFi | 6 | Network management |
| Apps | 8 | Application lifecycle |
View complete satellite list → | 查看完整卫星列表 →
🛡️ Safety System
Orbit implements a 4-tier safety system:
| Level | Description | Examples | Action |
|---|---|---|---|
| SAFE | Read-only operations | Get info, list files | ✅ Allow |
| MODERATE | Create/modify | Write file, create note | ⚠️ Confirm |
| DANGEROUS | Delete operations | Delete file, empty trash | ⚠️ Confirm |
| CRITICAL | System-level | System file modification | 🚫 Deny |
Learn more about security → | 了解安全详情 →
🔗 Framework Integration
Orbit integrates seamlessly with popular AI frameworks:
OpenAI Functions
from orbit import MissionControl
from orbit.satellites import all_satellites
mission = MissionControl()
mission.register_constellation(all_satellites)
functions = mission.export_openai_functions()
# Use with OpenAI API
response = openai.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "What's my macOS version?"}],
functions=functions
)
LangChain
from langchain.agents import initialize_agent, AgentType
from langchain.tools import StructuredTool
from orbit import MissionControl
mission = MissionControl()
mission.register_constellation(all_satellites)
tools = [
StructuredTool.from_function(
func=lambda **kwargs: mission.launch(sat.name, kwargs),
name=sat.name,
description=sat.description
)
for sat in mission.constellation.list_all()
]
agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS)
More integration examples → | 更多集成示例 →
📖 Documentation Index
By Language / 按语言
English / 英文
- Quick Start - 5-minute tutorial
- API Reference - Complete API docs
- CLI Reference - CLI tool guide
- Design Doc - Technical architecture
- Security Model - Safety system
- Contributing - Contribution guide
中文 / Chinese
By Topic / 按主题
Getting Started / 入门
Reference / 参考
Development / 开发
View all documentation → | 查看所有文档 →
📊 Project Statistics
- Version: 1.0.0
- Release Date: January 27, 2026
- Total Satellites: 104
- Categories: 12
- Python Code: 5,069 lines
- Test Cases: 272
- Test Coverage: 65% code / 95% functionality
- Documentation Files: 23 markdown files (bilingual)
🤝 Contributing
Contributions are welcome! Please read our Contributing Guide | 贡献指南.
Development Setup / 开发设置
# Clone repository
git clone https://github.com/xiaoxiath/orbit.git
cd orbit
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with coverage
pytest --cov=orbit --cov-report=html
📄 License
MIT License - see LICENSE for details.
🙏 Acknowledgments
Built with ❤️ for the macOS automation community.
Orbit: Your AI's Bridge to macOS 🛸
🔗 Quick Links
Documentation / 文档
- 📖 All Documentation Index | 文档索引
- 🚀 Quick Start | 快速入门
- 📚 API Reference | API 参考
- 🛡️ Security Model | 安全模型
Community / 社区
Tools / 工具
- 🖥️ CLI Tool | 命令行工具
- 📋 Satellites List | 卫星列表
- 🎯 Test Coverage | 测试覆盖率
Version: 1.0.0 | Last Updated: 2026-01-27 | Status: ✅ Production Ready
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orbit_macos-1.0.2.tar.gz.
File metadata
- Download URL: orbit_macos-1.0.2.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
441abe75c3ea56c1ba39be2216ac1fb924311cf00388718381186d7f0779aa30
|
|
| MD5 |
040e2d50414c3b8de1aa294ee6fd637d
|
|
| BLAKE2b-256 |
926c8ad56065953454214d2c254d7871c5ba9ca185814c99ff9ebca7bf45e92e
|
File details
Details for the file orbit_macos-1.0.2-py3-none-any.whl.
File metadata
- Download URL: orbit_macos-1.0.2-py3-none-any.whl
- Upload date:
- Size: 47.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ccd62585777d5d4f4cde48781a5c853283bcfdc130933ae457b2f1ca393149a
|
|
| MD5 |
7f4448f359da870d5cc17c138bdb13e2
|
|
| BLAKE2b-256 |
d4195900cedad55bf7b53a88d4450832791466ff05a7e25627fa37cc86f9159c
|