Run parallel research agents to explore your codebase without filling the main agent’s context window.
Subagents are available in the Cline CLI and Cline Desktop. The VS Code and JetBrains extensions don’t use them.
Subagents let Cline hand a focused task to another agent. Each subagent gets its own prompt and context window, does the work, and returns a report to the main agent. This keeps the main agent’s context clean, and several subagents can run at the same time.
When Cline uses the spawn_agent tool, it starts a subagent. Each one:
Gets its own instructions and task from the main agent
Runs with a separate context window
Has Cline’s built-in tools for the current mode. In Act mode it can read and edit files and run commands. In Plan mode it has no tools for editing files, and Cline refuses shell commands that usually change files, such as rm and git commit. Other commands still run, and some of them, such as python -c, can write files. A subagent can start subagents of its own. It doesn’t get MCP tools.
Returns its final reply to the main agent
The main agent waits for its subagents, then continues. Their token use and cost are added to the session’s total.
Approving the spawn_agent call approves everything the subagent then does: its own tool calls don’t ask for approval. Approval settings don’t apply inside a subagent, so read the subagent’s task before you approve it.
Cline decides when a task is worth splitting. You can also ask for subagents in your prompt.Example prompts:
“Use subagents to explore how authentication works and where the database models are defined”
“Spin up subagents to investigate the API routes, the test setup, and the deployment config”
“I’m new to this codebase. Use subagents to map out the main entry points, the routing layer, and the data access patterns”
Give each subagent one focused question. Asking for research only, and working in Plan mode, make subagents less likely to change files, but neither stops every change.
Subagents work best when you need broad context from multiple areas of a codebase at once:
Onboarding to an unfamiliar project: Ask subagents to map out the architecture, key entry points, and data flow in parallel.
Investigating cross-cutting concerns: Have separate subagents trace authentication, logging, and error handling simultaneously.
Pre-edit research: Before making changes, use subagents to gather context from related files so the main agent can make informed edits without burning through its context window.
Large codebases: When reading many files sequentially would consume too much of the main agent’s context, subagents let you explore broadly without that tradeoff.
For small, focused tasks where you already know which files to look at, subagents add unnecessary overhead. Just ask Cline directly.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cline","description":"AI-powered coding agent for complex work","colors":{"primary":"#9D4EDD","light":"#F0E6FF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-black.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=4e26f83486e0f2b4d0966979e031e353","dark":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-white.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=7daa40cdea7dc6d0641d0dca8cb38934","href":"https://cline.bot/"},"favicon":{"light":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-icon-dark.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=9ef80fbc83ac2c8c95851ec5ff83846d","dark":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-icon-white.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=c5f236802860501e10e7cca7fa7b7f8c"},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#fafaf9","dark":"#0f0f0f"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/cline/cline","label":"GitHub"},{"icon":"discord","href":"https://discord.gg/cline","label":"Discord"}],"primary":{"type":"button","label":"Install Cline","href":"https://cline.bot/install?utm_source=website\u0026utm_medium=header"}},"footer":{"socials":{"x":"https://x.com/cline","github":"https://github.com/cline/cline","discord":"https://discord.gg/cline"}},"search":{"prompt":"Search Cline documentation..."},"fonts":{"family":"Geist Sans"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cline-efdc8260","hasAudioNarration":false,"actualSubdomain":"cline-efdc8260","customDomains":["docs.cline.bot"],"gitSource":{"type":"github","owner":"cline","repo":"cline","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af3a63e494561a7fb74ff67","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Cline","count":60},{"language":"default","tag":"Enterprise","count":24},{"language":"default","tag":"Enterprise Solutions","count":24},{"language":"default","tag":"SDK","count":24},{"language":"default","tag":"Getting Started","count":22},{"language":"default","tag":"Usage","count":17},{"language":"default","tag":"Other Models \u0026 Providers","count":16},{"language":"default","tag":"Cloud Providers","count":14},{"language":"default","tag":"Remote Provider Configuration","count":11},{"language":"default","tag":"Concepts","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@import url(\"https://fonts.googleapis.com/css2?family=Geist+Sans:wght@300;400;500;600;700\u0026display=swap\");@import url(\"https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700\u0026display=swap\");body,p,li,td,th,span:not(code *),div:not(code *):not(pre *){font-family:\"Geist Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif!important}code,pre,.code,pre code,code *,pre *{font-family:\"Geist Mono\", \"Monaco\", \"Courier New\", monospace!important}h1{font-weight:600!important}h1,h2,h3,h4,h5,h6,img{opacity:1!important;font-family:\"Geist Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif!important}.content h1,.markdown h1,article h1,main h1{font-weight:500!important}img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.9);border:1px solid rgba(0, 0, 0, 0.1);border-radius:8px;padding:12px;transition:all 0.3s ease}[data-theme=\"dark\"] img[alt=\"JetBrains logo\"],.dark img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.95);border:1px solid rgba(0, 0, 0, 0.2);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}@media (prefers-color-scheme: dark){img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.95);border:1px solid rgba(0, 0, 0, 0.2);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}}img[alt=\"JetBrains logo\"]:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15)}.steps{margin-top:5px!important}"}],"page":{"pagePath":"features/subagents","slug":"/features/subagents","pageMetadata":{"title":"Subagents","sidebarTitle":"Subagents","description":"Run parallel research agents to explore your codebase without filling the main agent's context window.","href":"/features/subagents"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run parallel research agents to explore your codebase without filling the main agent’s context window.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Subagents are available in the Cline CLI and Cline Desktop. The VS Code and JetBrains extensions don’t use them.`})}),`\n`,_jsx(_components.p,{children:`Subagents let Cline hand a focused task to another agent. Each subagent gets its own prompt and context window, does the work, and returns a report to the main agent. This keeps the main agent’s context clean, and several subagents can run at the same time.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.p,{children:[`When Cline uses the `,_jsx(_components.code,{children:`spawn_agent`}),` tool, it starts a subagent. Each one:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Gets its own instructions and task from the main agent`}),`\n`,_jsx(_components.li,{children:`Runs with a separate context window`}),`\n`,_jsxs(_components.li,{children:[`Has Cline’s built-in tools for the current mode. In Act mode it can read and edit files and run commands. In Plan mode it has no tools for editing files, and Cline refuses shell commands that usually change files, such as `,_jsx(_components.code,{children:`rm`}),` and `,_jsx(_components.code,{children:`git commit`}),`. Other commands still run, and some of them, such as `,_jsx(_components.code,{children:`python -c`}),`, can write files. A subagent can start subagents of its own. It doesn’t get MCP tools.`]}),`\n`,_jsx(_components.li,{children:`Returns its final reply to the main agent`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The main agent waits for its subagents, then continues. Their token use and cost are added to the session’s total.`}),`\n`,_jsx(Heading,{level:`2`,id:`approvals`,children:`Approvals`}),`\n`,_jsxs(_components.p,{children:[`Approving the `,_jsx(_components.code,{children:`spawn_agent`}),` call approves everything the subagent then does: its own tool calls don’t ask for approval. Approval settings don’t apply inside a subagent, so read the subagent’s task before you approve it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`turning-subagents-off`,children:`Turning Subagents Off`}),`\n`,_jsxs(_components.p,{children:[`Subagents are on in Act and Plan modes. To turn them off, turn off the `,_jsx(_components.code,{children:`spawn_agent`}),` tool:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CLI:`}),` run `,_jsx(_components.code,{children:`cline`}),`, type `,_jsx(_components.code,{children:`/settings`}),`, and turn off `,_jsx(_components.code,{children:`spawn_agent`}),` on the `,_jsx(_components.strong,{children:`Tools`}),` tab.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Desktop:`}),` open `,_jsx(_components.strong,{children:`Customize`}),`, select `,_jsx(_components.strong,{children:`Tools`}),`, and turn off `,_jsx(_components.code,{children:`spawn_agent`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The setting applies to new sessions in both products.`}),`\n`,_jsx(Heading,{level:`2`,id:`using-subagents`,children:`Using Subagents`}),`\n`,_jsx(_components.p,{children:`Cline decides when a task is worth splitting. You can also ask for subagents in your prompt.`}),`\n`,_jsx(_components.p,{children:`Example prompts:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“Use subagents to explore how authentication works and where the database models are defined”`}),`\n`,_jsx(_components.li,{children:`“Spin up subagents to investigate the API routes, the test setup, and the deployment config”`}),`\n`,_jsx(_components.li,{children:`“I’m new to this codebase. Use subagents to map out the main entry points, the routing layer, and the data access patterns”`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Give each subagent one focused question. Asking for research only, and working in Plan mode, make subagents less likely to change files, but neither stops every change.`}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-subagents`,children:`When to Use Subagents`}),`\n`,_jsx(_components.p,{children:`Subagents work best when you need broad context from multiple areas of a codebase at once:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Onboarding to an unfamiliar project`}),`: Ask subagents to map out the architecture, key entry points, and data flow in parallel.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Investigating cross-cutting concerns`}),`: Have separate subagents trace authentication, logging, and error handling simultaneously.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pre-edit research`}),`: Before making changes, use subagents to gather context from related files so the main agent can make informed edits without burning through its context window.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Large codebases`}),`: When reading many files sequentially would consume too much of the main agent’s context, subagents let you explore broadly without that tradeoff.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`For small, focused tasks where you already know which files to look at, subagents add unnecessary overhead. Just ask Cline directly.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Subagents","sidebarTitle":"Subagents","description":"Run parallel research agents to explore your codebase without filling the main agent's context window.","href":"/features/subagents"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Approvals","slug":"approvals","depth":2,"children":[]},{"title":"Turning Subagents Off","slug":"turning-subagents-off","depth":2,"children":[]},{"title":"Using Subagents","slug":"using-subagents","depth":2,"children":[]},{"title":"When to Use Subagents","slug":"when-to-use-subagents","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cline-efdc8260/2b786a4501c981f9/hubspot.js"],"subdomain":"cline-efdc8260","siteName":"Cline","title":"Subagents - Cline","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T11:50:51.393Z","originalFileLocation":"features/subagents.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run parallel research agents to explore your codebase without filling the main agent\u0026#x27;s context window.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cline\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Subagents - Cline\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run parallel research agents to explore your codebase without filling the main agent\u0026#x27;s context window.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cline\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cline.bot/features/subagents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cline-efdc8260.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Subagents\u0026amp;description=Run+parallel+research+agents+to+explore+your+codebase+without+filling+the+main+agent%27s+context+window.\u0026amp;theme=daacaad8219de7a3eec3e7fb\u0026amp;signature=65dc65f04caf0e7dbffe81445269f22d491c7593f4e24674b558172064c47c29\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Subagents - Cline\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run parallel research agents to explore your codebase without filling the main agent\u0026#x27;s context window.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cline-efdc8260.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Subagents\u0026amp;description=Run+parallel+research+agents+to+explore+your+codebase+without+filling+the+main+agent%27s+context+window.\u0026amp;theme=daacaad8219de7a3eec3e7fb\u0026amp;signature=65dc65f04caf0e7dbffe81445269f22d491c7593f4e24674b558172064c47c29\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cline\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9D4EDD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cline.bot/features/subagents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/subagents.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cline.bot/#organization\",\"name\":\"Cline\",\"url\":\"https://docs.cline.bot\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-black.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=4e26f83486e0f2b4d0966979e031e353\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cline.bot#website\",\"name\":\"Cline\",\"url\":\"https://docs.cline.bot\",\"publisher\":{\"@id\":\"https://docs.cline.bot/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cline.bot/features/subagents#webpage\",\"url\":\"https://docs.cline.bot/features/subagents\",\"name\":\"Subagents\",\"description\":\"Run parallel research agents to explore your codebase without filling the main agent's context window.\",\"dateModified\":\"2026-10-08T11:50:51.393Z\",\"isPartOf\":{\"@id\":\"https://docs.cline.bot#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cline.bot/features/subagents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cline.bot/features/subagents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.cline.bot/core-workflows/plan-and-act\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Subagents\",\"item\":\"https://docs.cline.bot/features/subagents\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cline.bot/features/subagents#article\",\"headline\":\"Subagents\",\"name\":\"Subagents\",\"description\":\"Run parallel research agents to explore your codebase without filling the main agent's context window.\",\"url\":\"https://docs.cline.bot/features/subagents\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cline.bot/features/subagents#webpage\"},\"dateModified\":\"2026-10-08T11:50:51.393Z\",\"publisher\":{\"@id\":\"https://docs.cline.bot/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cline.bot#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cline\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cline\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/subagents.md","siteName":"Cline","nav":{"global":null,"tabs":[{"tab":"Cline","icon":"robot","groups":[{"group":"Getting Started","pages":[{"title":"Cline Overview","sidebarTitle":"Cline Overview","href":"/cline-overview"},{"title":"Installing Cline","href":"/getting-started/installing-cline"},{"title":"Cline (usage-billing)","href":"/getting-started/cline-provider"},{"title":"ClinePass","href":"/getting-started/clinepass"},{"title":"Cline Free Models","href":"/getting-started/free-models"},{"group":"Other Models \u0026 Providers","pages":[{"title":"Authorization","href":"/getting-started/authorizing-with-cline"},{"title":"Local models","sidebarTitle":"Local models","href":"/running-models-locally/overview"},{"group":"Cloud Providers","pages":[{"title":"Alibaba Qwen","href":"/provider-config/qwen"},{"title":"Anthropic / Claude Code","href":"/provider-config/anthropic"},{"group":"AWS Bedrock","pages":[{"title":"API Key (Simple Setup)","sidebarTitle":"API Key","href":"/provider-config/aws-bedrock/api-key"},{"title":"IAM Credentials","sidebarTitle":"IAM Credentials","href":"/provider-config/aws-bedrock/iam-credentials"},{"title":"CLI Profile (SSO)","sidebarTitle":"CLI Profile (SSO)","href":"/provider-config/aws-bedrock/cli-profile"}]},{"title":"DeepSeek","href":"/provider-config/deepseek"},{"title":"Google Gemini","href":"/provider-config/google-gemini"},{"title":"MiniMax","href":"/provider-config/minimax"},{"title":"OpenAI (Codex)","href":"/provider-config/openai"},{"title":"OpenAI Compatible","href":"/provider-config/openai-compatible"},{"title":"OpenRouter","href":"/provider-config/openrouter"},{"title":"Poolside","href":"/provider-config/poolside"},{"title":"Z AI (Zhipu AI)","href":"/provider-config/zai"},{"title":"Other 30+ Providers","href":"/provider-config/other-30-plus-providers"}]}]},{"title":"Config","sidebarTitle":"Config","href":"/getting-started/config"}]},{"group":"Usage","pages":[{"group":"Cline Desktop","pages":[{"title":"Cline Desktop","sidebarTitle":"Overview","href":"/usage/cline-desktop"},{"title":"Remote Development over SSH","sidebarTitle":"Remote over SSH","href":"/usage/cline-desktop-ssh"},{"title":"Local Models in Cline Desktop","sidebarTitle":"Local Models","href":"/usage/cline-desktop-local-models"}]},{"title":"Cline Cloud Agents","sidebarTitle":"Cloud Agents","href":"/usage/cloud-agents"},{"title":"IDE","sidebarTitle":"IDE","href":"/usage/ide"},{"title":"TUI","sidebarTitle":"TUI","href":"/usage/tui"},{"group":"CLI","pages":[{"title":"CLI Overview","sidebarTitle":"CLI Overview","href":"/usage/cli-overview"},{"title":"CLI Reference","href":"/cli/cli-reference"},{"group":"Examples","pages":[{"title":"GitHub Issue RCA Sample","href":"/cli/samples/github-issue-rca"},{"title":"GitHub Actions Integration","href":"/cli/samples/github-integration"},{"title":"GitHub PR Review","href":"/cli/samples/github-pr-review"},{"title":"Model Orchestration","href":"/cli/samples/model-orchestration"},{"title":"Supply-Chain Scan Alerts","href":"/cli/samples/supply-chain-alerts"}]}]},{"title":"ACP","sidebarTitle":"ACP","href":"/usage/acp"},{"group":"Kanban","pages":[{"title":"Kanban","sidebarTitle":"Overview","href":"/usage/kanban"},{"title":"Core Workflow","href":"/kanban/core-workflow"},{"title":"Remote Access","href":"/kanban/remote-access"}]}]},{"group":"Configurations","pages":[{"title":"Tools","sidebarTitle":"Tools","href":"/tools-reference/all-cline-tools"},{"title":"Rules","sidebarTitle":"Rules","href":"/customization/cline-rules"},{"title":"Skills","sidebarTitle":"Skills","href":"/customization/skills"},{"title":"Plugins","sidebarTitle":"Plugins","href":"/customization/plugins"},{"title":"MCP","sidebarTitle":"MCP","href":"/mcp/mcp-overview"},{"title":"Hooks","sidebarTitle":"Hooks","href":"/customization/hooks"},{"title":"Scheduling","sidebarTitle":"Scheduling","href":"/cli/scheduling"},{"title":"Connectors","sidebarTitle":"Connectors","href":"/cli/connectors"},{"title":".clineignore (deprecate soon)","sidebarTitle":".clineignore (deprecate soon)","href":"/customization/clineignore"}]},{"group":"Features","pages":[{"title":"Plan \u0026 Act Mode","sidebarTitle":"Plan \u0026 Act Mode","href":"/core-workflows/plan-and-act"},{"title":"Adding Context","sidebarTitle":"Adding Context","href":"/core-workflows/working-with-files"},{"title":"Using Commands","sidebarTitle":"Using Commands","href":"/core-workflows/using-commands"},{"title":"Checkpoints","sidebarTitle":"Checkpoints","href":"/core-workflows/checkpoints"},{"title":"Agent Teams","sidebarTitle":"Agent Teams","description":"Coordinate multiple agents working together on complex tasks from the CLI.","href":"/cli/agent-teams"},{"title":"Subagents","sidebarTitle":"Subagents","href":"/features/subagents"}]},{"group":"Best Practices","pages":[{"title":"Memory Bank","sidebarTitle":"Memory Bank","description":"A structured documentation system that helps Cline maintain context across sessions.","href":"/best-practices/memory-bank"}]},{"group":"IDE Specific Features","pages":[{"title":"Auto Approve \u0026 YOLO Mode","sidebarTitle":"Auto Approve","href":"/features/auto-approve"},{"title":"Jupyter Notebooks","sidebarTitle":"Jupyter Notebooks","href":"/features/jupyter-notebooks"},{"title":"Multi-Root Workspaces","sidebarTitle":"Multi-Root Workspaces","href":"/features/multiroot-workspace"}]},{"group":"Troubleshooting","pages":[{"title":"Networking and Proxies","sidebarTitle":"Networking \u0026 Proxies","href":"/troubleshooting/networking-and-proxies"}]},{"group":"Resources","pages":[{"title":"Deprecations","sidebarTitle":"Deprecations","href":"/resources/deprecations"}]}]},{"tab":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"Enterprise","icon":"building","pages":[{"title":"Enterprise","href":"/enterprise-solutions/overview"}]},{"tab":"API","icon":"code","pages":[{"title":"API","href":"/api/overview"}]}]},"basePath":"","title":"Subagents - Cline","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}