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:

rUv76c50ee7bcd2
diff --git a/v3/mcp/tools/agent-tools.ts b/v3/mcp/tools/agent-tools.ts
index 4e610dcd06..858484d9b9 100644
--- a/v3/mcp/tools/agent-tools.ts
+++ b/v3/mcp/tools/agent-tools.ts
@@ -113,7 +113,7 @@ async function handleSpawnAgent(
input: z.infer<typeof spawnAgentSchema>,
context?: ToolContext
): Promise<SpawnAgentResult> {
- const agentId = input.id || `agent-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
+ const agentId = input.id || generateSecureAgentId();
const createdAt = new Date().toISOString();
// Try to use swarmCoordinator if available