🌊 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/examples/quick_test.py
rUv0f32e2dcd297
diff --git a/benchmark/examples/.claude/checkpoints/1754448586.json b/benchmark/examples/.claude/checkpoints/1754448586.jsonnew file mode 100644index 0000000000..4abbf4e272--- /dev/null+++ b/benchmark/examples/.claude/checkpoints/1754448586.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250806-024945", "file": "/workspaces/claude-code-flow/benchmark/examples/ORGANIZATION_REPORT.md", "timestamp": "2025-08-06T02:49:46Z", "type": "pre-edit", "original_branch": "alpha-88"}diff --git a/benchmark/examples/.claude/checkpoints/1754448587.json b/benchmark/examples/.claude/checkpoints/1754448587.jsonnew file mode 100644index 0000000000..c3bc0d2549--- /dev/null+++ b/benchmark/examples/.claude/checkpoints/1754448587.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250806-024947", "file": "/workspaces/claude-code-flow/benchmark/examples/ORGANIZATION_REPORT.md", "timestamp": "2025-08-06T02:49:47Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 360 +++++++++++ benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- .../examples/.claude-flow/metrics/performance.json | 2 +- .../.claude-flow/metrics/task-metrics.json | 6 +- .../examples/.claude/checkpoints/1754448531.json | 1 + .../examples/.claude/checkpoints/1754448533.json | 1 + benchmark/examples/ORGANIZATION_REPORT.md | 181 ++++++ .../examples/{ => advanced}/optimization_demo.py | 0 benchmark/examples/claude_optimizer_example.py | 520 --------------- benchmark/examples/cli/batch_benchmarks.sh | 0 benchmark/examples/cli/cli_examples.sh | 0 benchmark/examples/demo_comprehensive.py | 233 ------- benchmark/examples/demo_mle_star.py | 152 ----- benchmark/examples/demo_real_benchmark.py | 219 ------- benchmark/examples/demos/demo_comprehensive.py | 233 ------- benchmark/examples/demos/demo_mle_star.py | 152 ----- benchmark/examples/demos/demo_real_benchmark.py | 219 ------- benchmark/examples/example_usage.py | 249 -------- benchmark/examples/mle_star_benchmark_example.py | 229 ------- benchmark/examples/parallel_benchmark_demo.py | 254 -------- benchmark/examples/real/real_swarm_benchmark.py | 701 ++++----------------- benchmark/examples/real_benchmark_examples.py | 376 ----------- benchmark/examples/real_hive_mind_benchmark.py | 191 ------ benchmark/examples/real_integration_results.json | 78 --- benchmark/examples/real_metrics_demo.py | 238 ------- benchmark/examples/real_sparc_benchmark.py | 228 ------- benchmark/examples/real_swarm_benchmark.py | 146 ----- benchmark/examples/verify_real_integration.py | 408 ------------ .../cli/__pycache__/main.cpython-312.pyc | Bin 21009 -> 22009 bytes .../optimized_benchmark_engine.cpython-312.pyc | Bin 15770 -> 15428 bytes .../__pycache__/engine.cpython-312.pyc | Bin 32449 -> 33620 bytes benchmark/test_optimization_fix.py | 167 ----- .../tests/.claude-flow/metrics/performance.json | 2 +- .../tests/.claude-flow/metrics/task-metrics.json | 6 +- claude-flow-wiki | 0 36 files changed, 685 insertions(+), 4875 deletions(-) "}diff --git a/benchmark/examples/quick_test.py b/benchmark/examples/quick_test.pynew file mode 100644index 0000000000..70b30eee9f--- /dev/null+++ b/benchmark/examples/quick_test.py@@ -0,0 +1,53 @@+#!/usr/bin/env python3+"""+Quick test of swarm-benchmark real execution.+"""++import subprocess+import json+import sys++def test_real_swarm():+ """Test real swarm execution with simple task."""+ print("🧪 Testing swarm-benchmark real execution...")++ # Test with a simple echo command+ cmd = [+ "swarm-benchmark", "real", "swarm",+ "echo hello world",+ "--max-agents", "1",+ "--timeout", "10"+ ]++ print(f"Command: {' '.join(cmd)}")++ try:+ result = subprocess.run(+ cmd,+ capture_output=True,+ text=True,+ timeout=15+ )++ print(f"Return code: {result.returncode}")++ if result.stdout:+ print("Output:")+ print(result.stdout[:500])++ if result.stderr:+ print("Errors:")+ print(result.stderr[:500])++ return result.returncode == 0++ except subprocess.TimeoutExpired:+ print("⏱️ Command timed out (expected for long tasks)")+ return True+ except Exception as e:+ print(f"❌ Error: {e}")+ return False++if __name__ == "__main__":+ success = test_real_swarm()+ sys.exit(0 if success else 1)\ No newline at end of file