Principle:23blocks OS Ai maestro Agent Transfer
| Knowledge Sources | |
|---|---|
| Domains | Agent_Transfer, Mesh_Networking |
| Last Updated | 2026-10-26 10:00 GMT |
Overview
A transfer pattern that exports an agent to a ZIP, sends it via HTTP to a peer host, imports it there, and either deletes or preserves the source — implementing move or clone semantics.
Description
Agent transfer moves or clones an agent to a peer AI Maestro host. The source exports the agent to a ZIP, sends it via HTTP POST (FormData + Blob) to the target host's import endpoint, and on success either deletes the local agent (mode='move') or leaves it (mode='clone'). The target imports the ZIP, wakes the agent, and plays the transfer-delight animation.
Usage
Use this principle when an agent must be relocated or duplicated across hosts in the mesh.
Theoretical Basis
The transfer is export → HTTP → import → wake:
transfer(agent, target, mode):
zip = exportAgentZip(agent)
response = HTTP POST target/import { zip, options }
if mode == 'move': deleteAgent(agent.id)
// target: importAgent(zip) → wakeAgent → transfer-delight