THOR — Jetson Control Center for macOS
The first open-source macOS app to manage NVIDIA Jetson devices.
Power modes, Docker, ROS2, cameras, GPIO, AI models, ANIMA pipelines — all from your Mac.
Install
Homebrew (recommended)
brew tap RobotFlow-Labs/tap
brew install thorapp
This installs both the THOR GUI app and the thorctl CLI.
If you already installed through Homebrew, see the Update section below.
The packaged app bundle is THORApp.app.
From Source
git clone https://github.com/RobotFlow-Labs/thorapp.git
cd thorapp
make build # Build all targets
make test-unit # Fast local validation without Docker Desktop
make install-cli # Install thorctl to /usr/local/bin
make run # Package .app bundle and launch
If you want the source checkout installed into /Applications with the in-app updater enabled, use:
Scripts/setup/install.sh
Update
If you installed through Homebrew:
brew update
brew upgrade thorapp
If you are tracking the source tree directly:
git pull --rebase
make test-unit
make run
If you are running the installed /Applications/THORApp.app, THOR now includes an in-app updater:
- It checks for updates on launch by default.
- You can trigger a manual check from
THOR > Check for Updates… or the Settings Updates tab.
- It can update from the latest GitHub release or from a local
.app, .zip, or THORApp-update.json manifest.
For local release testing from the repo:
make dist
open /Applications/THORApp.app
Then point the installed app at dist/THORApp-update.json, or set that path in the app’s Updates settings tab.
Requirements
- macOS 14+ (Sonoma) on Apple Silicon
- Swift 6.2+ (
xcode-select --install)
- Docker Desktop (required for
make test, optional for real hardware)
make test-unit is the fast non-Docker validation path. make test is the full simulator-backed suite and needs Docker Desktop running.
If you are operating only against real Jetson hardware, THOR can hide Docker and simulator-focused UI from Settings > General > Workspace.
Real AGX Thor First Boot
THOR now vendors the headless Jetson AGX Thor bring-up flow instead of leaving it in private local notes:
export THOR_USER="<oem-config-username>"
thorctl quickstart "$THOR_USER"
Scripts/jetson-thor/thor_serial.sh uefi
Scripts/jetson-thor/bootstrap_ssh.sh "$THOR_USER"@192.168.55.1 ~/.ssh/id_ed25519.pub
Do not assume nvidia unless you explicitly created that username during OEM-config.
Repository Guide
- docs/README.md indexes setup, product, and release documentation.
- CONTRIBUTING.md explains the local test and PR checklist.
- Scripts/README.md explains the canonical script layout.
make dist produces release-ready app and CLI artifacts in dist/.
make dist also emits dist/THORApp-update.json for the in-app updater.
- SECURITY.md documents supported versions and private vulnerability reporting.
What THOR Does
THOR replaces SSH + terminal workflows with a native macOS control center for your Jetson devices.
Connect
# Add your Jetson (GUI or CLI)
thorctl connect 192.168.1.100
# Or use the built-in Docker simulators
docker compose up -d
thorctl connect localhost 8470
Control
The app provides 12 feature panels organized into 4 groups:
| DEVICE |
RUNTIME |
OPERATIONS |
OBSERVE |
| Overview |
Docker |
Files |
Logs |
| System Info |
ROS2 |
Deploy |
History |
| Power & Thermal |
ANIMA |
GPU & Models |
|
| Hardware |
|
|
|
For real-device workflows, Settings > General > Workspace includes Show Docker and simulator tools, which removes the Docker tab and simulator-first guidance until you re-enable it.
Each device tab also includes built-in operator help with Start Here and Look For guidance, plus a toolbar toggle to show or hide that help on demand.
Manage from Terminal
thorctl health # Agent health check
thorctl sysinfo # System info (model, kernel, JetPack, uptime)
thorctl power # Power mode, clocks, fan speed
thorctl cameras # List cameras (CSI, USB, ZED)
thorctl gpu # GPU info, CUDA, TensorRT, models
thorctl docker # List Docker containers
thorctl ros2-nodes # List ROS2 nodes
thorctl ros2-topics # List ROS2 topics
thorctl ros2-echo /chatter # Echo a live ROS2 topic
thorctl modules # List ANIMA AI modules
thorctl network # Network interfaces
thorctl disks # Storage usage
thorctl usb # USB devices
thorctl exec "uname -a" # Run any command
thorctl watch # Live metrics dashboard
thorctl screenshot # Capture screen for debugging
thorctl quickstart <oem-config-username> # Mac-side Thor headless first-boot guide
Run thorctl help for the full list.
Features
Workspace Modes & Guided Help
- Docker visibility toggle: Hide Docker and simulator-first surfaces when you are working only with real hardware
- Tab help cards: Every device tab ships with quick operator guidance
- Guided mode: Open tabs with help already visible from
Settings > General > Workspace
- On-demand help: Use the
Show Help / Hide Help toolbar action per tab
Power & Thermal Management
- Power modes: Switch between MAXN, 30W, 15W via nvpmodel
- Jetson clocks: Lock/unlock frequencies for max performance
- Fan control: Adjustable PWM speed slider
- Thermal monitoring: Live temperature gauges with color-coded alerts
Hardware Detection
- Cameras: Auto-detect CSI, USB, and ZED cameras
- GPIO: Pin state visualization with direction indicators
- I2C: Bus scanning with device address discovery
- USB: Full device enumeration
- Serial: Port detection (ttyUSB, ttyACM, ttyTHS)
Docker Container Management
- List, start, stop, restart containers with confirmation dialogs
- View container logs
- Image management (list, pull)
- NVIDIA Container Runtime support
- Optional workspace toggle hides Docker controls entirely when they are not part of the operator flow
ROS2 Full Lifecycle
- Nodes: List active nodes
- Topics: List with message types, echo live messages
- Services: List with service types
- Launch: Start/stop launch files
- Lifecycle: Node state management (configure, activate, deactivate)
- Bags: Record, stop, list, play rosbags
ANIMA AI Module Deployment
- Browse module registry (PETRA, CHRONOS, PYGMALION)
- Check Jetson platform compatibility
- Compose docker-compose pipelines with TensorRT backend
- Deploy with one click, monitor per-container health
GPU & Model Management
- CUDA version, TensorRT version
- GPU memory usage gauge
- TensorRT engine file listing
- Model inventory (ONNX, TRT, PT, SafeTensors)
File Transfer
- rsync delta sync + scp upload
- Drag-and-drop with progress tracking
- SHA-256 checksum verification
- Transfer history
System Administration
- Kernel, L4T, JetPack version info
- Package management (apt update/upgrade)
- User management
- Storage monitoring with per-filesystem usage bars
- Network interface listing with IP/MAC
- WiFi scanning and connection
Security
- Trust-On-First-Use: SSH host key fingerprint verification
- Keychain: All credentials in macOS Keychain
- Localhost agent: API bound to 127.0.0.1, accessed via SSH tunnel
- Confirmations: Reboot, delete, container stop require explicit confirmation
- Auto-reconnect: Exponential backoff (2-32s)
Architecture
macOS Jetson Device
┌──────────────────┐ ┌──────────────────────┐
│ THORApp.app │ SSH Tunnel │ THOR Agent │
│ (SwiftUI) │◄──────────────────►│ (Python/FastAPI) │
│ │ │ router-based API │
│ thorctl (CLI) │ HTTP/JSON │ 10 router modules │
│ setup + ops │◄──────────────────►│ localhost:8470 │
└──────────────────┘ │ │
│ ├ power.py │
│ ├ system.py │
│ ├ hardware.py │
│ ├ docker.py │
│ ├ ros2.py │
│ ├ gpu.py │
│ ├ anima.py │
│ ├ network.py │
│ ├ storage.py │
│ └ logs.py │
└──────────────────────┘
Project Structure
thorapp/
├── Package.swift # 4 Swift targets
├── Makefile # build, test, run, install, Docker
├── Sources/
│ ├── THORApp/ # SwiftUI macOS app
│ │ ├── Views/ # 26 views (sidebar, panels, dialogs)
│ │ └── Services/ # 8 services (connector, deployer, etc.)
│ ├── THORShared/ # Shared library
│ │ ├── Database/ # GRDB SQLite (13 tables)
│ │ ├── Models/ # 50+ response types
│ │ ├── SSH/ # Session manager, host key verifier
│ │ └── Keychain/ # macOS Keychain wrapper
│ ├── THORctl/ # CLI
│ └── THORCore/ # Background helper
├── Agent/ # Python Jetson agent
│ ├── main.py # FastAPI core
│ ├── routers/ # 10 endpoint modules
│ ├── sim.py # Simulation state
│ └── process_manager.py # Background process tracking
├── Scripts/
│ ├── dev/ # local build/run/icon helpers
│ ├── release/ # app packaging + release artifact generation
│ ├── setup/ # local installer entrypoints
│ └── jetson-thor/ # Headless bring-up helpers for AGX Thor
├── docs/
│ ├── setup/ # Public setup and first-boot runbooks
│ ├── product/ # Product requirement docs
│ └── release/ # Release and packaging guidance
├── Tests/ # automated Swift test suites
├── Docker/ # Jetson simulator
└── .github/workflows/ # CI/CD
Development
make build # Debug build
make release # Release build
make test # Run the full suite; starts sims if Docker daemon is available
make test-unit # Run the non-Docker suite
make run # Package + launch app
make dist # Build release artifacts into dist/
make docker-up # Start Jetson simulators
make docker-down # Stop simulators
make install-cli # Install thorctl to /usr/local/bin
make icon # Generate app icon
make stats # Show project statistics
make clean # Clean build artifacts
Docker Simulators
docker compose up -d # Start Thor + Orin sims
thorctl connect localhost 8470 # Connect to Thor sim
thorctl connect localhost 8471 # Connect to Orin sim
# Default SSH: jetson@localhost:2222 (password: jetson)
# Thor sim: port 2222 (SSH), port 8470 (agent)
# Orin sim: port 2223 (SSH), port 8471 (agent)
The sims include:
- ROS2 Humble with demo talker/listener (live
/chatter topic)
- Docker CLI (Docker-in-Docker via socket mount)
- Simulated JetPack 6.1, CUDA 12.6, TensorRT 10.3
Jetson Agent Installation
On your real Jetson device:
# Copy agent files
scp -r Agent/ <your-user>@YOUR_JETSON:/opt/thor-agent/
# Install dependencies
ssh <your-user>@YOUR_JETSON "pip3 install fastapi 'uvicorn[standard]' psutil pyyaml python-multipart"
# Create systemd service
ssh <your-user>@YOUR_JETSON "sudo tee /etc/systemd/system/thor-agent.service << EOF
[Unit]
Description=THOR Jetson Agent
After=network.target
[Service]
Type=simple
User=<your-user>
ExecStart=/usr/bin/python3 /opt/thor-agent/main.py
Restart=always
Environment=THOR_AGENT_HOST=127.0.0.1
Environment=THOR_AGENT_PORT=8470
[Install]
WantedBy=multi-user.target
EOF"
# Enable and start
ssh <your-user>@YOUR_JETSON "sudo systemctl daemon-reload && sudo systemctl enable --now thor-agent"
Supported Devices
| Device |
JetPack |
Status |
| Jetson Thor |
7.0+ |
Primary |
| Jetson AGX Orin |
5.1+ |
Supported |
| Jetson Orin NX |
5.1+ |
Supported |
| Jetson Orin Nano |
5.1+ |
Supported |
Contributing
- Fork the repo
make build && make test
- Submit a PR
See LICENSE for MIT license details.
Built by RobotFlow Labs • An AIFLOW LABS project
评论