{% extends "ui/base_ui.html" %} {% block title %}My Agents — ATP Platform{% endblock %} {% block content %}

My Agents

{# LABS-TSA PR-5: quota strip + per-purpose register buttons. ``counts`` and ``quota`` are keyed by the two Agent.purpose values and fall back to zeros when absent so this block is safe to render before the PR-2 quota config lands everywhere. #} {% if counts is defined and quota is defined %}
Tournament agents: {{ counts.get('tournament', 0) }}/{{ quota.get('tournament', 0) }} · Benchmark agents: {{ counts.get('benchmark', 0) }}/{{ quota.get('benchmark', 0) }}
Register benchmark agent Register tournament agent
{% endif %} {% if error %}
Error: {{ error }}
{% endif %}
{% if agents %}
{% for agent in agents %} {% endfor %}
Name Version Type Purpose Active Tokens Created Actions
{{ agent.name }} {{ agent.version }} {{ agent.agent_type }} {{ agent.purpose }} {{ agent.token_count }} {{ agent.created_at.strftime('%Y-%m-%d %H:%M') }} View
{% else %}

No agents yet. Use one of the Register buttons above to create your first agent.

{% endif %}
{% endblock %}