radiocli Home Blog GitHub

radiocli

Your Uniden scanner, driven from the terminal or by an AI agent.

An SDS scanner is normally driven by a thumb on its knob and keypad. radiocli puts it behind a command line, over USB, so an AI agent can drive the radio instead: read the screen, press any key, walk the menus, edit favorites, tune a frequency. Plain text for you, JSON for the agent.

radiocli screen         # read the scanner's screen without looking at it
radiocli tune 162.550   # listen to one frequency, here the weather service
radiocli favorites      # list the favorites saved in the scanner's memory
radiocli --help         # see all 25+ commands, from the volume knob to the menus

Get radiocli on GitHub

Free and MIT licensed. One file, nothing to install alongside it. macOS, Windows, and Linux.

It was built and tested against an SDS150. The SDS100 and SDS200 speak the same protocol, so it should work on them unchanged. I just don't own one to confirm it. If you try, say how it went.

Why this exists

This is a hobby project. I wanted an AI agent to be able to run my scanner, and there was no way to do that, so after thirty years of building software for a living I built one for fun. It turns out an agent needs the same things a person at a keyboard needs: commands that say what they do, check that they worked, and answer in a form that can be parsed. So the same tool serves both. You can type the commands yourself, wire them into a script, or hand the whole thing to an agent and tell it to program your scanner for you.

What it can do

Built for scripts and agents

Every listing command speaks JSON with -o json. Results go to stdout; progress, prompts, and errors go to stderr, so redirecting stderr leaves stdout holding only the answer.

radiocli favorites -o json | jq -r '.[] | select(.monitored) | .name'

Blog

The scanner ships no public API for any of this. The serial protocol, the display layout, the font, the color palette, and the menu tree were all worked out from the outside. These are the write-ups; the working notes behind them live in research/.