Streaming sub-agent thread within a Cloud Agent

Hi,

I am using Cursor Cloud Agents and I have an agent that spins sub-agents. It works fine, but I cannot find a way to stream the events of the sub-agent. I can understand when a sub-agent is being executed from the events of the master agent, but I am not able to get the events of the sub-agent.

When I go to Cursor’s Web UI, I can go into the sub-agent thread and see what is happening, but I cannot find a way to do this through the SDK/API.

Thanks.

Hi @Lyubomir_Dokov Thanks for the post. This is a current limitation.

When a Cloud Agent spawns a sub-agent (via the Task/subagents tooling), the sub-agent runs nested inside the parent agent’s run. It isn’t exposed as a separate, addressable cloud agent, so there’s no distinct agent ID or run ID you can stream.

We do have a backlog item for this to explore adding additional capability here so I’ve logged your request there as well.

Thanks.