Repository navigation
Replies: 4 comments 2 replies
|
I like the feature idea, and would give a lot of power to ECA, being able to spawn and manage agents swarms, I didn't have much idea of what this would look like but with your example I can see how convenient it is to have manageable and agents that can communicate with themselves. My biggest concern is that there is a lot of micro features on this whole idea, so maybe we should start discussing what should be in a v0 but also think how to make it extensible for those other additions |
|
Nice example and discussion, it might come in handy. |
|
@ericdallo Thinking about it (as we might need this soon: #614): Maybe we can start with a simple approach without a massive refactoring right away. What if we add two tools? (Names are just initial placeholders):
(It would be nice to skip I feel like this could be a solid starting point.
Hmm, typing this out made me realize this actually requires deeper refactoring after all... We'd need to support running subagents asynchronously in the background (which seems to be Claude Code's default mode; running in the foreground only when results are needed immediately). This means we have to address how a background subagent: ...and likely several other cases I haven't thought of yet. So in the end, I didn't arrive at a immediate solution, but at least I hope I've narrowed down the problem a bit! :-) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ECA already has
spawn_agent: aprimaryagent delegates work to a linkedsubagentchat and gets a result when it finishes.Since subagents already have
subagentChatId/parentChatId, maybe ECA could treat them more explicitly as active agent threads: inspectable, steerable, resumable, and able to communicate with linked agents.Motivating scenario:
A
primaryagent delegates monitoring to asubagent: watch hot reload, compiler output, tests, logs, or a background job. The subagent stays active until stopped/closed. When it sees a relevant problem, it should be able to hand that information to theprimaryagent, or another linked agent that can debug it.Background jobs are only one example. The broader idea is delegated work that may need communication while it is still active.
Possible directions:
Expose active subagent chats
Let users switch to, inspect, and interact with active subagent chats, similar to Codex agent threads.
Steer running/resumable subagents
Let the user or
primaryagent send follow-up instructions, ask for status, stop, or close a subagent.Agent-visible reporting
Let a subagent report relevant information to another linked agent, not only to the UI.
Support finite and ongoing delegation
Some subagents return a final result; others stay active and report only when needed.
Peer/team-style coordination
Should linked agents communicate only through the
primary, or also directly with each other?Open design questions:
@ericdallo
All reactions