[{"data":1,"prerenderedAt":159},["ShallowReactive",2],{"term-b\u002Fbackground-agent":3,"related-b\u002Fbackground-agent":141},{"id":4,"title":5,"acronym":6,"body":7,"category":122,"description":123,"difficulty":124,"extension":125,"letter":126,"meta":127,"navigation":128,"path":129,"related":130,"seo":135,"sitemap":136,"stem":139,"subcategory":6,"__hash__":140},"terms\u002Fterms\u002Fb\u002Fbackground-agent.md","Background Agent",null,{"type":8,"value":9,"toc":116},"minimark",[10,15,19,23,26,30,105,109,112],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 - The Vibe Check",[16,17,18],"p",{},"A background agent is the AI coworker that keeps working on your ticket after you've closed the laptop lid. You kick off a task, walk away, get coffee, do something else entirely, and come back to find a finished pull request waiting instead of a terminal you had to babysit the whole time.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A background agent is a coding agent that runs asynchronously in a remote or isolated environment, such as a cloud sandbox, a separate worktree, or a CI-style runner, rather than blocking on the developer's local terminal session. This lets multiple long-running tasks execute in parallel while the developer continues other work, checking in on progress rather than watching it live.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# kick off a task and keep working while it runs\n$ agent run \"migrate all class components to hooks\" --background\nStarted background task bg-4471. Check progress: agent status bg-4471\n","bash","",[38,39,40,49,76],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# kick off a task and keep working while it runs\n",[41,50,52,56,60,63,67,70,73],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","$",[41,57,59],{"class":58},"sfazB"," agent",[41,61,62],{"class":58}," run",[41,64,66],{"class":65},"sMK4o"," \"",[41,68,69],{"class":58},"migrate all class components to hooks",[41,71,72],{"class":65},"\"",[41,74,75],{"class":58}," --background\n",[41,77,79,82,85,88,91,94,97,99,102],{"class":43,"line":78},3,[41,80,81],{"class":54},"Started",[41,83,84],{"class":58}," background",[41,86,87],{"class":58}," task",[41,89,90],{"class":58}," bg-4471.",[41,92,93],{"class":58}," Check",[41,95,96],{"class":58}," progress:",[41,98,59],{"class":58},[41,100,101],{"class":58}," status",[41,103,104],{"class":58}," bg-4471\n",[11,106,108],{"id":107},"when-youll-hear-this","When You'll Hear This",[16,110,111],{},"\"I kicked off a background agent on the migration and kept working on the frontend.\" \u002F \"Check on the background agent, it's been running for twenty minutes.\"",[113,114,115],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":117},[118,119,120,121],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":107,"depth":51,"text":108},"vibecoding","A background agent is the AI coworker that keeps working on your ticket after you've closed the laptop lid.","beginner","md","b",{},true,"\u002Fterms\u002Fb\u002Fbackground-agent",[131,132,133,134],"Terminal Agent","Sandbox","Worktree","CI",{"title":5,"description":123},{"changefreq":137,"priority":138},"weekly",0.7,"terms\u002Fb\u002Fbackground-agent","bJIN8628zfnY543Ogdd6ye67SXPDNRcuoDfR8J9N0iY",[142,147,151,154],{"title":134,"path":143,"acronym":144,"category":145,"difficulty":124,"description":146},"\u002Fterms\u002Fc\u002Fci","Continuous Integration","cicd","CI is like a robot assistant that instantly checks your homework every time you hand it in.",{"title":132,"path":148,"acronym":6,"category":149,"difficulty":124,"description":150},"\u002Fterms\u002Fs\u002Fsandbox","general","A sandbox is a safe, isolated play area where code can run without affecting anything real.",{"title":131,"path":152,"acronym":6,"category":122,"difficulty":124,"description":153},"\u002Fterms\u002Ft\u002Fterminal-agent","A terminal agent is an AI that lives in your command line instead of a chat window in a browser tab.",{"title":133,"path":155,"acronym":6,"category":156,"difficulty":157,"description":158},"\u002Fterms\u002Fw\u002Fworktree","git","advanced","A worktree lets you have multiple branches checked out at the same time in different folders.",1792528064439]