WARNING: Guardrails init warning: CONTENT_SAFETY_ENDPOINT and CONTENT_SAFETY_KEY must be set in environment
INFO: AgentFeedbackLoop initialized (max_iterations=15)
INFO: ContextManager initialized (max_tokens=100000, threshold=75.0%)
INFO: SubagentOrchestrator initialized (max_parallel=5)
INFO: AgenticSearch initialized (base_path=/home/user01/claude-test/SwarmCare/SwarmCare_Production)
WARNING: Could not initialize guardrails: CONTENT_SAFETY_ENDPOINT and CONTENT_SAFETY_KEY must be set in environment
INFO: MultiMethodVerifier initialized
INFO: ✅ Phase 2 initialized with 100% framework
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   📚 Initializing Knowledge Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   🏥 Initializing Case Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   💬 Initializing Conversation Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   ⚖️  Initializing Compliance Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   🎙️  Initializing Podcast Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
INFO:   ✓ Initializing QA Agent...
================================================================================
SWARMCARE AGENTS PERFORMANCE BENCHMARK
================================================================================
Started: 2025-10-28T07:36:43.799475
Iterations: 20
================================================================================

Benchmarking Knowledge Agent...
  Target SLA: < 2000ms
  Iterations: 20
  ✅ PASS
  Min:     0.02ms
  Max:     0.09ms
  Avg:     0.04ms
  Median:  0.03ms
  P95:     0.09ms
  P99:     0.09ms

Benchmarking Case Agent...
  Target SLA: < 3000ms
  Iterations: 20
  ✅ PASS
  Min:     0.04ms
  Max:     0.56ms
  Avg:     0.12ms
  Median:  0.10ms
  P95:     0.56ms
  P99:     0.56ms

Benchmarking Conversation Agent...
  Target SLA: < 1000ms
  Iterations: 20
  ✅ PASS
  Min:     0.03ms
  Max:     0.54ms
  Avg:     0.13ms
  Median:  0.06ms
  P95:     0.54ms
  P99:     0.54ms

Benchmarking Compliance Agent...
  Target SLA: < 100ms
  Iterations: 20
  ✅ PASS
  Min:     0.03ms
  Max:     0.14ms
  Avg:     0.05ms
  Median:  0.04ms
  P95:     0.14ms
  P99:     0.14ms

Benchmarking Podcast Agent...
  Target SLA: < 30000ms
  Iterations: 20
  ✅ PASS
  Min:     0.04ms
  Max:     0.18ms
  Avg:     0.06ms
  Median:  0.06ms
  P95:     0.18ms
  P99:     0.18ms

Benchmarking QA Agent...
  Target SLA: < 500ms
  Iterations: 20
  ✅ PASS
  Min:     0.03ms
  Max:     0.49ms
  Avg:     0.08ms
  Median:  0.05ms
  P95:     0.49ms
  P99:     0.49ms

================================================================================
BENCHMARK SUMMARY
================================================================================
Total Agents: 6
SLA Met: 6
SLA Failed: 0
Success Rate: 100.0%

Agent Performance Summary:
--------------------------------------------------------------------------------
Agent                SLA        Avg        P95        Status    
--------------------------------------------------------------------------------
Knowledge Agent      <2000ms     0.0ms     0.1ms     ✅ PASS    
Case Agent           <3000ms     0.1ms     0.6ms     ✅ PASS    
Conversation Agent   <1000ms     0.1ms     0.5ms     ✅ PASS    
Compliance Agent     <100ms     0.0ms     0.1ms     ✅ PASS    
Podcast Agent        <30000ms     0.1ms     0.2ms     ✅ PASS    
QA Agent             <500ms     0.1ms     0.5ms     ✅ PASS    
--------------------------------------------------------------------------------
================================================================================

Benchmark report saved to: /home/user01/claude-test/SwarmCare/SwarmCare_Production/phases/phase02/deliverables/performance_benchmark_report.json
