Papers, reports, and results.
Work on running intelligence where the data is: model efficiency on small devices, offline transport, and the systems around them. Everything here links to the artifact, the code, or both.
2026
Dictate anywhere, ask anywhere, without the cloud
Voice typing and writing help are most useful when they work in every app, and the popular tools for both send what you say or select to a server. We built two system-wide features for Kalon on the Mac that do the work on the computer itself. Dictate anywhere opens a small glass pill over any app when you press ⌃⌥Space, and transcribes your speech with a Whisper model stored on the Mac. Ask anywhere opens a panel over any app when you press ⌃⌥K, and improves, corrects, shortens, explains or summarizes the text you selected, or drafts new text from an instruction, with the model Kalon already has loaded. With a local model, neither the recording, the selection nor the answer is sent to a server. This report describes the design and the details that make it feel instant.
BEMA: the model supplies the meaning, and the app does the rest
A model small enough to run on a laptop or a phone can explain a topic well, but it is unreliable when it has to produce anything structured. We built BEMA, the Bi-directional Encoding and Mediation Architecture, to work with that limit instead of waiting for a larger model. We ask the model only for meaning, written as compact data with one item on each line. Kalon checks every line, repairs what it safely can, drops what it cannot trust, and draws the result in templates of its own. The exchange also runs the other way. Kalon reads what the person asked for and states the format and the language plainly, and when the person answers a question or opens a card, that action goes back to the model as a short and exact message. We built BEMA in Kalon first, for charts and then for study cards, quizzes, mind maps and slide decks, and we have since carried it into Econuva, our climate learning app. This report describes each part, gives the limits as our code states them, and says what we have not yet measured.
Kalon Link: one scan to run a phone's chats on a Mac's models
A phone holds a small model. The Mac on the same desk can hold a much larger one. Kalon Link lets the phone ask and the Mac answer, directly over whatever private local network both are on, with no account, no relay and no server of ours in the path. We describe the pairing, which fits in one QR code and expires in five minutes; the channel, which pins the Mac's public key instead of trusting a certificate authority or switching certificate checks off; the per-device token; the rules for what the Mac will listen to; and the way a reply is streamed and stopped. Every constant in this report is taken from the code and its tests: the Mac half as released, the iPhone and iPad half as built. We also say plainly what has not been measured: there is one observed pairing on real hardware, at about two seconds, and no stream-rate or latency figures yet.
AirLink: sealed voice and text between nearby devices with no network
AirLink lets two people talk and message when there is no internet, no carrier, and no account, using only the radios their phones and laptops already have. We describe a small flooding mesh that runs over Bluetooth Low Energy and peer-to-peer Wi-Fi at the same time, a sealed-sender message format built on HPKE, a call path that sends Opus voice down two roads at once, and the number system that lets a stranger dial you from across a room. Everything below is drawn from the shipping code, its 199 automated tests, and one measured session on real devices.
Optical file transfer with fountain codes on consumer displays and cameras
We describe a one-way optical channel that moves files between commodity devices using only a display and a camera, with no radio, no pairing and no server. Because the camera cannot talk back, the sender streams RaptorQ encoding symbols in self-describing QR frames and the receiver rebuilds the file from any sufficient set, verifying a SHA-256 digest before it offers anything. On real devices the code completed at exactly the source symbol count in every recorded run. A MacBook Pro sending to an iPhone 12 Pro Max reached 30.5 KB/s at QR version 27, 90% of the ceiling for that code size and frame rate, with a median decoder pass of 23.8 ms. Across 64 runs on three device pairings, raising density to version 40 cost 1.59 to 1.67 times the decoder pass with no detectable loss in hit rate, and Low Power Mode, not thermal state, lengthened the pass on every pairing. Several of these effects were misread in single runs and corrected by repetition.