device-context-protocol/dcp

View on GitHub ↗

Device Context Protocol — bridge LLM agents to physical devices. Sub-50-byte frames, 27.6KB flash / 0.6KB RAM measured on ESP32, capability-scoped and safe by design. Complementary to MCP. Paper: arXiv:2605.26159

56 ★4 forksPythonUpdated 3mo ago

What you need to know

Reference implementation of the Device Context Protocol (DCP v0.3 draft) - an intent-level, transport-agnostic protocol for LLM agents controlling physical devices down to microcontrollers. Includes a compact wire format (sub-50-byte frames) and firmware that runs in under 1KB RAM / 28KB flash, plus a DCP-to-MCP reference Bridge so any MCP host can drive devices. Hardware-validated on ESP32-WROOM-32.

Key features

  • Intent-level protocol for device control, not tied to a specific transport
  • Compact wire format with sub-50-byte frames
  • Firmware runs in under 1KB RAM / 28KB flash
  • DCP-MCP reference Bridge for compatibility with MCP hosts
  • Hardware-validated on ESP32-WROOM-32
Documentation ↗

Reviewed 2026-08-11

Topics

agentarduinobridgecbordevice-controlembeddedesp32hardwareiotllmmcpmicrocontrollermodel-context-protocolprotocoluart
Stars
56★
Forks
4
Language
Python
License
MIT
Created
2026-05-18
Last push
2026-05-27