🌊 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/__init__.py
rUv231f83d28494
diff --git a/.claude/checkpoints/1754442915.json b/.claude/checkpoints/1754442915.jsonnew file mode 100644index 0000000000..441df648ad--- /dev/null+++ b/.claude/checkpoints/1754442915.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250806-011515", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/config/unified_config.py", "timestamp": "2025-08-06T01:15:15Z", "type": "pre-edit", "original_branch": "alpha-88"}diff --git a/.claude/checkpoints/1754442917.json b/.claude/checkpoints/1754442917.jsonnew file mode 100644index 0000000000..f4db9a7146--- /dev/null+++ b/.claude/checkpoints/1754442917.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250806-011517", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/config/unified_config.py", "timestamp": "2025-08-06T01:15:17Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 4202 ++------------------ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754442854.json | 1 + .claude/checkpoints/1754442856.json | 1 + .../src/swarm_benchmark/config/unified_config.py | 580 +++ claude-flow-wiki | 0 7 files changed, 815 insertions(+), 3977 deletions(-) "}diff --git a/benchmark/src/swarm_benchmark/__init__.py b/benchmark/src/swarm_benchmark/__init__.pyindex 2a859d5a64..ff967baee4 100644--- a/benchmark/src/swarm_benchmark/__init__.py+++ b/benchmark/src/swarm_benchmark/__init__.py@@ -2,21 +2,111 @@Swarm Benchmark - Agent swarm benchmarking tool for Claude Flow.This package provides comprehensive benchmarking capabilities for agent swarms,-supporting various strategies and coordination modes.+supporting various strategies and coordination modes, including MLE-STAR ensemble+learning, non-interactive automation, advanced metrics collection, collective+intelligence benchmarking, and CLAUDE.md optimization."""-__version__ = "1.0.0"+__version__ = "2.0.0"__author__ = "Claude Flow Team"__email__ = "[email protected]"+# Core components (backward compatibility)from .core.models import Task, Agent, Result, Benchmarkfrom .core.benchmark_engine import BenchmarkEngine+from .core.base_interfaces import (+ BenchmarkInterface,+ MetricsCollectorInterface,+ AsyncBenchmarkBase,+ EnsembleBenchmark,+ BenchmarkContext,+ ExecutionResult,+ BenchmarkStatus+)+# Configuration management+from .config.unified_config import UnifiedConfig, ConfigManager, config++# New modules (lazy imports to avoid circular dependencies)+def get_mle_star():+ """Get MLE-STAR module (lazy import)."""+ from . import mle_star+ return mle_star++def get_automation():+ """Get automation module (lazy import)."""+ from . import automation+ return automation++def get_advanced_metrics():+ """Get advanced metrics module (lazy import)."""+ from . import advanced_metrics+ return advanced_metrics++def get_collective():+ """Get collective intelligence module (lazy import)."""+ from . import collective+ return collective++def get_claude_optimizer():+ """Get CLAUDE.md optimizer module (lazy import)."""+ from . import claude_optimizer+ return claude_optimizer++# Backward compatibility exports__all__ = [+ # Core (backward compatible)"Task","Agent","Result","Benchmark","BenchmarkEngine",++ # New interfaces+ "BenchmarkInterface",+ "MetricsCollectorInterface",+ "AsyncBenchmarkBase",+ "EnsembleBenchmark",+ "BenchmarkContext",+ "ExecutionResult",+ "BenchmarkStatus",++ # Configuration+ "UnifiedConfig",+ "ConfigManager",+ "config",++ # Module accessors+ "get_mle_star",+ "get_automation",+ "get_advanced_metrics",+ "get_collective",+ "get_claude_optimizer",++ # Metadata"__version__",-]\ No newline at end of file+]++# Module-level configuration+def initialize_config(config_path=None):+ """Initialize configuration with optional config file."""+ if config_path:+ config.load_config_file(config_path)+ return config++def get_version_info():+ """Get detailed version information."""+ return {+ "version": __version__,+ "author": __author__,+ "email": __email__,+ "modules": [+ "core",+ "mle_star",+ "automation",+ "advanced_metrics",+ "collective",+ "claude_optimizer",+ "config"+ ]+ }\ No newline at end of file