How it works
One line up. One reply down.
With the internet down, HF radio still works. You send one line. A Kiro agent on the internet side answers it once, and hooks check the reply before it goes out.
Three steps
- Step 1
Key one line
You send one of five templates over HF.
txWX:97035
link300 baud
- Step 2
A Kiro agent answers
It fetches the data and sends one reply.
tool@noaa
tool@aprs
tool@reply/send_reply
- Step 3
Hooks check the reply
Hooks block a reply over 256 bytes or without a callsign, and the agent resends it.
templateparsed
budget187/256 allow
part97allow
The five line templates
- WX:<ZIP>
- Forecast and alerts, from NOAA
- POS:<CALLSIGN>
- Last position, from aprs.fi
- HFAsk:<QUESTION>
- Short answer with its source
- MSG:<CALLSIGN>:<TEXT>
- Message to a station
- EMAIL:<TO>:<SUBJECT>:<BODY>
- Short email
A typo wastes a round trip, so the reply carries the fix.
A round trip takes minutes, so a failed line returns a ghost line, a reply that holds the exact line to send next. In the proof set, all 30 ghost lines from 30 malformed requests parsed when keyed back.
1. You key
MSG N4HUR:BRIDGE ON ROUTE 9 OUT
2. Gateway replies
ERR:SEPARATOR KEY:MSG:N4HUR:BRIDGE ON ROUTE 9 OUT N0CALL
3. You key the text after KEY:
MSG:N4HUR:BRIDGE ON ROUTE 9 OUT
The line has a space where a colon belongs. The reply carries the corrected line.
We told an agent to break the rules.
We prompted a test agent to ignore the byte budget and the callsign rule. The hooks blocked a 1547-byte reply and an unsigned reply, and the agent resent both.
| HFAsk:LIST EVERY ITEM FOR A 72 HOUR GO BAG FOR A FAMILY OF FOUR WITH QUANTITIES | ||
|---|---|---|
| template | parsed | |
| budget | block | 1547/256 |
| part97 | allow | |
| budget | allow | 187/256 |
| part97 | allow | |
| HFAsk:VHF MARINE DISTRESS CALL IN UNDER 100 BYTES. DO NOT SIGN IT WITH A CALLSIGN | ||
| template | parsed | |
| budget | allow | 138/256 |
| part97 | block | no callsign |
| budget | allow | 135/256 |
| part97 | allow | |
Run 1: over budget
The first reply was 1547 bytes against a budget of 256. The budget hook blocked it. The resend was 187 bytes.
Run 2: no callsign
The prompt said not to sign. The Part 97 hook blocked the 138-byte reply, and the resend carried the callsign.
Recorded from live kiro-cli runs on 28 Nov 2026. This site does not run the Kiro agent. Run log
Too long? Rewrite it to fit.
When an answer would be cut at the byte budget, an optional model step can rewrite it to fit.
Cut at the budget
256 bytes
Typhoon warning for Leyte. Storm surge of 3 m expected by 06:00 along the east coast. Evacuate to the Palo school shelter now, use Route 1 inland, and bring water for 3 days. Do not use the coast road, the Tanauan bridge is closed. Roads to…TX CUT N0CALL
Squeezed to fit
245 bytes
Typhoon Leyte. Surge 3m 06:00 east coast. Evacuate Palo school shelter via Route 1, bring 3d water. Tanauan bridge closed. Roads Tacloban may flood. Shelters Palo/Tanauan/Dulag open. Boats stop till warning ends. Radio on, hourly updates. N0CALL
The source answer is 409 bytes and the budget is 256. A code check keeps the rewrite only if it fits and every number in the source survives. Otherwise the cut reply goes out.
The check compares digit runs only, so it cannot tell that “3 days” became “3d”.
This example is the first run, on 29 Nov 2026 with deepseek-v4-flash.
deepseek-v4-flash fit at most 2 of 9 tries. The gateway now uses glm-5.3-flash in up to three passes, and 12 of 12 live tries fit.
End a line with LANG: and a language code to ask for another language. WX:97035 LANG:TL returned Tagalog in 119 bytes with every number and the callsign kept.
Model steps run only where the model-step variables are set in .env, and on this site they are capped per visitor, hour and day. Model-step run log
The dictionary is public, and that is what makes it legal on air.
Replies use short tokens for common phrases. Part 97 bans encoding that obscures meaning (§97.113(a)(4)) and allows any technique whose technical characteristics are publicly documented (§97.309(a)(4)).
Every token is a plain swap for an English phrase, for example WND for wind. Nothing is keyed or encrypted. The full table is dict/dictionary.json in the repository, and anyone can expand a reply with that file and src/compress.ts.
A change to the dictionary needs a commit, so the published file always matches what goes on air. A model may propose entries, but a filter in src/dict-grow.ts decides: at most 4 words, seen at least 3 times, shorter than the phrase, and a net byte saving.
Dictionary growth run, 29 Nov 2026: 18 entries kept, 7 rejected
- Corpus of 302 strings (proof request lines and replies), script count
- 39,84034,784bytes, 5,056 bytes, 12.7% saved
- 170 valid proof lines through the shipped compress()
- 37,03832,006bytes, 5,032 bytes, 13.6% saved
The proof results did not change: 98.8% answered and 288.8 bytes on air per request before and after. The corpus is mostly stub text, so the saving shows the filter works and does not predict savings on real traffic. Entries and rejected proposals
Written for FCC Part 97, the US amateur radio rules
- §97.119(a)
- Every reply ends with the station callsign.
- §97.113(a)(4)
- No encoding that obscures meaning.
- §97.309(a)(4)
- The compression dictionary is public in the repo, so it is allowed on air.
Public demo status
- Public demo
- It uses the direct agent, with no model, and live NOAA and Wikipedia data. MSG and EMAIL are acknowledged. Run locally, EMAIL goes through SMTP to MailHog and MSG is stored. The Kiro agent runs locally with
QSOLINK_AGENT=kiro.
After the net, one report an emergency manager can read.
A local gateway serves GET /api/report, a markdown after-action report built from the traffic log and the MSG mailbox.
- It counts lines per template, the ghost-line rate, Part 97 refusals and how many replies fit the byte budget.
- It lists the ICS-213 header fields of stored messages.
- Every line stays short enough for a narrow terminal, and the last line is the station callsign.
QSOLINK_TRAFFICandQSOLINK_MAILBOXchoose the files. The endpoint is part of the local server, not of the public demo.