[Feature] Communication between top level sessions #1654
tinytownsoftware
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Area
Agent core, Coding agent and CLI
Problem
I like to have focused named sessions (like "Playwright" or "Deploy") that do one thing and they do it well. I was trying to have my other coding sessions tell one of these sessions to "run this playwright workflow, check that it does X, and report back", but this was not possible because out of the box sessions can only communicate with their child subagents. The idea is don't bog the coding session down with teaching it how to run playwright. Instead ask the Playwright session to do it, because it already has the relevant context. The playwright session would stay there forever and it would never be deleted.
Proposed direction
So I developed a skill called session-message that does this and it works end to end even if the "Playwright" session is idle in the background. I figured either someone could use this skill if they have the same workflow, or the cross session communication could be incorporated into prime proper.
Net effect: a small fleet of expert named sessions. Any session can say "ask the Playwright session to load this page and analyze the screenshot," the target does it with its existing expertise, and the result comes back, without the calling session needing any of that domain knowledge.
I don't see how I can attach code (except inline) to a discussion, but if anyone is interested, let me know.
Alternatives considered
No response
Additional context
No response
All reactions