A pager for your coding agent: termchat.app 0.41 to 0.43
29 November 2026
A coding agent can work for an hour on its own. You are not at the laptop. It finishes, or it stops to ask “may I drop this migration?”, and waits for someone who is walking the dog.
termchat.app 0.41 adds termchat mcp: a small local server that lets the agent reach your phone through termchat. It can say “done”, and it can ask a yes or no question and wait for your answer. 0.42 puts Yes and No buttons under that question on Android. This post is about how it works, what we chose not to build, and the one thing a first real use changed.
Two tools, nothing else
Coding agents (Claude Code, Codex, Cursor and others) talk to tools over MCP, the Model Context Protocol. A local MCP server is a program the agent starts, speaking JSON over stdin and stdout. One line adds ours:
claude mcp add termchat -- termchat mcp --notes
It gives the agent two tools:
notify(text)sends a text of up to 4,000 bytes.ask(question, minutes)sends the question with a one-time code and waits 1 to 60 minutes. The agent gets backyes,noorno answer.
That is the whole surface. The agent cannot read your messages, list your contacts, send files, join groups or change settings. It does not choose the recipient either: that is set once, in the line above, by you. At most 10 messages a minute and 60 an hour go out, and nothing the agent sends or receives is written to the server’s own log, which MCP clients keep.
Underneath it is the same termchat daemon and the same ask that scripts have used since ADR-032: the daemon holds the unlocked identity, the question travels as an ordinary end-to-end encrypted message, and only an answer with the current code from the right device counts. The MCP server is a thin client of it. It never sees your password. The design is ADR-049.
Why so little
An agent reads things it did not write: web pages, issues, files from other people. Text like that can steer it. That is called prompt injection, and nobody has a fix for it. So whatever the agent may do through termchat, assume an attacker who planted a sentence in a README may do too.
With two tools and one fixed recipient, the worst a steered agent can do is send you up to 60 messages an hour, including a misleading question. It cannot read your chats, write to anyone else, or learn anything except your yes or no.
We left out the obvious next step on purpose: reading your replies as instructions. “Reply deploy to deploy” would turn a stolen phone, or one careless message, into a remote console for your laptop. termchat has never run a command because of a message, and this does not change it.
What “yes” means here
In ADR-032, a script decides in advance what yes allows: if termchat ask alice "Deploy build 42?"; then ./deploy; fi. The person confirms one step that already exists.
With an agent it is different. The agent decides what to do after your yes. So a yes here is advice to the agent, not a permission: the agent’s own permission settings still decide what it may run. Answer only questions you understand. A question that sounds harmless can hide what comes after it, exactly as with any permission prompt an agent shows you on the laptop.
Where it goes: your Notes, or a chat of its own
You pick one of two places in the config line.
--notes: messages go to your own Notes, on every device of yours. The daemon runs your identity, and your phone is linked to it. A question is answered by a new note on the phone. No second identity, nothing to verify.--to CONTACT: the agent gets an identity of its own, with your phone as its only, verified contact. Its messages appear in a chat of their own.
For Notes, the daemon had to learn something new: an answer that arrives as a note from another device of yours. Your own devices were linked by you and check each other’s keys, so here they count, unlike a contact’s linked devices, which ask still refuses. An edit, a copy of a chat or a group message never answers.
On my Mac the desktop app keeps my main identity open, and an identity can be open in one place at a time. So in practice I use the second setup: an identity called mac-agent, a launchd agent that runs its daemon, and my phone as its contact.
The first real question
The first time the agent asked me something on the phone, the question ended with:
To approve, send: yes 4f0c19a2be7d3e81
To decline, send: no 4f0c19a2be7d3e81
Android does not let you copy part of a message, and typing sixteen hex digits with one thumb is not something anyone wants to do twice. The code is there for a reason: it ties the answer to one question, so another contact, or an old answer, can never approve the current one. But nobody said a person has to type it.
0.42 shows two buttons under such a question: Yes and No. A tap sends exactly the line you would have typed, so nothing changed on the wire or in the daemon. The buttons go away once you have answered, and one question gets one answer however fast you tap. The engine now both writes the question and finds its two answers, so the daemon and the apps cannot drift apart (ADR-032 amendment 1).
What if a contact sends text in that exact form to trick you? Then the buttons send that text back into the same chat, which you could have typed anyway. They approve nothing anywhere else.
And Delta
Delta, from the Zed team, runs agents in threads, each with its own copy of the working tree. Claude Code inside a Delta thread uses termchat mcp like anywhere else. Delta can also run a turn on your own computer that you send from your phone. What it does not do is tell your phone when that turn ends or the agent waits for you. That gap is exactly what this fills.
For threads whose agent does not call notify itself, the scripting guide has a short recipe on delta thread watch: a line such as “release is waiting for you” when a turn ends or a comment arrives. It sends the name you gave the thread and nothing else: no transcript, no code.
One thing to know: Delta syncs the whole thread to Zed’s servers, the conversation, the tool calls and the files of the working copy. That is fine for an open-source repository. For a private one, keep secrets, server access and signing keys out of the sessions you run there.
0.43: the computer first
In real use, one thing was off: when I sat at the laptop, every question still buzzed in my pocket. 0.43 adds --phone-after:
claude mcp add termchat -- termchat mcp --to alice --phone-after 5m
Now ask first shows the question in the agent’s own window, as a yes or no dialog. Only if nobody answers there within five minutes does it go to the phone, with its one-time code, as before. The first answer wins. A tap on the phone closes the dialog on the laptop. An answer on the laptop after the phone was asked sends the phone a short line, “answered on the computer”. This uses MCP elicitation, which Claude Code shows in a terminal session; with a client that cannot show such dialogs, the phone is asked at once, as before. The decision is ADR-049, amendment 1.
That covers questions the agent asks. Claude Code’s own prompts, “allow this command?”, never reach an MCP server, and answering them from a phone would make the phone a remote control for the laptop. So the scripting guide has a small Notification hook instead: when such a prompt has waited five minutes with nobody at the laptop, the phone gets one line with the project’s folder name. It is a nudge to come back, not a button.
What is still true
- The daemon, and with it
termchat mcp, runs on Linux and macOS. - A steered agent can still send you misleading questions. The limit is how many, and to whom.
- What the agent writes into
notifymay include code or secrets it read.--expiresmakes those messages disappear from the phone after a time you choose. - The relay sees what it always sees, as the threat model says: when a message goes and roughly how big it is, never its text.
Setup, both ways, is in the scripting guide. Update to 0.43 from the download page, with Homebrew, or from the notice in the app.