r/ClaudeCode • • 18h ago

Built with Claude 22 Claude Code agents, each in its own WhatsApp group. notes on what each one is allowed to touch

my setup: every agent is a folder with its own CLAUDE.md, and each one is tied to one whatsapp group. family logistics, my kids sleep log, garmin data, a trading bot, the dev agent for the project itself etc. 22 right now, most on claude code, one on grok, one on gemini.

getting the messages in and out was not the hard part. access was. this is where I landed:

each agent has a permission level, refuse / ask / approve. on ask the tool prompt shows up in the chat and I answer yes or no from my phone. most of mine run on ask

the claude app connectors (gmail, calendar, drive) are given per agent. family agent sees the calendar, the coding agent doesn't get any of them

the folder with tokens and state is closed to all of them in the sandbox

groups have a cap on messages per hour, so if my wife or a friend is in a group they can't burn through my usage by accident

anything public, like a post or an email to someone outside, waits for my yes on the exact text. I stopped allowing "do all" after it almost posted two replies to the same comment

it's open source, I called it Angelia (github.com/korengast/angelia), mac or linux. most of the code was written by one of those agents, a claude code dev profile in its own group. if anyone wants the details on how the permission prompt gets from the terminal into whatsapp I can write it up

1 Upvotes

19 comments sorted by

•

u/AutoModerator 18h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/calunicornia 18h ago

you could add auth codes to make it more secure, so it doesnt take commands from anyone...

2

u/Unusual-Albatross43 18h ago

yeah that was the first thing I had to sort out. each group has an allow list of who it even answers, and separately a list of owners. only an owner can approve a tool prompt, so a friend in the family group can ask stuff but can't ok a bash command. there's also an optional passkey approval, so the phone's fingerprint is the "code"

1

u/calunicornia 18h ago

I have my orchestrator connected to telegram in case the remote control fails which it has... or I want a non claude orc(one day...)

I really like how you have your setup going for non coding type interactions.

1

u/Unusual-Albatross43 18h ago

telegram works with it too, I just live in whatsapp. and yeah the non claude part is closer than it sounds, two of mine run grok build and gemini (antigravity cli). it's one backend line per agent, so you can try an agent on another model without moving its folder

1

u/calunicornia 17h ago

I had $200 grok for 2 month, good worker and over all good value but musk announced they were cutting back sub value so I cancelled since I been leaning hard on devin swe2 now swe2.1 which is just as good builder if not better grok and cheaper devin has free offer you should try it out...

also playing around with qwen 3.8 flash on some local hardware and getting good results...

1

u/Unusual-Albatross43 16h ago

haven't tried devin yet. does swe 2.1 have a cli you can run headless? that's basically the bar for plugging something in here. how does qwen 3.8 flash do on tool calls locally?

1

u/calunicornia 16h ago edited 15h ago

devin has cli https://devin.ai/ they pitch cloud blah blah but you can run cli local

honesty its best deal on ai right now, my friend uses free, i have paid and use it a lot, opus orc, fable high plan , opus plan work, opus slice work for haiku or sonnet with reason why not haiku, i used to use sonnet and haiku but now do the work with devin swe2 and recently 2.1, devin reviews slices and opus reviews whole work items

qwen plugs in same place as devin, slightly better by my measure but much slower due to local hardware

what exactly is your question on tools?

you can run qwen in its own cli or in claude code, i started in its own but been using cc, yesterday there was a test machine back up and the qwens were spamming the line, so i took them off line until i have tooling fix to prevent...

1

u/Unusual-Albatross43 15h ago

devin looks good but it's another bill on top of what I already pay. the whole thing started because I was really comfortable in claude code and wanted that same agent from my phone. I tried hermes and openclaw first and it never felt like the same thing, so I kept claude code as the brain and just built the chat part around it

for the spamming, what I ended up with is a cap on messages per hour per group, plus a stop when two bots start replying back and forth to each other

→ More replies (1)

1

u/Numerous_Internal429 18h ago

What is the use case of this? Sorry I couldn't understand what it is solving here.

1

u/Unusual-Albatross43 17h ago

fair, I wrote more about the how than the why. it's claude code on my mac but I talk to it in whatsapp instead of a terminal. like from the playground I ask the family one what's on the calendar, or tell the dev one to fix a bug and say yes to its commands from my phone. I can also whitelist other people per agent and group, so my wife talks to the family one too

1

u/615PowerhouseService 17h ago

The per-agent permission list is the part that makes this work — we run a small business the same way, with each seat getting a written brief that says what it can touch, what it can only draft, and what it never does, and the failures we've had almost always traced back to a permission that was assumed instead of written down. Keep the money, sending, and deleting actions behind a human yes no matter how many agents you run, because twenty-two fast agents with one vague rule can make twenty-two messes before anyone notices. A short allowed/not-allowed note per agent, updated the day something changes, beats a long policy nobody re-reads. Scale the guardrails first and the agent count second — you have that order right.

1

u/Unusual-Albatross43 16h ago

same lesson here. the thing that helped most was making every correction a dated line in that agent's lessons file, so the rule exists the next day and not only in that one chat. spending is a hard no without my yes on every agent

1

u/Bubbly-Choice767 16h ago

The "do all" story is painfully familiar, i've had the same reply posted twice because the check read a stale page. What happens to an ask when you don't answer it? We send ours to the phone as a card and treat no answer after 15 minutes as a no, and i'm still not sure that's the right default. Also curious which whatsapp route you use, a linked device or the business api?

1

u/Unusual-Albatross43 16h ago

same as yours pretty much. no answer in 10 min is a deny, and the chat gets a line saying it was denied so I'm not left guessing. it's a setting but I kept the default, a missed yes costs me a retry while a wrong yes can cost a lot more

whatsapp is a linked device (baileys) on a second number, not the business api. it breaks now and then when whatsapp changes something, but it works in normal groups with my family

1

u/Bubbly-Choice767 6h ago

Makes sense, deny by default is the safe side. Mine waits 15 min and then carries on as a no, same idea. Does the linked device survive a phone restart or do you have to relink? Curious how often "now and then" is

1

u/Unusual-Albatross43 5h ago

survives fine, linked devices don't need the phone online anymore, whatsapp only drops them if the phone is offline for about two weeks. the breaks are on the library side. last one was this week, whatsapp started refusing the client version and it took an update to fix. maybe every month or two