[Feature Request] Add cwd parameter to agent tool and TeamCreate for independent working directories
Resolved 💬 2 comments Opened Apr 3, 2026 by IlyaBokovenko Closed Apr 4, 2026
Bug Description
Agent tool and TeamCreate lack a cwd parameter to set working directory for spawned agents/teammates. Currently all agents inherit the lead's working directory with no way to override. This is critical for teams where agents work on different repositories (e.g. one on an engine project, another on a tool project). Each project directory has already all necessary agent instructions and tools set up for specific agent. I thought the only purpose of TEAMS feature is to let agents of different projects to work together - otherwise I can just create several sub-agents in one session. So the cwd parameter is very needed
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.91
- Feedback ID: 213e39e2-ea1a-44d3-802a-c8a050100ba2
Errors
[{"error":"Error: Request was aborted.\n at kE8 (B:/~BUN/root/src/entrypoints/cli.js:1300:11924)\n at next (native:1:11)\n at ty_ (B:/~BUN/root/src/entrypoints/cli.js:7699:9023)\n at next (native:1:11)\n at $S_ (B:/~BUN/root/src/entrypoints/cli.js:7704:10844)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T15:50:02.285Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗