Local AI for smart spaces
A local AI agent that reads building sensors.
An agent that reads live sensors without sending data to the cloud. I built the agent and evaluation suite with the ERNIS lab.
The problem
Asking a question about a space usually means streaming camera frames to someone else's cloud. Can an open model do it entirely on local hardware, and does it hold up when someone tries to talk it into leaking?
What I built
- My part: the agent itself (LangGraph workflow, system prompt, batched sensor tool, structured answers on a local Qwen3.6-27B) and the evaluation suite behind the paper's numbers.
- One tool call that reads camera, temperature, light and sound across rooms, with frames fed back to the same model as images.
- A 300-case benchmark: single-sensor, multi-sensor, out-of-scope and adversarial prompts, scored on answers, tool choice, refusals, latency and privacy violations.
Results and limits
92.3%task success across 299 prompts
A 127-second median latency and a 9.1% adversarial violation rate. A deployment needs access controls outside the model.
python · local llms · qwen · langgraph · iot · mqtt · evaluation