🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
rUv3beb9b83d9df
diff --git a/benchmark/.claude/checkpoints/task-1754575484.json b/benchmark/.claude/checkpoints/task-1754575484.jsonnew file mode 100644index 0000000000..62bb668431--- /dev/null+++ b/benchmark/.claude/checkpoints/task-1754575484.json@@ -0,0 +1 @@+{"checkpoint": "task-20250807-140442", "task": "i don't want to simulate the swe-bench should use the correct claude-flow commands like: npx claude", "timestamp": "2025-08-07T14:04:44Z", "commit": "69ba4ced6b556aa9536d783d9398d05cebed0e9a", "github_release": "true"}diff --git a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py b/benchmark/src/swarm_benchmark/swe_bench/official_integration.pyindex 8fb6a0c15b..8f1b2278b4 100644--- a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py+++ b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py@@ -112,18 +112,23 @@ Generate a git diff patch that fixes this issue. The patch should:Return ONLY the git diff patch in proper format."""# Execute with Claude Flow using optimal configuration- cmd = [- "npx", "claude-flow@alpha",- "sparc", "run", "coder",- f'"{task_prompt}"',- "--mode", self.config.mode.value,- "--agents", str(self.config.max_agents),- "--non-interactive"- ]+ # Use swarm or hive-mind based on complexity+ if self.config.mode == CoordinationMode.MESH:+ # Use hive-mind for complex mesh coordination+ cmd = f"""npx claude-flow@alpha hive-mind spawn "{task_prompt}" --claude --non-interactive"""+ else:+ # Use swarm for other modes+ cmd = f"""npx claude-flow@alpha swarm "{task_prompt}" --non-interactive --claude"""++ # Add configuration options+ if self.config.max_agents:+ cmd += f" --agents {self.config.max_agents}"++ print(f" 📋 Executing: {cmd[:100]}...")# Run with timeout- process = await asyncio.create_subprocess_exec(- *cmd,+ process = await asyncio.create_subprocess_shell(+ cmd,stdout=asyncio.subprocess.PIPE,stderr=asyncio.subprocess.PIPE,cwd=Path.cwd()