{% extends "base.html" %} {% import "_macros.html" as macros %} {% block title %}Playground - Memorizz{% endblock %} {% block content %} {% if agents %}
{% for agent in agents %} {% set meta_items = [] %} {% if agent.persona and agent.persona.role %} {% set _ = meta_items.append({'label': 'Role:', 'value': agent.persona.role}) %} {% endif %} {{ macros.agent_card( agent, agent.agent_id, agent.persona.name if agent.persona and agent.persona.name else 'Agent', meta_items=meta_items, footer_links=[ {'href': '/agents/' ~ agent.agent_id ~ '/playground', 'class': 'btn btn-primary', 'label': 'Open Playground →'}, ] ) }} {% endfor %}
{% else %}
🎮

No Agents Available

Create an agent first to use the playground.

Create Agent
{% endif %} {% endblock %}