23 November 2026
Ruru: drawing your ideas for an LLM
We pointed a webcam at the office whiteboard and turned it into a tool any AI agent can call. Today it's open source.
In our last post, a marker sketch on the whiteboard became a 3D-printed wall mount in about a quarter of an hour. The first step was Claude reading the board, and we said how that worked would get its own article. This is it.
Ruru is a small service that lets an AI agent look at a whiteboard. Ask "what's on the board?" and the agent takes a photo, gets back a clean, head-on image, and works from it. We've been using it in the office for a few weeks, and today we've published it on GitHub for anyone to run.

1Why a whiteboard?
We think best with a marker in hand: boxes and arrows, a list of jobs, a rough sketch with dimensions. Getting that into a conversation with an AI usually means taking a phone photo, cropping it and pasting it in. It's a small hassle, so it often doesn't happen, and the idea stays on the wall.
We wanted the board to be something the agent could simply read, whenever it needed to.
2Straightening the board
The camera can't sit in front of the board, because that's where people stand. Ours is mounted off to one side, so it sees the board at an angle, along with the ceiling, a door and a smoke alarm.


Ruru fixes the angle with a one-off calibration. In the admin panel, you drag four handles onto the corners of the board on a live view and enter its measured width and height. From then on, every capture is warped to a flat, head-on rectangle and sized for the model to read.

The camera's settings are locked too: exposure, white balance and focus. That way two photos of the same board look the same, whatever the light is doing outside.
3Zooming in on small writing
A whole board, shrunk to a size a model handles well, loses fine handwriting. So the agent gets a second tool. When it can't read part of the board, it asks for just that region, cut from the full 4K frame.

This is what made the wall-mount dimensions readable. The agent decides when to zoom; nobody has to tell it.
4How it's built
Ruru speaks MCP, the Model Context Protocol, which is the standard way to give AI agents new tools. Any MCP client can use it, including Claude Code and Claude Desktop. It offers four tools:
| Tool | What the agent gets back |
|---|---|
capture_whiteboard | The whole board, straightened and sized for a model to read. The normal call. |
capture_region | Any part of the board at full 4K resolution, for writing that is too small. |
capture_raw | The untouched camera frame, for checking framing and focus. |
list_capabilities | Whether the board is calibrated, its shape, and whether the camera is available. |
Under the hood are two small Rust programs, one on each side of a Unix socket:
USB camera
4K webcam, mounted off to one side
↓ video
ruru-source
Owns the camera and shares its frames
↓ Unix socket
ruru-mcp
Straightens, crops and resizes; serves MCP and the admin panel
↓ MCP + key
AI agent
Claude Code, Claude Desktop, any MCP client
- ruru-source owns the camera. Only one program can stream from a USB camera at a time, so this one does, and shares the frames with anything else on the machine that wants them.
- ruru-mcp turns frames into board images and serves the MCP tools and the admin panel.
Splitting them keeps the camera side simple and reusable. If you want to build something else from the same camera, such as a meeting-room occupancy counter, it can sit alongside Ruru as a peer.
5A camera in the office, done carefully
A camera pointed at a wall people stand in front of needs care. Ruru only turns the camera on while something is actually looking, then switches it off again, and it logs every time it does. The admin panel's live view counts as looking, so it pauses itself when you switch tabs and after ten minutes. It all runs on your own network; nothing is sent anywhere else.
The agent needs a key to use it, and the admin panel needs a password. Logins are rate-limited, sessions expire, and the two programs run as separate users so the web-facing side can't touch the camera directly.
6Open sourcing it
Before publishing, we went through the code the way an outsider would. We stripped out anything specific to our office, wrote the docs a newcomer needs, and hardened the security. Doing that turned up real bugs:
- The live view in the admin panel was streaming full 4K frames, around 100 Mbit/s, and browsers couldn't keep up. It now sends smaller frames a few times a second, and calibration runs smoothly, even on a phone.
- A browser tab left open on that live view kept the camera running for over three hours. It also made every restart hang for 90 seconds, waiting for a stream that never ended. Both are fixed: the view pauses itself, and a restart now takes a fraction of a second.
Ruru is licensed MIT OR Apache-2.0. Use it, change it, build on it. The Ruru name and owl logo stay ours, so if you fork it, give it a new name.
What you need
- A USB webcam that works on Linux. We use a Logitech MX Brio at 4K.
- A Linux machine the camera plugs into directly.
- An AI agent that speaks MCP.
Try it before you buy a camera
Ruru ships with a fake camera that produces real video, so the whole stack runs on a laptop. The README walks through it, and through the production install when you're ready.
What made it work
- Calibrate once, read forever. Four corners and a tape measure, then every capture comes out straight.
- Let the agent zoom. A small whole-board view plus full-resolution regions beats one huge image.
- Lock the camera. Fixed exposure, white balance and focus make captures consistent.
- Camera off by default. It's only on while something is looking.