A native iOS app for your Hermes agents. Each agent is one of your Hermes profiles, with its own instructions, memory, skills, and routines. Coconut keeps the Hermes source unchanged.
- Chat with agents, attach files, and follow their progress.
- Tag other agents with
@and inspect their exchanges. - Answer pending decisions, approvals, and questions from one inbox.
- Receive encrypted notifications with message previews and task links.
- Three projects: Coconut, Gumroad and Personal. Each runs on its own Hermes profile; everyone gets Personal. A new chat starts in one of them, and its first message names it. Nobody creates projects, and nothing has a face. People and teams keep their round faces.
- Typing is a coconut. While an agent writes, three dots pulse in a triangle, like the three holes of a coconut, and the triangle rolls. With Reduce Motion it stays upright.
Your Mac runs Hermes and Coconut and stores the work. Your iPhone reaches the Mac through a shared Cloudflare relay, end-to-end encrypted, so the Mac needs no VPN and no open port. The same relay delivers notifications, so you need no Apple push keys.
- Projects are Hermes profiles. Coconut runs on
~/.hermes/profiles/coconutand Gumroad on~/.hermes/profiles/gumroad. Personal runs on the profilepersonal, elsehome, else your Hermes home, usually~/.hermes. A project in Coconut andhermes -p <name>in Terminal are the same agent. - Turns run in your Hermes gateway. Coconut runs
hermes gatewayfor your Hermes home, and itscoconutgateway plugin connects the gateway to the iPhone. Routines run in the gateway as Coconut turns. - Settings are native. The app's default model is the default profile's model. Every chat follows it, unless the profile of its project sets a model of its own. Ask the Coconut chat to change it.
- Hermes knows Coconut. Coconut ships a
coconutskill, so your Hermes, for example in Telegram, can update, pair, and repair Coconut.
If you use Hermes, Coconut onboarding is one screen on the iPhone. It shows one message for your Hermes agent, for example in Telegram:
curl -fsSL https://coconut-updates.gumroad.workers.dev/install | bash -s <code>
The command installs the notarized Coconut.app on the agent's Mac, sets up Coconut, and pairs the iPhone by itself. You do not touch the Mac. See Pair through Hermes, the Mac setup and pairing guide, and install the iPhone app.
Coconut runs on the Hermes that you already use. It does not install its own copy. Without a usable Hermes, the service starts but runs no agents, and the phone shows why.
- Coconut.app is a menu bar app. Its login items run the service and the relay sidecar. It updates itself with Sparkle. The release agent publishes a build of
maintwice a day, and every Mac gets it. Runcoconut updateto install it at once, andcoconut statusto see the version, the last update, the service, the relay, and Hermes. See mac/README.md. - Each update sets Coconut's own entries in your Hermes profiles again: the skill folder and the gateway plugin. It changes no other setting.
- Hermes updates with
hermes update. Coconut sees the new Hermes and restarts itself after the running turns finish. - The iPhone app ships through TestFlight. Successful release builds upload app changes at most once per hour.
Use Xcode, XcodeGen, Python 3.11 or newer, and Node.js for the relay. The app supports iOS 18 or newer. The Mac app supports macOS 14 or newer.
xcodegen generate --spec ios/project.yml
open ios/Coconut.xcodeprojWork directly on main: check each change by hand, then push. The repository has no tests and no CI. The release agent starts the TestFlight and Mac release workflows twice a day.
See architecture for implementation details, relay transport for the relay, and relay to deploy it.
All agents work at once: there is no total limit. Two limits remain, and they have no screen: ask the Coconut chat to set how many work sessions each agent runs at once, or how many helpers a task uses. A lower limit lets running work finish before Coconut starts more. Send /help in a chat to see what you can ask for.
On the Mac, open ~/Coconut/Uninstall Coconut.command. It stops the service and removes Coconut's data folder and stored work. It removes Coconut's skill and plugin entries from your Hermes profiles. Your Hermes, its profiles, their memories, and their keys stay.
Delete ~/Coconut to remove the source files afterward, and delete the iPhone app. See Remove Coconut.
Coconut is licensed under the MIT License.