{% extends "base.html" %} {% block title %}Agents - Memorizz{% endblock %} {% block body_attrs %} data-sidebar-scope="agents" data-sidebar-default="collapsed"{% endblock %} {% block content %} {% from '_ui.html' import page_header, empty_state, id_chip %} {% from '_run_health.html' import runs_chart, attention_panel, recent_runs with context %} {% set window_labels = {'24h': 'last 24 hours', '7d': 'last 7 days', '30d': 'last 30 days'} %} {% set ov = fleet_overview %} {% set rows = fleet.values()|list %} {% set active_count = rows|selectattr('stats')|list|length %} {% set attention_count = rows|selectattr('health', 'in', ['failing', 'degraded'])|list|length %} {% set idle_count = rows|selectattr('health', 'equalto', 'idle')|list|length %} {% set favorite_count = agents|selectattr('is_favorite')|list|length %} {% set query_suffix = ('&sort_by=' ~ sort_by) ~ ('&load=1' if loaded else '') %} {% call page_header('Agents', 'Fleet health for every agent in this memory provider. Select an agent to inspect it or send a quick message.', 'Agents') %} Create agent {% endcall %} {% if agents %}
Run health is not read automatically for this provider. Load run health
{% elif fleet_error %}{{ fleet_error }} Configuration and quick chat still work.
{% endif %}| Favorite | Trend | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ agent_display_name }} {{ agent_id_value[:8] }} {% if agent_copies.get(agent_id_value, 1) > 1 %}{{ agent_copies[agent_id_value] }} copies{% endif %} | {{ row.model }} | {{ health|capitalize }} | {{ st.runs if st else 0 }} | {% if st %} {% set peak = [st.series|map(attribute='runs')|max, 1]|max %} {% else %}{% endif %} | {% if st and st.success_rate is not none %}{{ '%.0f'|format(st.success_rate) }}%{% else %}—{% endif %} | {{ fmt_duration(st.p95_ms) if st else '—' }} | {{ fmt_compact(st.tokens) if st else '—' }} | {% if st and st.cache_read_percent is not none %}{{ '%.0f'|format(st.cache_read_percent) }}%{% else %}—{% endif %} | {{ fmt_usd(st.cost_usd) if st else '—' }} | {{ relative_time(st.last_run_at, generated_at) if st else '—' }} |
No agents match this filter.