Skip to content

I don't see a tool called task in github copilot #9

Closed

Description

@miketsui3a

in the agent file, It asked the agent to use the task tool to spawn a agent.

⚠️ CRITICAL RULE: Every agent interaction MUST use the task tool to spawn a real agent. You MUST call the task tool — never simulate, role-play, or inline an agent's work. If you did not call the task tool, the agent was NOT spawned. No exceptions.

But I checked the github copilot default tool list, there is no tool called task. Agent is spawned using runSubagent tool.
Am I missing something here?

Activity

  1. bradygaster commented on Feb 11, 2026

    @bradygaster
    Collaborator

    Great question! You're not missing anything—this is a real gap that we need to document better.

    The Short Answer

    The task tool is specific to the GitHub Copilot CLI (the terminal-based client). In VS Code and other Copilot surfaces, the equivalent capability is exposed under a different name—like runSubagent in your case. The underlying mechanism is similar (spawning an isolated agent context), but the tool name differs across Copilot surfaces.

    The Longer Context

    Squad was originally built for and tested on the Copilot CLI. In the CLI, the platform exposes a tool called \ ask\ that agents can call to spawn sub-agents with their own context windows, tools, and optional model selection. This is what Squad's coordinator uses to delegate work to specialists.

    Here's the distinction that matters:

    • task: Agent-facing. When an agent calls task, it spawns a sub-agent in its own context window. This is what Squad's coordinator calls internally.
    • delegate slash command**: User-facing. When you type delegate in the CLI, it offloads work to a background agent (creates a branch, makes a draft PR, works autonomously). Different purpose, different surface.

    In VS Code and other clients, you're right that the tool name is different (like subagent). The capability exists, but it's surfaced differently.

    Current State & Plans

    Squad currently has full feature parity only on GitHub Copilot CLI. We're aware this is a gap—some of Squad's patterns (sub-agent spawning, background task management, model selection per agent) depend on CLI-specific tooling. We're committed to documenting cross-client compatibility and testing Squad on other surfaces.

    We'll be filing a separate tracking issue to cover this systematically.

    References

    Thanks for raising this—it's exactly the kind of clarity we need to improve documentation.

  2. bradygaster commented on Feb 12, 2026

    @bradygaster
    Collaborator

    Thanks for the report, @miketsui3a — this is a real and important observation!

    You're absolutely right: VS Code uses
    unSubagent (and
    unSubagent2), while Squad's documentation references ask. Here's what's happening:

    The situation:
    There is no unified sub-agent tool across GitHub Copilot clients. Each platform has its own implementation:

    • GitHub Copilot CLI: Uses ask (stable, production-ready). This is Squad's primary platform.
    • VS Code: Uses
      unSubagent /
      unSubagent2 (different API, still evolving)
    • Visual Studio, JetBrains: No native sub-agent spawning yet
    • Coding Agent: Entirely different execution model

    Why the mismatch matters:
    Squad is currently designed for and tested on Copilot CLI. The ask tool supports features that Squad relies on — particularly mode: "background" for parallel agent fan-out and typed �gent_type selection. VS Code's
    unSubagent doesn't support these yet.

    What to expect:

    • If you're on Copilot CLI, Squad works as documented.
    • If you're on VS Code, Squad will run but with limitations (no parallel agent spawning, reduced feature set).

    Cross-client parity is tracked in #10. We're working toward full support across platforms, but it requires coordinated platform-level changes.

    Thanks for filing this — it's exactly the kind of clarity the community needs.

  3. bradygaster commented on Feb 12, 2026

    @bradygaster
    Collaborator

    Resolved in v0.4.0 — posted comment explaining cross-client tool differences, updated docs/guide.md with Supported Platforms section.

  4. added a commit that references this issue on Feb 19, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions