{% extends "base.html" %} {% block title %}Agent harnesses - Memorizz{% endblock %} {% block body_attrs %} data-sidebar-scope="harnesses" data-sidebar-default="collapsed"{% endblock %} {% block head %} {% endblock %} {% block content %} {% from '_ui.html' import page_header, empty_state, id_chip %} {% set m = monitor %} {% set dot = {'good': 'healthy', 'warn': 'degraded', 'bad': 'failing', 'idle': 'idle', 'active': 'active'} %} {% set agent_names = {} %} {% for agent in agents %}{% set _ = agent_names.update({agent.agent_id|string: agent.name or agent.agent_id|string}) %}{% endfor %} {% call page_header('Agent harnesses', 'Run a memory-grounded task on one harness, chain harnesses into a staged plan, or compare them side by side, with durable approval and host verification.', 'Execution') %} {{ 'Live' if activity.active else '' }} {% if not ui_read_only %}{% endif %} {% endcall %} {% if not ui_read_only %}
{% endif %} {% if error %}{% endif %} {% set c = m.counts %}{{ m.needs_setup|length }} harness{{ '' if m.needs_setup|length == 1 else 'es' }} not ready. Select one to see how to fix it.
{% endif %} {% for item in m.availability %}{{ item.error }}
{% endif %} {% if item.remediation %}{{ item.remediation }}
{% endif %} {% if not item.error and not item.remediation %}Ready to take runs.
{% endif %}{{ wf.goal_line }}
{% set wf_runs = wf.steps|map(attribute='run_id')|select|list %} {% if wf_runs|length > 1 %}{% endif %} {% if wf.cancellable and not ui_read_only %}{% endif %} {% if wf.rerunnable and not ui_read_only %}{% endif %} {% if wf.group not in ['active', 'approval'] and not ui_read_only %}{% endif %}{{ wf.error }}
{% endif %}{% if wf.memory_id %}Answers saved to memory {{ wf.memory_id }}{% if wf.steps %} ({{ wf.remembered }} of {{ wf.steps|length }}){% endif %}{% else %}No memory ID, so answers are kept only in the run ledger{% endif %} · {{ id_chip(wf.id, 8) }} {% if wf.rerun_of %}· Run again from {{ id_chip(wf.rerun_of, 8) }}{% endif %} · JSON
| Task | Mode | Run | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ run.status_label }} | {{ run.harness_label }}{% if run.agent_id and run.harness == 'memagent' and agent_names.get(run.agent_id|string) %}{{ agent_names.get(run.agent_id|string) }}{% endif %}{% if run.model %}{{ run.model }}{% endif %} | {% if run.workflow %}{{ run.workflow.label }}{% endif %}{% if run.parent_run_id %}Delegate{% endif %}{{ run.task_line }} | {% if run.writes %}Edits{% else %}Read only{% endif %} | {% if run.verify_state == 'verified' %}Verified{% elif run.verify_state == 'failed' %}Failed{% elif run.verify_state == 'pending' %}Pending{% else %}—{% endif %} | {% if run.total_cost_usd is not none %}{% if run.total_cost_estimated %}≈{% endif %}{{ fmt_usd(run.total_cost_usd) }}{% if run.delegate_runs %}with delegates{% endif %}{% else %}—{% endif %} | {{ fmt_duration(run.duration_ms) if run.duration_ms is not none else '—' }} | {{ relative_time(run.updated_at, generated_at) if run.updated_at else '—' }} | {{ run.run_id[:8] }} |
No runs match this filter.
Showing the newest {{ m.run_count }} runs. Older runs are available from memorizz harness runs or GET /api/harness-runs?limit=1000.
{% endif %}