Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
RunMesh is the private network layer that lets Runtools reach registered devices and sandboxes without exposing raw services to the public internet. It is used for local Mac agents, device inventory, peer configuration, and cross-resource dispatch. RunMesh is not a replacement for API authentication. API calls still use normal session tokens or API keys. RunMesh gives an approved device a private node identity and lets the platform route work to it.What RunMesh Connects
| Node type | Use |
|---|---|
| Registered Mac | Runs local Mac agents through the Autopilot sidecar |
| Firecracker sandbox | Gives sandboxes private mesh identity for platform dispatch and access |
| Future devices | Additional runtimes can join the same org-scoped mesh when supported |
Local Mac Agents
Alocal-mac agent is bound to one registered RunMesh device. The agent can be started from the Mac app, dashboard, iOS, CLI, or SDK, but execution happens on the bound Mac.
/v1/run registers the cloud thread and returns runId, threadId, and rolloutId; the Mac sidecar then executes locally and publishes thread events back to the platform. When another client starts the same local Mac agent, the orchestrator dispatches the run over RunMesh to the target device.
Device Linking
The Mac app starts a device-link request, the user approves it in the dashboard, then the app polls until it receives the approved node identity.- App creates a link code with its public key.
- User approves the code in the dashboard.
- App receives node config and starts the local helper.
- The device appears in RunMesh nodes and can be used by
local-macagents.
What Stays Private
RunMesh exposes private node names and peer config to authorized org members. It does not expose platform-owned provider credentials, internal model routing, or raw infrastructure topology in customer-facing APIs.Related APIs
RunMesh API
Device link, node list, config, audit, and revoke endpoints.
Agents
local-mac, managed, and in_sandbox execution modes.