Agent Recipes

Runnable examples showing how to connect AI agents to your devices using MCP, REST, or LangChain.

๐Ÿค–

Claude Desktop โ€” Read Sensors

Configure Claude Desktop to talk to your ESP32 devices via the jettyd MCP server. Read sensor values and send commands in natural language.

MCP Claude Desktop
โฐ

Cron Agent โ€” Scheduled Commands

Python script that polls sensor values on a schedule and automatically sends commands when thresholds are crossed. No LLM required.

Python curl
๐Ÿ”„

Webhook Agent Loop โ€” Event-Driven

Node.js/Express server that receives jettyd webhook events and triggers commands in response. Build reactive automations without polling.

TypeScript Node.js
๐Ÿฆœ

LangChain โ€” Tool Wrapper

Wrap jettyd REST endpoints as LangChain DynamicStructuredTool objects. Use them with any LangChain agent or LLM.

LangChain TypeScript