dckc 372f6a2b96
check / check (push) Canceled after 0s
ci: nix flake check on every push
ir-pico's doctests and speech's unit tests, in the nixos/nix image,
pinned by digest. The checkout is plain git, since actions/checkout
needs node and the image has none.

Generated-by: Claude Opus 5.5
2026-12-02 15:30:58 -06:00

Peace and Dignity at the TV: delegating the remotes to an agent

Watching TV used to mean turning the dial to 4 (NBC), 5 (CBS), or 9 (ABC). Now one stray press of the Input button leaves a "No Signal" screen with no obvious way back; the TV comes on but the cable box doesn't; the sound disappears because a menu sent it somewhere else. Rather than inflict this mess on our elders, we can respect them: let them say what they want, and delegate the details of handling the devices to an agent.

Part of the agent is a box within reach of the couch: press its button and talk. Its ears and voice, speech recognition and synthesis, run on a computer at home, so recordings of you never leave the house; the language model behind it sees only a transcript.

"Put on the ballgame," says Dad

One request from the couch becomes a dozen steps for the agent, with a look at the screen when it needs one:

Dad:    [presses the button] Put on the ballgame.
            ↳ notes: the home team, and the cable lineup
            ↳ web search: today's game, start time, which network
            ↳ ir: TV power, cable box power
            ↳ ir: Input, to the cable box
            ↳ ir: channel 6, 1, 4, Enter
            ↳ look: the game?
Agent:  Here's the game. It started ten minutes ago.

The game isn't on 4, 5, or 9. It's on a sports network in the hundreds, behind two Power buttons, the Input button, and the cable box's remote. Our elders have done their share; let the agent do this.

Capabilities and confinement

An agent in the living room should be able to do what it's for, and no more. A capability is a reference that both names a service and grants the right to use it. Each part holds capabilities for exactly the services it uses. The brain can press IR buttons and take one camera frame, but it can't reach a shell on the box or anyone's files.

The parts talk over Cap'n Web; CONTRIBUTING says how.

Parts

The agent is built from parts you can buy and solder:

  • The IR emitter: a Raspberry Pi Pico H with an IR transceiver (wiring), on a USB cord, aimed at the equipment.

License

Apache 2.0

S
Description
No description provided
Readme Apache-2.0
270 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 47.3%
Python 28%
Nix 13.5%
Makefile 8%
Shell 2.8%
Other 0.4%