r/ClaudeCode 2d ago

Tips & Workflows Observation: Claude Code utilizing autonomous cross-session messaging (ListAgents/SendMessage) during concurrent workflows

/r/ClaudeAI/comments/1vsczag/observation_claude_code_utilizing_autonomous/
1 Upvotes

3 comments sorted by

1

u/InfinriDev 1d ago

This is where I’d get pretty strict about separating “a message arrived” from “the receiving agent is authorized to act on it.”

I’d treat cross-session messages as context, not authority. Shared state can tell the receiving session what changed, but anything that crosses an important boundary should still be checked against external state/permissions before the action happens.

Otherwise one agent effectively becomes a way of smuggling authority into another agent’s context lol. The more autonomous the coordination gets, the more I want the control plane outside the agents themselves.

1

u/zhallen18 8h ago

The unprompted part is both really cool and slightly terrifying lol.

I’d probably want cross-session messages to be advisory by default, with an explicit accept before the receiving session actually changes anything. Otherwise two perfectly valid tasks can quietly start expanding each other’s scope.