Anthropic has open-sourced claude-desktop-buddy, allowing the Claude desktop client to function as a Bluetooth gateway for hardware peripherals.

robot
Abstract generation in progress

ME News, April 20 (UTC+8): according to Beating Monitoring, Anthropic has recently open-sourced the GitHub repository claude-desktop-buddy, publishing a Bluetooth API for Claude’s desktop application aimed at the maker community, along with a reference implementation for an ESP32 “desktop pet.”

Specifically, Claude’s macOS and Windows clients, when in developer mode (Help → Troubleshooting → Enable Developer Mode), open a BLE interface. Using the Nordic UART Service (a commonly used custom serial service in low-power Bluetooth), they send session status, permission requests, and recent message notifications to the paired hardware. The hardware can also send back the user’s responses from the “Allow / Deny” buttons to the desktop. For developers who want to build AI peripherals, this path removes the need to integrate with the Claude API themselves: as long as the user’s desktop client is running, the hardware can receive real-time session status and complete approvals locally via buttons.

The example provided in the repository uses the M5StickC Plus (a development board equipped with ESP32) to create a desktop pet: it sleeps when there is no active session on the desktop; when a session starts, it wakes up; when permission requests are pending, it becomes anxious. The user can approve with A and deny with B. The firmware comes preloaded with 18 ASCII roles; each role includes seven sets of animations, covering seven states: sleeping, idle, working, pending approval, upgrading, being shaken, and quick approval. Every time it accumulates 50K tokens, it triggers an upgrade celebration, and if approval is granted within five seconds, a heart appears.

If you want to replace roles with GIFs, the desktop app supports pushing a folder directly to the device that contains a manifest.json and several 96-pixel-wide GIFs, with the entire package not exceeding 1.8 MB. In its repository documentation, Anthropic emphasizes that this BLE API only works in developer mode and is not an officially supported product feature; it is positioned as a lightweight interface for the maker community that requires users to manually enable it.

(Source: BlockBeats)

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
Add a comment
Add a comment
No comments
  • Pinned