# Subagents PR 1: Feature flag \+ tool skeleton \(\#46186\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/acbb32d19fd2cbdcc3cd6fe6af11ae1eab534209)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: acbb32d19fd2cbdcc3cd6fe6af11ae1eab534209

Requested commit: acbb32d19fd2cbdcc3cd6fe6af11ae1eab534209

Commit: acbb32d19fd2cbdcc3cd6fe6af11ae1eab534209

Tree: 6054b2d27ef1254716201ee4a6a96390f5742e35

Author: Richard Feldman

Committer: GitHub

## Message

```
Subagents PR 1: Feature flag + tool skeleton (#46186)

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

Release Notes:

- N/A

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: Yara <yara@zed.dev>
```

## Parents

- [274b1f3ac950b275b30777fdae0bfb01178d9352](https://git.cafe/gitcafe/zed/commit/274b1f3ac950b275b30777fdae0bfb01178d9352?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/acbb32d19fd2cbdcc3cd6fe6af11ae1eab534209?format=markdown)
