🌊 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/multi_mode_engine.py
rUv299cc143fee9
diff --git a/benchmark/.claude/checkpoints/1754578746.json b/benchmark/.claude/checkpoints/1754578746.jsonnew file mode 100644index 0000000000..6a9876ec1d--- /dev/null+++ b/benchmark/.claude/checkpoints/1754578746.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250807-145906", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.py", "timestamp": "2025-08-07T14:59:06Z", "type": "pre-edit", "original_branch": "swe-bench"}diff --git a/benchmark/.claude/checkpoints/1754578748.json b/benchmark/.claude/checkpoints/1754578748.jsonnew file mode 100644index 0000000000..86525bf5d9--- /dev/null+++ b/benchmark/.claude/checkpoints/1754578748.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250807-145907", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.py", "timestamp": "2025-08-07T14:59:08Z", "type": "post-edit", "branch": "swe-bench", "diff_summary": " .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++ astropy_fix | 0 benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +++--- benchmark/.claude/checkpoints/1754578735.json | 1 + benchmark/.claude/checkpoints/1754578737.json | 1 + .../swarm_benchmark/swe_bench/multi_mode_engine.py | 1 + 7 files changed, 31 insertions(+), 4 deletions(-) "}diff --git a/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.py b/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.pyindex d94cf1a77c..88807e050f 100644--- a/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.py+++ b/benchmark/src/swarm_benchmark/swe_bench/multi_mode_engine.py@@ -151,16 +151,17 @@ class MultiModeSWEBenchEngine(OfficialSWEBenchEngine):start_time = time.time()try:- # Create simplified prompt (full version, not truncated)- simple_prompt = (- f"Fix GitHub issue {instance_id} in {repo}. "- f"Problem: {problem} "- f"Generate a git diff patch that resolves this issue."+ # Build prompt using the prompt builder+ prompt_config = SWEBenchPromptConfig(+ mode=mode.command_type,+ subcommand=mode.subcommand,+ max_agents=mode.agents or 4,+ include_validation=False,+ output_format="patch")- # Clean the prompt- simple_prompt = simple_prompt.replace('"', "'").replace('\n', ' ').replace('\r', ' ')- simple_prompt = ' '.join(simple_prompt.split())+ prompt_builder = SWEBenchPromptBuilder(prompt_config)+ simple_prompt = prompt_builder.build_prompt(instance)# Get claude-flow pathclaude_flow_path = './claude-flow'