subagents
DevSpace subagents
Subagents are optional. Use the normal workspace tools for routine work; delegate only when a separate worker materially helps through independent context, specialization, or follow-up.
Run the DevSpace CLI through the shell or process tool from the project the subagent should use. Agent commands print compact XML fragments by default. Read that output directly. Do not add --json.
Choose a target
Discover usable targets instead of guessing names:
devspace agents targets
Each line is a <provider name="..."/> or <profile name="..." provider="...">description</profile> fragment. Pass the profile or provider name as <profile-or-provider>. Prefer a matching profile. Use a provider target when no profile fits or the task needs a specific provider. Keep the configured model and effort unless the task requires a supported override.
Start work
Give the subagent a self-contained brief with the objective, relevant paths, constraints, context it cannot infer, and the expected result. The subagent receives this brief and its profile instructions, not the parent conversation.