[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"doc:en:\u002Fproductivity-tips\u002Fbackground-tasks":3,"navigation:en":115,"surround:en:\u002Fproductivity-tips\u002Fbackground-tasks":348},{"page":4,"fallback":114},{"id":5,"title":6,"body":7,"description":105,"extension":106,"meta":107,"navigation":108,"path":110,"seo":111,"stem":112,"__hash__":113},"docs_en\u002Fproductivity-tips\u002Fbackground-tasks.md","Background tasks",{"type":8,"value":9,"toc":98},"minimark",[10,14,19,22,40,44,68,88,92,95],[11,12,13],"p",{},"An agent can start work that keeps running after its turn ends: a dev server, a test watch, a long build, or a monitor that waits for a log line. The agent stays free to take your next message while the task runs.",[15,16,18],"h2",{"id":17},"ask-for-it","Ask for it",[11,20,21],{},"Tell the agent to run the work in the background, for example:",[23,24,25,29,32],"ul",{},[26,27,28],"li",{},"\"Start the dev server in the background, then fix the failing route.\"",[26,30,31],{},"\"Run the full test suite in the background and keep working on the docs. Tell me when it finishes.\"",[26,33,34,35,39],{},"\"Watch the build log and tell me when it prints ",[36,37,38],"code",{},"ready",".\"",[15,41,43],{"id":42},"watch-and-stop-tasks","Watch and stop tasks",[11,45,46,47,51,52,55,56,59,60,63,64,67],{},"While tasks run, a ",[48,49,50],"strong",{},"1 background task"," (or ",[48,53,54],{},"N background tasks",") pill appears above the composer. Open it to see each task, labeled ",[48,57,58],{},"Shell",", ",[48,61,62],{},"Monitor",", or ",[48,65,66],{},"Other work",".",[23,69,70,77],{},[26,71,72,73,76],{},"Select ",[48,74,75],{},"Stop"," to end a task.",[26,78,79,80,83,84,87],{},"A task that already finished shows ",[48,81,82],{},"No longer running",". Select ",[48,85,86],{},"Dismiss"," to remove it.",[15,89,91],{"id":90},"requirements","Requirements",[11,93,94],{},"Background tasks work with Claude Code, Codex, and OpenCode v2. Both the host and the app need a version that supports them.",[11,96,97],{},"A task lives inside the agent's process. If the agent's process exits, for example after a crash or when the host restarts, its tasks can stop with it.",{"title":99,"searchDepth":100,"depth":100,"links":101},"",2,[102,103,104],{"id":17,"depth":100,"text":18},{"id":42,"depth":100,"text":43},{"id":90,"depth":100,"text":91},"Let an agent run long shell commands and monitors while it keeps working, then watch and stop them from the composer.","md",{},{"order":109},1,"\u002Fproductivity-tips\u002Fbackground-tasks",{"title":6,"description":105},"productivity-tips\u002Fbackground-tasks","mEvE21Vptmf-W1yZ-ffTfAZmdEGHMEtKfQzXSHi5m-Y",false,[116,121,143,169,223,240,285,318,329,343],{"title":117,"path":118,"stem":119,"order":120},"Zekoder documentation","\u002F","index",-1,{"title":122,"path":123,"stem":124,"children":125,"page":114},"Getting started","\u002Fgetting-started","getting-started",[126,130,134,138],{"title":127,"path":128,"stem":129},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":131,"path":132,"stem":133,"order":109},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",{"title":135,"path":136,"stem":137,"order":100},"Connect a host","\u002Fgetting-started\u002Fconnect-a-host","getting-started\u002Fconnect-a-host",{"title":139,"path":140,"stem":141,"order":142},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",3,{"title":144,"path":145,"stem":146,"children":147,"page":114},"Hosts","\u002Fhosts","hosts",[148,152,156,160,164],{"title":149,"path":150,"stem":151},"Security","\u002Fhosts\u002Fsecurity","hosts\u002Fsecurity",{"title":153,"path":154,"stem":155,"order":109},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":157,"path":158,"stem":159,"order":100},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":161,"path":162,"stem":163,"order":142},"Register a remote host on a host","\u002Fhosts\u002Fregister-a-remote-host","hosts\u002Fregister-a-remote-host",{"title":165,"path":166,"stem":167,"order":168},"Connectivity","\u002Fhosts\u002Fconnectivity","hosts\u002Fconnectivity",4,{"title":170,"path":171,"stem":172,"children":173},"Supported providers","\u002Fproviders","providers",[174,177,181,185,189,193,198,203,208,213,218],{"title":170,"path":171,"stem":175,"order":176},"providers\u002Findex",0,{"title":178,"path":179,"stem":180,"order":109},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":182,"path":183,"stem":184,"order":100},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":186,"path":187,"stem":188,"order":142},"Codex","\u002Fproviders\u002Fcodex","providers\u002Fcodex",{"title":190,"path":191,"stem":192,"order":168},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":194,"path":195,"stem":196,"order":197},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",5,{"title":199,"path":200,"stem":201,"order":202},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",6,{"title":204,"path":205,"stem":206,"order":207},"Muse Code","\u002Fproviders\u002Fmuse-code","providers\u002Fmuse-code",7,{"title":209,"path":210,"stem":211,"order":212},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",8,{"title":214,"path":215,"stem":216,"order":217},"OpenCode","\u002Fproviders\u002Fopencode","providers\u002Fopencode",9,{"title":219,"path":220,"stem":221,"order":222},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",10,{"title":224,"path":225,"stem":226,"children":227,"page":114},"Reference","\u002Freference","reference",[228,232,236],{"title":229,"path":230,"stem":231,"order":109},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":233,"path":234,"stem":235,"order":109},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":237,"path":238,"stem":239,"order":100},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":241,"path":242,"stem":243,"children":244,"page":114},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[245,249,253,257,261,265,269,273,277,281],{"title":246,"path":247,"stem":248,"order":109},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":250,"path":251,"stem":252,"order":100},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":254,"path":255,"stem":256,"order":100},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":258,"path":259,"stem":260,"order":142},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":262,"path":263,"stem":264,"order":168},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":266,"path":267,"stem":268,"order":197},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":270,"path":271,"stem":272,"order":202},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":274,"path":275,"stem":276,"order":207},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":278,"path":279,"stem":280,"order":212},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":282,"path":283,"stem":284,"order":217},"Phone and web","\u002Fusing-zekoder\u002Fphone-and-web","using-zekoder\u002Fphone-and-web",{"title":286,"path":287,"stem":288,"children":289,"page":114},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[290,294,298,302,306,310,314],{"title":291,"path":292,"stem":293,"order":109},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":295,"path":296,"stem":297,"order":100},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":299,"path":300,"stem":301,"order":142},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":303,"path":304,"stem":305,"order":168},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":307,"path":308,"stem":309,"order":197},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":311,"path":312,"stem":313,"order":202},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":315,"path":316,"stem":317,"order":207},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":319,"order":320,"path":321,"stem":322,"children":323,"page":114},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[324,325],{"title":6,"path":110,"stem":112,"order":109},{"title":326,"path":327,"stem":328,"order":100},"Agent-to-agent messaging","\u002Fproductivity-tips\u002Fagent-messaging","productivity-tips\u002Fagent-messaging",{"title":330,"order":331,"path":332,"stem":333,"children":334,"page":114},"FAQs",98,"\u002Ffaq","faq",[335,339],{"title":336,"path":337,"stem":338,"order":109},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":340,"path":341,"stem":342,"order":100},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":344,"path":345,"stem":346,"order":347},"What changed","\u002Fwhats-changed","whats-changed",99,[349,351],{"title":326,"path":327,"stem":328,"description":350,"order":100,"children":-1},"Let an agent send messages to other agents in the same workspace, another workspace, another project, or another host, and hear back when they finish.",{"title":170,"path":171,"stem":175,"description":352,"order":176,"children":-1},"Every coding agent Zekoder can launch, natively or through ACP.",1796318314922]