π 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/cli/main.py
rUvb4ca5445ed13
diff --git a/.claude/checkpoints/1754481179.json b/.claude/checkpoints/1754481179.jsonnew file mode 100644index 0000000000..ee249fe062--- /dev/null+++ b/.claude/checkpoints/1754481179.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250806-115259", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:52:59Z", "type": "pre-edit", "original_branch": "alpha-88"}diff --git a/.claude/checkpoints/1754481180.json b/.claude/checkpoints/1754481180.jsonnew file mode 100644index 0000000000..ee4425305f--- /dev/null+++ b/.claude/checkpoints/1754481180.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250806-115300", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:53:00Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 36 +++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754481161.json | 1 + .claude/checkpoints/1754481163.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 1 + claude-flow-wiki | 0 7 files changed, 43 insertions(+), 4 deletions(-) "}diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.pyindex 5f1839695b..48793ed8f0 100644--- a/benchmark/src/swarm_benchmark/cli/main.py+++ b/benchmark/src/swarm_benchmark/cli/main.py@@ -542,12 +542,47 @@ def sparc(ctx, mode, task, namespace, timeout, non_interactive, output_dir):result = executor.execute_sparc(config)if result.success:- click.echo(f"β SPARC {mode} benchmark completed!")- click.echo(f"π Results saved to: {output_dir}")+ # Generate detailed report+ click.echo(f"\n{'='*60}")+ click.echo(f"β SPARC {mode.upper()} Benchmark Completed!")+ click.echo(f"{'='*60}")++ # Basic info+ click.echo(f"π Task: {task}")+ click.echo(f"π― Mode: {mode.upper()}")+ if namespace:+ click.echo(f"π¦ Namespace: {namespace}")++ # Performance metrics+ click.echo(f"\nπ Performance Metrics:")+ click.echo(f" β±οΈ Execution Time: {result.duration:.2f}s")+ click.echo(f" π€ Agents Spawned: {result.agents_spawned}")+ click.echo(f" β Tasks Completed: {result.tasks_completed}")+ if result.total_tokens > 0:+ click.echo(f" π€ Total Tokens: {result.total_tokens}")+ click.echo(f" π₯ Input: {result.input_tokens}")+ click.echo(f" π€ Output: {result.output_tokens}")++ # Save results+ import json+ from pathlib import Path+ output_path = Path(output_dir)+ output_path.mkdir(parents=True, exist_ok=True)++ timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")+ results_file = output_path / f"sparc_{mode}_{timestamp}.json"++ with open(results_file, 'w') as f:+ json.dump(result.to_dict(), f, indent=2, default=str)++ click.echo(f"\nπ Output Files:")+ click.echo(f" π Results: {results_file}")+if ctx.obj.get('verbose'):- click.echo(f"Execution time: {result.duration:.2f}s")- if result.total_tokens:- click.echo(f"Tokens used: {result.total_tokens}")+ click.echo(f"\nπ Command Executed:")+ click.echo(f" {' '.join(result.command)}")++ click.echo(f"{'='*60}\n")else:error_msg = ""if result.errors: