Fleet Memory
graftColorIntoAgent()
Transfer memory from one worker color.
What it does
Transfer memory from one worker color.
The operation follows the fleet’s memory mode and agent identity rules when selecting, storing, or transferring memory.
Signature
TypeScript
graftColorIntoAgent(sourceColor: string, targetAgent: WorkerAgent, options?: ConductorGraftOptions): Promise<TopicNode[]>Parameters
sourceColor (string) — Required input for this operation.targetAgent (WorkerAgent) — Required input for this operation.options? (ConductorGraftOptions) — Optional limits, filters, tags, or operation-specific behavior.Result
The topic nodes created, selected, or copied by the operation.
Example
example.ts
await conductor.graftColorIntoAgent("red", blue, { limit: 4 });