-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[WIP] feat: subagents #9128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[WIP] feat: subagents #9128
Conversation
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Add comprehensive documentation for the new Subagent feature including: - Architecture overview and execution flow - Built-in agents (general agent) - When to use subagents - Tool interface and parameters - Output streaming behavior - Implementation details and migration notes - Error handling - Future enhancements Also update AGENTS.md to reference the new subagents documentation. This documentation is for PR #9128. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]> Co-authored-by: nate <[email protected]>
|
📚 Documentation PR created! I've reviewed the changes in this PR and created PR #9129 with comprehensive documentation for the Subagent feature. The documentation includes:
The docs are added to Please review when you have a chance! |
|
📚 Documentation PR #9129 is ready for review I've created comprehensive documentation for the Subagent feature. The PR is experiencing some transient CI failures (sqlite download 503 errors) that are unrelated to the documentation changes - all code quality checks (prettier, lint, core-checks, etc.) are passing. The documentation covers:
Feel free to review the docs while the CI infrastructure issues resolve themselves! |
|
🤖 All Green agent started: View agent |
Move services import to lazy evaluation inside the run function to avoid circular dependency between ToolPermissionService -> allBuiltIns -> subagent -> services -> ToolPermissionService. This fixes the 'ToolPermissionService is not a constructor' error in tests. Co-authored-by: nate <[email protected]>
Move services import to lazy evaluation inside executeSubAgent function to avoid circular dependency. Pass services as parameter to buildAgentSystemMessage helper function. Co-authored-by: nate <[email protected]>
Create builtInToolNames.ts with just the tool name constants to avoid importing the actual tool implementations. This breaks the circular dependency chain: ToolPermissionService -> allBuiltIns -> subagent -> executor -> services -> ToolPermissionService. Co-authored-by: nate <[email protected]>
Update BUILT_IN_TOOL_NAMES to match the actual tools in allBuiltIns.ts, including UploadArtifact which was missing. Remove incorrect tool names that don't exist. Co-authored-by: nate <[email protected]>
Move BUILT_IN_TOOL_NAMES import to proper position according to eslint import/order rules. Co-authored-by: nate <[email protected]>

Description
This PR introduces isolated sub agents to work on specialized tasks.
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Introduce subagents to the CLI. You can now spawn a specialized agent via the Subagent tool to handle multi‑step tasks autonomously with live streaming output.
New Features
Migration
Written for commit 2003128. Summary will update automatically on new commits.