[{"data":1,"prerenderedAt":472},["ShallowReactive",2],{"doc:en:\u002Fproductivity-tips\u002Fagent-messaging":3,"navigation:en":234,"surround:en:\u002Fproductivity-tips\u002Fagent-messaging":467},{"page":4,"fallback":233},{"id":5,"title":6,"body":7,"description":225,"extension":226,"meta":227,"navigation":228,"path":229,"seo":230,"stem":231,"__hash__":232},"docs_en\u002Fproductivity-tips\u002Fagent-messaging.md","Agent-to-agent messaging",{"type":8,"value":9,"toc":215},"minimark",[10,14,19,22,50,54,57,78,85,89,139,142,146,149,163,166,169,173,200,204],[11,12,13],"p",{},"An agent can send a message to any other agent: one in the same workspace, in another workspace of the same project, in another project, or on another host. Use it to hand work to an agent that already has the context, to ask a reviewer for a second opinion, or to split a task across agents and collect their results.",[15,16,18],"h2",{"id":17},"turn-it-on","Turn it on",[11,20,21],{},"Agents message each other through the Zekoder agent tools. They are off by default.",[23,24,25,38,44],"ol",{},[26,27,28,29,33,34,37],"li",{},"Open ",[30,31,32],"strong",{},"Settings",", pick the host, and open ",[30,35,36],{},"Agents",".",[26,39,40,41,37],{},"Turn on ",[30,42,43],{},"Enable Zekoder tools",[26,45,46,47,37],{},"Start a new agent, or reload a running one from its tab menu with ",[30,48,49],{},"Reload agent",[15,51,53],{"id":52},"ask-for-it","Ask for it",[11,55,56],{},"Ask in plain language. The agent finds the other agent and sends the message.",[58,59,60,68,75],"ul",{},[26,61,62,63,67],{},"\"Send the failing test output to the agent in the ",[64,65,66],"code",{},"api-refactor"," workspace and ask it to fix the regression.\"",[26,69,70,71,74],{},"\"Ask the Codex agent in the ",[64,72,73],{},"web"," project to review this diff and report back.\"",[26,76,77],{},"\"Start an agent in a new worktree to write the migration, and tell me when it finishes.\"",[11,79,80,81,84],{},"To point at one exact agent, open the menu on its tab, select ",[30,82,83],{},"Copy agent id",", and paste the ID into your message.",[15,86,88],{"id":87},"where-an-agent-can-reach","Where an agent can reach",[90,91,92,105],"table",{},[93,94,95],"thead",{},[96,97,98,102],"tr",{},[99,100,101],"th",{},"Target",[99,103,104],{},"How the agent finds it",[106,107,108,117,125],"tbody",{},[96,109,110,114],{},[111,112,113],"td",{},"An agent in the same workspace",[111,115,116],{},"By its agent ID, from the list of agents on the host.",[96,118,119,122],{},[111,120,121],{},"An agent in another workspace or project",[111,123,124],{},"The same way: an agent ID works across every workspace and project on the host.",[96,126,127,130],{},[111,128,129],{},"An agent on another host",[111,131,132,133,138],{},"The host must be ",[134,135,137],"a",{"href":136},"\u002Fhosts\u002Fregister-a-remote-host","registered on this host",". The agent lists the hosts and picks one.",[11,140,141],{},"An agent can message agents it did not start.",[15,143,145],{"id":144},"hear-back-when-work-finishes","Hear back when work finishes",[11,147,148],{},"When an agent sends a message or starts a new agent, it is notified when the other agent:",[58,150,151,154,157,160],{},[26,152,153],{},"finishes its turn,",[26,155,156],{},"fails with an error,",[26,158,159],{},"needs a permission, or",[26,161,162],{},"is closed or archived.",[11,164,165],{},"The agent then reads the result and carries on, without you passing messages between them.",[11,167,168],{},"Messages and notices to the same agent are held for two seconds and delivered together, so a report and the matching finish notice arrive as one message. A daemon crash can lose messages that are still waiting in that window.",[15,170,172],{"id":171},"in-the-chat","In the chat",[58,174,175,182],{},[26,176,177,178,181],{},"A message from another agent shows as a message bubble with a ",[30,179,180],{},"Sent by"," chip naming the sender. Select the chip to open the sender's agent.",[26,183,184,185,188,189,188,192,195,196,199],{},"A notice shows as a row labeled ",[30,186,187],{},"Agent finished",", ",[30,190,191],{},"Agent errored",[30,193,194],{},"Agent needs permission",", or ",[30,197,198],{},"Agent closed",", with the sender's name. Expand it to read the details.",[15,201,203],{"id":202},"from-a-terminal","From a terminal",[11,205,206,207,210,211,214],{},"The CLI sends the same messages: ",[64,208,209],{},"zekoder send \u003Cagent-id> \"message\"",". Add ",[64,212,213],{},"--host"," to reach an agent on another machine.",{"title":216,"searchDepth":217,"depth":217,"links":218},"",2,[219,220,221,222,223,224],{"id":17,"depth":217,"text":18},{"id":52,"depth":217,"text":53},{"id":87,"depth":217,"text":88},{"id":144,"depth":217,"text":145},{"id":171,"depth":217,"text":172},{"id":202,"depth":217,"text":203},"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.","md",{},{"order":217},"\u002Fproductivity-tips\u002Fagent-messaging",{"title":6,"description":225},"productivity-tips\u002Fagent-messaging","_NaUkfi7JYJQPMoI5RlfYBqMMDB2rP6nV2tlweRDTeI",false,[235,240,263,288,342,359,404,437,448,462],{"title":236,"path":237,"stem":238,"order":239},"Zekoder documentation","\u002F","index",-1,{"title":241,"path":242,"stem":243,"children":244,"page":233},"Getting started","\u002Fgetting-started","getting-started",[245,249,254,258],{"title":246,"path":247,"stem":248},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":250,"path":251,"stem":252,"order":253},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",1,{"title":255,"path":256,"stem":257,"order":217},"Connect a host","\u002Fgetting-started\u002Fconnect-a-host","getting-started\u002Fconnect-a-host",{"title":259,"path":260,"stem":261,"order":262},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",3,{"title":264,"path":265,"stem":266,"children":267,"page":233},"Hosts","\u002Fhosts","hosts",[268,272,276,280,283],{"title":269,"path":270,"stem":271},"Security","\u002Fhosts\u002Fsecurity","hosts\u002Fsecurity",{"title":273,"path":274,"stem":275,"order":253},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":277,"path":278,"stem":279,"order":217},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":281,"path":136,"stem":282,"order":262},"Register a remote host on a host","hosts\u002Fregister-a-remote-host",{"title":284,"path":285,"stem":286,"order":287},"Connectivity","\u002Fhosts\u002Fconnectivity","hosts\u002Fconnectivity",4,{"title":289,"path":290,"stem":291,"children":292},"Supported providers","\u002Fproviders","providers",[293,296,300,304,308,312,317,322,327,332,337],{"title":289,"path":290,"stem":294,"order":295},"providers\u002Findex",0,{"title":297,"path":298,"stem":299,"order":253},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":301,"path":302,"stem":303,"order":217},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":305,"path":306,"stem":307,"order":262},"Codex","\u002Fproviders\u002Fcodex","providers\u002Fcodex",{"title":309,"path":310,"stem":311,"order":287},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":313,"path":314,"stem":315,"order":316},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",5,{"title":318,"path":319,"stem":320,"order":321},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",6,{"title":323,"path":324,"stem":325,"order":326},"Muse Code","\u002Fproviders\u002Fmuse-code","providers\u002Fmuse-code",7,{"title":328,"path":329,"stem":330,"order":331},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",8,{"title":333,"path":334,"stem":335,"order":336},"OpenCode","\u002Fproviders\u002Fopencode","providers\u002Fopencode",9,{"title":338,"path":339,"stem":340,"order":341},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",10,{"title":343,"path":344,"stem":345,"children":346,"page":233},"Reference","\u002Freference","reference",[347,351,355],{"title":348,"path":349,"stem":350,"order":253},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":352,"path":353,"stem":354,"order":253},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":356,"path":357,"stem":358,"order":217},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":360,"path":361,"stem":362,"children":363,"page":233},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[364,368,372,376,380,384,388,392,396,400],{"title":365,"path":366,"stem":367,"order":253},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":369,"path":370,"stem":371,"order":217},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":373,"path":374,"stem":375,"order":217},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":377,"path":378,"stem":379,"order":262},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":381,"path":382,"stem":383,"order":287},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":385,"path":386,"stem":387,"order":316},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":389,"path":390,"stem":391,"order":321},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":393,"path":394,"stem":395,"order":326},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":397,"path":398,"stem":399,"order":331},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":401,"path":402,"stem":403,"order":336},"Phone and web","\u002Fusing-zekoder\u002Fphone-and-web","using-zekoder\u002Fphone-and-web",{"title":405,"path":406,"stem":407,"children":408,"page":233},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[409,413,417,421,425,429,433],{"title":410,"path":411,"stem":412,"order":253},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":414,"path":415,"stem":416,"order":217},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":418,"path":419,"stem":420,"order":262},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":422,"path":423,"stem":424,"order":287},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":426,"path":427,"stem":428,"order":316},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":430,"path":431,"stem":432,"order":321},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":434,"path":435,"stem":436,"order":326},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":438,"order":439,"path":440,"stem":441,"children":442,"page":233},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[443,447],{"title":444,"path":445,"stem":446,"order":253},"Background tasks","\u002Fproductivity-tips\u002Fbackground-tasks","productivity-tips\u002Fbackground-tasks",{"title":6,"path":229,"stem":231,"order":217},{"title":449,"order":450,"path":451,"stem":452,"children":453,"page":233},"FAQs",98,"\u002Ffaq","faq",[454,458],{"title":455,"path":456,"stem":457,"order":253},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":459,"path":460,"stem":461,"order":217},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":463,"path":464,"stem":465,"order":466},"What changed","\u002Fwhats-changed","whats-changed",99,[468,470],{"title":236,"path":237,"stem":238,"description":469,"order":239,"children":-1},"Install Zekoder Desktop, run coding agents on your projects, and drive planned work from idea to merge.",{"title":444,"path":445,"stem":446,"description":471,"order":253,"children":-1},"Let an agent run long shell commands and monitors while it keeps working, then watch and stop them from the composer.",1796318313820]