Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

checkpoint: File edit:

rUv6ec36f6e1ceb
diff --git a/v3/@claude-flow/swarm/src/agent-pool.ts b/v3/@claude-flow/swarm/src/agent-pool.ts
index a913e3e0b2..9130e9414f 100644
--- a/v3/@claude-flow/swarm/src/agent-pool.ts
+++ b/v3/@claude-flow/swarm/src/agent-pool.ts
@@ -52,10 +52,12 @@ export class AgentPool extends EventEmitter implements IAgentPool {
this.config = { ...this.config, ...config };
}
- // Start with minimum pool size
- for (let i = 0; i < this.config.minSize; i++) {
- await this.createPooledAgent();
- }
+ // Start with minimum pool size - create agents in parallel
+ const createPromises = Array.from(
+ { length: this.config.minSize },
+ () => this.createPooledAgent()
+ );
+ await Promise.all(createPromises);
// Start health checks
this.startHealthChecks();