ions-collapse-all" class="border rounded-lg p-3">
                          Collapse All
                      </button>
                  </div>
                </div>

                {% for cycle_data in agent_cycles %}
                  {% if 'standalone' in cycle_data %}
                    <!-- Standalone agents -->
                    {% for agent_name, agent_logs in cycle_data.standalone.items() %}
                      <div x-data="{ open: false }" class="border rounded-lg mb-4 agent-section">
    