Custom Agent is sub agent?
Congratulations on the latest version of Copilot CLI the custom agent is supported. I would like to clarify: is the custom agent a sub-agent? Can the custom agent run in a separate context isolated from the main agent?
Hey @showpune!
Right now you can use an agent in a top level context using --agent or /agent, or you can use it during inference in what might be comparable to a sub agent in other tools, which have their own context windows. You will know the latter is happening when the custom agent name appears as a top level entry in the timeline, and a new timeline is indented. Only the final message from the LLM is bubbled up to the outer context, for example:
There's still a lot (!) of improvements for us to ship (I'll be creating a bunch of issues this repo for visibility over the next few days) but we wanted to get it out into the preview for people start playing with. Hope it solves some of your issues, and look forward to your feedback.