The bit on your computer that puts your coding agents in the village.
wudland.pages.dev · Download the iPhone app · App source
Wudland is a small pixel village on your iPhone. This repo tells it what the agents on your computer are up to, and each one gets a desk in the Artificers' Guild: working, waiting for you, finished or in trouble.
It works with Claude Code, Codex, opencode and anything else you can run in a terminal. There's no account and no Wudland server. Updates go through an ntfy relay and are encrypted before they leave your machine.
Villagers are named after the tool they came from: Claude, Codex, opencode, Antigravity, Bonsai, and Terminal for anything wrapped with wudland run. Anything else gets its source name, capitalised. A subagent sits next to its parent as Claude's apprentice (or Codex's, and so on).
Get Wudland free on the App Store for iPhone with iOS 26 or later.
Then install the command-line tool. It does the linking, and the Codex and opencode plugins call it. You need Node 18 or newer.
npm i -g github:joexk1/wudland-pluginsIf npm refuses GitHub packages with EALLOWGIT, allow it for this one command:
npm i -g --allow-git=root github:joexk1/wudland-pluginsThen add whichever agents you use.
|
From inside Claude Code: /plugin marketplace add joexk1/wudland-plugins /plugin install wudland@wudland The plugin carries its own copy of the code, so it works without the global install. In that case, link with |
Add one line to notify = ["wudland", "codex-notify"] Newer Codex versions also have hooks, which give live status. How to set those up, and how to keep an existing notify program, is in codex/README.md. |
|
Copy the plugin into opencode's plugin folder: mkdir -p ~/.config/opencode/plugin cp opencode/wudland.js ~/.config/opencode/plugin/ Use |
Wrap any command. The villager is busy while it runs, then done or failed when it exits: wudland run -- aider wudland run --name "Nightly import" -- ./import.sh For more control from a script: |
- In Wudland, open Settings → Link a computer. It shows a six-digit code that changes every minute.
- On the computer, run
wudland link 123456with that code. - Both screens then show the same eight-digit code. If they match, tap Codes match on the phone. If they don't, deny it.
The computer says "Waiting for you to approve on your phone" until you do. After that, wudland test-send should put a villager in the guild:
You link once per computer, and every agent on it shares that link. Linking two phones works too.
Scripts can post a note to the Raven Post:
wudland letter "Backup finished" "Documents copied at 03:00."scripts/backup-letter.sh is a cron example.
Each update has the session's title, the folder it's in, its state, the last tool used, how many tools it has run, the model, a short note like "Edited src/auth.ts", and the computer's name. That's all.
It never sends file contents, command lines, prompts beyond a 60-character title, or the agent's replies.
- Encrypted end to end. Updates and letters are sealed with AES-256-GCM. The key is made by your phone and handed over inside an X25519 key exchange when you link. The eight-digit code is how you check nobody swapped the keys in the middle.
- The relay (ntfy.sh by default) sees topic names, network metadata and the sealed payloads. While pairing it also sees the computer's label, the tool kind and the public keys.
- Titles can go.
wudland config titles offsends the folder name instead of your prompt, and drops file names from notes. - Your own relay.
wudland config relay https://ntfy.example.com. The phone has to use the same one. - Hooks never wait on the network. They make a quick update to local state, send from a background process, and do nothing at all if you haven't linked.
| Step | What happens |
|---|---|
| Discovery | The phone's six-digit code is a TOTP (HMAC-SHA1, 60 s). The computer posts a hello that commits to a fresh X25519 public key (SHA-256 hash) without revealing it. |
| Key exchange | The phone answers with its own public key, and only then does the computer reveal its key, checked against the hello commitment. Both sides derive a key with HKDF-SHA256 and show an eight-digit code from it. That code never touches the relay. |
| Welcome | Once you tap Codes match, the phone sends the link (inbox topic and a random 32-byte key) sealed with the derived key. It's saved in ~/.config/wudland/link.json, mode 0600. |
| Events | Each update is w1. plus an AES-256-GCM box posted to the inbox. States are busy, waiting, idle, done and failed. |
| Reading | The app polls every 8 seconds while open, drops anything that won't decrypt or is stale, and puts sessions to sleep after 45 quiet minutes. |
The full wire format is in PROTOCOL.md, and test/vectors.json has fixed keys and boxes for checking another implementation.
The public relay is generous but not unlimited, so it keeps to about 250 messages a day:
- A state change goes out straight away, at most once every 5 seconds per session.
- Tool progress goes out at most every 3 minutes.
- After 180 messages in a UTC day, only state changes are sent. After 240, nothing until tomorrow.
- A failed send is retried once, then dropped.
wudland status shows today's count. A self-hosted relay has no such limits, but the numbers stay the same.
wudland link <code> link this computer
wudland unlink remove the link
wudland status show the link, settings and today's count
wudland letter "T" "B" post a letter
wudland config titles on|off, relay URL, host NAME
wudland emit send one update from a script
wudland run -- <cmd> wrap any command
wudland test-send send a test villager
Settings live in ~/.config/wudland/ (link.json and state.json, both readable only by you).
wudland unlink
npm rm -g wudland-linkFor Claude Code, run /plugin uninstall wudland@wudland. For Codex, remove the notify line or the hooks. For opencode, delete wudland.js from the plugin folder. Then remove the computer in the app too.
npm test
npm run build:pluginsThe shared code lives in lib/. build:plugins copies it into claude-code/lib/, because Claude Code copies a plugin into its own cache and it has to carry everything it needs. A test fails if that copy is stale.
MIT. See LICENSE. The app itself is GPLv3.



