IoT Agent
agentic IoT sensor monitoring with LLM integration.
- year
- 2026
- role
- full stack developer
- built with
- Python, TypeScript, Arduino, aiogram, litellm, MCP, Remotion, BLE

“let the AI handle the sensors. you handle the decisions.”
iot agent is an intelligent monitoring system that bridges physical sensors with AI. it reads real-time environmental data from an Arduino Nano 33 BLE Sense Rev2 including temperature, humidity, pressure, light, motion, and audio, and exposes it through both a Telegram bot and a Claude Desktop MCP server for natural-language interaction.
the system uses an agentic LLM loop with 50+ tools to autonomously interpret sensor readings, detect anomalies, analyze trends, and generate visualizations. it supports multiple LLM providers (OpenAI, Anthropic, Cerebras, Gemini, Ollama) with smart rate limiting, key rotation, and automatic model fallback.
one of the standout features is the MCP integration. Claude Desktop can natively query IoT sensors, create apple watch-style dashboards, run sandboxed Python code, and even render animated D3.js videos via Remotion. the Telegram bot gives you the same capabilities on mobile.
the hardware side communicates over BLE or serial, with a dynamic sensor registry that supports runtime discovery. the whole thing is async-first, gracefully degrades without hardware, and includes a comprehensive test suite.