GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Subagent support as nested threads · Issue #538 · pingdotgg/t3code

Subagent support as nested threads #538

New issue
Copy link
New issue
Copy link
Closed
#2829
Closed
Subagent support as nested threads#538
#2829
Copy link
Labels
enhancementRequested improvement or new capability.🚧 In Progress

Description

@ratulsarna
ratulsarna
opened on Mar 8, 2026
Issue body actions

Add support for codex subagents and render them as nested threads in the sidebar.
Subagents would ideally be independent chats that can be interacted with outside of the parent that spawned them.
This feature is supported by the codex app server.

Image

Link to the commit in my fork: ratulsarna@4ae6de4

Reacted by Mike Brown II, TiredIsa, tom, Alen Rubilar-Muñoz, Anirudh Sriram, Stavan, Shashank, Kamel, Ayan Sheikh, Pratik Pakhale and 27 more

Activity

  1. ratulsarna commented on Mar 9, 2026

    @ratulsarna
    ratulsarna
    on Mar 9, 2026
    Author
    More actions

    Let me know if I could raise a PR for this.

  2. BleedingDev commented on Mar 9, 2026

    @BleedingDev
    BleedingDev
    on Mar 9, 2026
    More actions

    Do you support max_depth settings, e.g. when subagents can spawn more subagents?

    BTW Would love this! ❤️

  3. ratulsarna commented on Mar 9, 2026

    @ratulsarna
    ratulsarna
    on Mar 9, 2026
    Author
    More actions

    hey @BleedingDev , my workflow currently doesn't need more than 1 depth so didn't build for it. Can add it as a separate PR if this gets merged or if Theo or Julius build their solution, we can request them or submit a PR.

  4. BleedingDev commented on Mar 9, 2026

    @BleedingDev
    BleedingDev
    on Mar 9, 2026
    More actions

    I can help as well. :) Thanks for clarification.

  5. maria-rcks
    added
    enhancementRequested improvement or new capability.
    on Mar 22, 2026
  6. maria-rcks commented on Mar 22, 2026

    @maria-rcks
    maria-rcks
    on Mar 22, 2026
    Collaborator
    More actions

    like this idea, i think it can be paired with #915 and add a nested "review" thread (either with a little review badge or tag)

    Reacted by ratulsarna
  7. jeroenev commented on Mar 31, 2026

    @jeroenev
    jeroenev
    on Mar 31, 2026
    More actions

    This would really improve the visibility into subagent activity.
    Currently, OpenCode is the only thing that really does this well (easily navigating between different subagent threads)
    But that is a CLI

  8. 0xpaperhead commented on May 1, 2026

    @0xpaperhead
    0xpaperhead
    on May 1, 2026
    More actions

    I created this exact thing in my fork, still testing, will push soon.

    Image
    Reacted by Jeroen Evens
  9. Quicksaver commented on Jun 9, 2026

    @Quicksaver
    Quicksaver
    on Jun 9, 2026
    Contributor
    More actions

    Linked fork is a bit outdated, so I forked my own behavior: Quicksaver/t3code@70028f8...baa23ab

    Full implementation notes at https://github.com/Quicksaver/t3code/blob/main/SUBAGENTS.md

    These changes exist in my multi-customizations fork, but I'm happy to create a branch just with these changes if wanted and open a PR for it. 👍

    Summary of behavior changes

    The feature is implemented for Codex only. Unsupported providers should continue using the previous inline subagent-output behavior until they expose durable child-thread lineage.

    The current behavior is:

    • A Codex subagent is represented as its own conversation thread.
    • Active subagent threads appear in the sidebar nested under the direct parent that spawned them.
    • Completed, errored, interrupted, or stopped subagent threads are normally hidden from the sidebar but remain reachable from the parent conversation view. When a terminal subagent conversation is the active route, that subagent and any intermediate subagent ancestors are shown in the sidebar at their normal nested positions until the user navigates away.
    • A parent conversation view shows only parent-owned output and subagent summary blocks for direct children.
    • A child conversation view shows only that child's output, tool calls, diffs, MCP calls, and other actions. Grandchildren appear only as blocks inside their direct parent child view.
    • Users cannot prompt or steer a subagent. The child view exposes stop control only while the child is running and a header button for returning to its direct parent conversation.
    • Stopping a parent does not automatically stop running children. Stopping a child explicitly targets that child.
    • Archive/delete actions are exposed only for root parent conversations and should include descendant subagent threads as part of that root lifecycle.

    Video example

    In this example you can see the above-described behavior in action. At around the 1:18 mark, one of the subagent's box was clicked and it took the screen to that subagent's conversation view. Then a few seconds later it clicks the "back arrow" next to the title to go back to the parent conversation's view.

    subagents.mp4

    Update looks from latest head:

    Image
  10. juliusmarminge commented on Jun 20, 2026

    @juliusmarminge
    juliusmarminge
    on Jun 20, 2026
    Member
    More actions

    #2829 will ahve this

    Reacted by Luís Miguel, Rowan-Paul, Pratyush Poddar and Shubham Pawar
  11. juliusmarminge
    added
    🚧 In Progress
    on Jun 23, 2026
  12. sudosapient commented on Aug 1, 2026

    @sudosapient
    sudosapient
    on Aug 1, 2026
    More actions

    Thanks for working on this. I searched the existing requests before posting and found this issue plus #3138, #4456, #5043, and #4962, so I’m adding feedback here instead of opening a duplicate.

    From a user perspective, “sub-agent support” needs to include lifecycle management, not just rendering child output:

    • Show a clear parent → child hierarchy with queued, running, completed, failed, and stopped states that remain accurate for background work, refreshes, reconnects, and mobile.
    • Let me open a child independently to inspect its messages, tool calls, diffs, and file changes, then return to the parent.
    • Let me stop, retry, or resume one child without accidentally stopping or settling the parent.
    • Keep the parent visibly active while a child is still working, and surface child errors and results in the parent.

    A useful first slice would be nested child threads with live status and drill-down; per-agent controls can follow. Without this, parallel delegation is difficult to supervise, and T3 Code can look idle while work is still happening.

  13. shubham-cpp commented on Aug 5, 2026

    @shubham-cpp
    shubham-cpp
    on Aug 5, 2026
    More actions

    @sudosapient I think this is how opencode does it?

  14. icaroryan commented on Aug 10, 2026

    @icaroryan
    icaroryan
    on Aug 10, 2026
    More actions

    Another good usage of this is implementing a /btw command, so it starts a separate subagent with the existing context to answer whatever the user asked without interrupting the current flow. This would basically be a temporary fork

  15. cardoso-neto commented on Aug 13, 2026

    @cardoso-neto
    cardoso-neto
    on Aug 13, 2026
    Contributor
    More actions

    /fork too.

  16. pingdotgg
    locked and limited conversation to collaborators on Aug 15, 2026
  17. juliusmarminge
    converted this issue into a discussion #6689 on Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.🚧 In Progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.