Open Protocol · Apache 2.0
An open communication protocol that lets AI agents interact with physical devices using semantic intent — no hardcoded rules, no manual configuration per device.
Existing protocols
DoSync
Architecture
DoSync is a 5-layer protocol stack. Each layer has a single responsibility and doesn't need to know how the others work. Compatible with Home Assistant, Philips WiZ, Shelly, Matter, Zigbee, and any WiFi device.
Layer 5
Intent
AI expresses semantic goals
Layer 4
Semantic
Resolver maps intent → device actions
Layer 3
Registry
Devices self-declare capabilities on join
Layer 2
Security
mTLS, local PKI — no internet required
Layer 1
Transport
WiFi · BLE · Zigbee · Z-Wave · Thread
Demo
A conversation with Claude AI triggers a physical emergency protocol in real time — 10 Philips WiZ bulbs, SMS notification, audit log. No commands. No rules. No cloud.
Raspberry Pi 5 running the hub autonomously · 10 Philips WiZ bulbs via UDP · SMS via Twilio · zero internet dependency
Milestone · June 2026
DoSync was built domain-agnostic — nothing in it assumes a house. The proof: we took it to the hardest device, an autonomous drone. Then an AI model, from a single sentence in plain language, fired the intent and the drone flew the entire mission — every step confirmed by real telemetry, validated against ArduPilot SITL.
Human → AI
A sentence
“inspect the perimeter of this area”
AI → Intent
inspect_area
model builds the context and fires it
DoSync → Drone
Mission
take_off → 4× go_to → return_home → land
Path A — verified first
Intent fired by API
The full mission flown by posting the semantic intent to the hub. Proves the closed loop: command, telemetry, confirmed arrival at every step.
Path B — the real goal
Intent fired by an AI model
A model (Claude Haiku, via DoSync's native MCP server) read the goal in plain language, chose inspect_area, built the context, and fired it. The AI decided to act — the whole point of the protocol.
When the AI guessed wrong, the system caught it.
On the first attempt — with no coordinates given — the model filled the gap with a plausible guess 11,000 km away from the drone. The supervisor did not fake success: it waited for a confirmed arrival, none came, and it aborted the mission with a clear diagnosis. The AI can be wrong. The protocol does not have to be.
How it executes
Press the button and watch every layer of the protocol execute in sequence — resolver, policy engine, adapters, audit log. Real times from the production deployment.
Quick start
No hardware required. The Docker demo starts the hub and registers 8 simulated devices automatically.
Extensibility
Any device that can receive a network message can be a DoSync adapter. You implement one method — the hub handles the rest.
Available today
wiz · homeassistant · shelly · matter · gpio · simulated
The adapter contract
One method: execute(action, urgency). The hub handles routing, audit logging, policy evaluation, and state tracking. Your adapter only speaks to the device.
Optional: state querying
Implement get_state(device_id) to participate in the background state refresher — the hub polls your device every 60s and skips redundant actions automatically.
Use cases
The same 5-layer stack works anywhere an AI needs to coordinate physical systems.
Smart home
Emergencies, routines, energy efficiency — orchestrated by intent, not rules.
Retail store
Cold chain failure at 3am → manager notified, sector locked, maintenance dispatched — before products are lost.
Hotel
"Guest in 412 has arrived" → room configured to saved preferences, no configuration needed.
Factory
"Line B failure" → notifications, access control, tamper-evident audit trail — coordinated alongside the line's own safety systems.
Certification
Three tiers, self-certifiable with the CLI. No manual approval required for Basic and Standard.
DoSync Basic
Layers 1–3: connectivity, authentication, capability manifest.
DoSync Standard
Layers 1–4: intent response, events, health reporting.
DoSync Emergency
All layers + emergency override + tamper-evident audit log.
Project status
Reference implementation. Apache 2.0. One person building it. Here's what's real today.
Works with Home Assistant
Home Assistant already solved the hardest problem in the smart home: talking to thousands of devices. DoSync doesn't reinvent that — it reads devices from HA through a bridge that's already in the repo, and adds a semantic, auditable coordination layer above them. HA is one source of devices; the intelligence stays in the connecting AI.
HA's MCP server exposes commands
Turn on this light, set that thermostat. The intelligence of what to do lives in an automation you wrote, or in the AI sending commands.
DoSync resolves intents
Express a goal — ensure_safety — and a resolver coordinates the right devices across any source, with a tamper-evident audit log of what acted and why.
When DoSync earns its place
When coordination and traceability both matter at once — a fall-response that unlocks the door, lights the house, and messages family, with an auditable record of exactly what fired.
When it doesn't
For everyday automation — "porch light when I get home" — you don't need DoSync. HA's automations and its MCP cover that completely. The extra layer is for the narrow set of cases that need auditable coordination.