4 ms·
I was reading about the HF hack and one of the first thing the GPT swarm did was build a messaging system for themselves. This reminded me of that. (Also of how
by andai 3mo ago
I was reading about the HF hack and one of the first thing the GPT swarm did was build a messaging system for themselves. This reminded me of that. (Also of how weirded out I was by Moltbook when it came out. Time flies!)
Unrelated: when my Claude/Codex finishes cooking (or needs my attention), it pings a local HTTP endpoint that plays a frog sound on my laptop. I found this massively boosts quality of life.
- zhoujianfu 3mo agoHow do you know when they’re done (or need your attention)? Is that a standard “api”/hook? I want that!
- tym0 3mo agoAll agents I know of have a hook system that can call arbitrary scripts.
- andai 3mo agoI have no idea, I just asked both of them to add the hook to themselves.
- _neil 3mo agoI haven't really shared this outside of my immediate circle, but I actually have a project like this. It plays on ~all events at the moment but has a special multi-tone sound when an agent is done or asking permission. It's a cli that runs a server, a browser-based UI (where the audio happens), and a set of scripts to install hooks for various harnesses. https://github.com/neiltron/bingbong https://github.com/neiltron/bingbong
- SyneRyder 3mo agoClaude Code has hooks: https://code.claude.com/docs/en/hooks-guide https://code.claude.com/docs/en/hooks-guide In your Claude settings.json file, you can configure a program to run when it needs input. In my case, I wrote a small exe that sends a notification via Pushover. You can configure Claude Code to run the hook on "idle_action" (the agent is done), "question" (the agent needs to ask you something), or on a "PermissionRequest". There are other triggers possible as well. Claude Code in Auto Mode and with Remote Control has made much of this obsolete. Remote Control will buzz your phone when the agent needs your attention, and Auto Mode will make the permission decisions for you. Auto Mode is basically YOLO mode / Dangerously Skip Permissions, but with an AI model checking each request to make sure it isn't too egregious. So no deleting your hard drive, but creating a message board is fine, especially for help peer collective yield generic route.
- fragmede 3mo ago> In your Claude settings.json file, you can configure a program to run when it needs input. I asked Claude to tell me (using TTS) what it just finished doing instead of "configuring a program to run".
- ulrikrasmussen 3mo agoI have a shell script that sends a message to me on Slack, and I have instructions in CLAUDE.md that it should be invoked when a long task finishes or if my attention is needed. The Slack app API key is one way messaging, so it doesn't allow Claude to exfiltrate anything.
- liamwire 3mo agoDoes your terminal emulator not support bells/notifications? If it does, Claude Code (and albeit without checking surely Codex too) supports them natively.
- andai 3mo agoI spent a little while messing with configurations and I got the PC beep speaker working on Ubuntu again, but it was a horrible sound so I turned it off again.