Enhancing Agent Workflows: The Quest for Better Chat Management in VS Code for Improved Software Project Planning

The landscape of developer tooling is constantly evolving, with AI agents increasingly playing a crucial role in automating and streamlining workflows. A recent discussion on the GitHub Community highlighted a key area for improvement in VS Code agents: chat management, particularly when compared to the advanced capabilities seen in tools like the Codex app. This insight delves into the community's quest for more intuitive and visible agent interactions, crucial for effective software project planning and boosting development productivity metrics.

An AI manager agent delegating tasks to multiple sub-agents in separate, organized chat windows.
An AI manager agent delegating tasks to multiple sub-agents in separate, organized chat windows.

The Challenge: Agent-Driven Workflows and Chat Visibility

The discussion, initiated by IvanResemkin-IGT, outlined a powerful workflow where a "manager" agent delegates tasks to various "worker" chats. These agents then run in parallel, and upon task completion, send a simple JSON response back to the manager. This setup, inspired by the Codex app's ability for agents to create and write to new and existing chats, significantly enhances agent efficiency. However, Ivan noted a critical gap in VS Code agents: the inability to replicate this seamless chat creation and management.

The core issue isn't just about functionality; it's about user experience. As Ivan emphasized, the ability to have separate, named chats (e.g., "001 – Task name") provides immediate visibility into progress and context, which is invaluable for managing complex projects and understanding the status of multiple delegated tasks. This visual clarity directly impacts a team's ability to track progress, a vital component of successful agile stand up meetings and overall development productivity metrics.

A developer monitoring multiple agent-driven task chats on a dashboard, showcasing visible status and progress.
A developer monitoring multiple agent-driven task chats on a dashboard, showcasing visible status and progress.

The Subagent Workaround: A Partial Solution

Hadamas offered a practical workaround using subagents, which can achieve a similar delegation pattern. The concept involves a main agent delegating tasks to other agents, each operating within its own context. Once a subagent completes its task, it reports the result back to the main agent, often in a structured format like JSON. This allows for parallel execution and centralized reporting.

Setting up this subagent architecture involves a few key steps:

  • Tool Availability: Ensure the agent/runSubagent tool is accessible to your main agent. For custom agents or prompt files, this means adding tools: ['agent'] to the frontmatter.
    ---
    tools: ['agent']
    ---
    # Your main agent prompt
    
  • Defining Worker Roles: Custom agents can be defined as "worker" roles, which the manager agent can then invoke as subagents. For example, instructing the manager: "Use the Reviewer agent to check X and return the result as JSON."
  • Nested Subagents: If subagents need to spawn further subagents, the chat.subagents.allowInvocationsFromSubagents setting, though disabled by default, can be enabled.

While effective for task delegation and result aggregation, Hadamas acknowledged a significant limitation: "subagents don’t have their own separate chats that you can open and continue interacting with. They basically run their task and report back to the main agent." This means the rich UI/UX of distinct, persistent, and visible task chats remains elusive.

The Feature Request: Persistent, Named Task Chats

Ivan's follow-up underscored this point, highlighting that while subagents provide functional delegation, they "don’t come close to the functionality Codex provides" in terms of separate, visible chats. The ability to "see exactly what’s been done in each one" is a crucial aspect of managing concurrent tasks and understanding the overall progress of a project.

Bomtobe-hgkim succinctly captured the community's desire, articulating a "focused request" for:

  • Persistent named task chats with visible status.
  • Resumable transcripts.
  • Structured handoff to the manager.

This vision aligns perfectly with the needs of robust software project planning, where transparency and traceability are paramount. Such a feature would not only enhance the developer experience but also provide tangible benefits for tracking progress, facilitating reviews, and improving overall development productivity metrics.

Looking Ahead: Enhancing Agent-Assisted Software Project Planning

The discussion clearly indicates a strong community desire for more sophisticated chat management capabilities within VS Code agents. Bridging the gap between functional delegation and intuitive UI/UX, particularly through persistent, named task chats, would be a significant step forward. This enhancement would empower developers to manage complex, agent-assisted workflows with greater clarity, ultimately leading to more efficient software project planning and measurable improvements in development productivity metrics across teams.

|

Dashboards, alerts, and review-ready summaries built on your GitHub activity.

 Install GitHub App to Start
Dashboard with engineering activity trends