Skip to content

Conversation

@rtfeldman
Copy link
Contributor

Summary

This PR adds the foundation for the subagents feature:

  • Add SubagentsFeatureFlag with staff-disabled default
  • Create SubagentTool struct with input schema for task/summary/context-low prompts
  • Register SubagentTool conditionally when feature flag is enabled
  • Tool returns stub message 'not yet implemented' for now

Part of stacked PRs

This is PR 1 of 4 for the subagents feature:

  • PR 1: Feature flag + tool skeleton (this PR)
  • PR 2: Thread spawning + execution
  • PR 3: UI card rendering
  • PR 4: Visual testing infrastructure

Testing

  • Enable subagents feature flag
  • Open Agent panel
  • Verify subagent tool appears in available tools

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 6, 2026
@zed-industries-bot
Copy link

zed-industries-bot commented Jan 6, 2026

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against 0dc1777

@rtfeldman rtfeldman force-pushed the subagents-pr1 branch 2 times, most recently from 6fcfeef to 1eeaa97 Compare January 7, 2026 03:58
- Add SubagentsFeatureFlag with staff-disabled default
- Create SubagentTool with input schema for task/summary/context-low prompts
- Register SubagentTool conditionally when feature flag is enabled
- Tool returns stub message 'not yet implemented' for now

Amp-Thread-ID: https://ampcode.com/threads/T-019b94c4-0a15-7799-aba2-83a644590a2e
Co-authored-by: Amp <[email protected]>
@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants