{% extends 'base.html' %} {% block title %}Subagent ยท Brain{% endblock %} {% block body %}

{{ agent.agent_type or 'subagent' }}

{% if agent.thread_id %}Back to chatThread{% endif %}{{ agent.description or '' }}

Status
{{ agent.status }}
Started
Last activity
Tokens
{{ agent.tokens }}
Parent session
{% if agent.project %}
{{ agent.project }}
{% endif %}

Task

{{ agent.task or 'No task recorded.' }}

Tool calls

{% for t in agent.tools %} {% else %}{% endfor %}
TimeToolArgument
{{ t.name }}{{ t.arg }}
No tool calls yet.
{% if agent.texts %}

Remarks

{% for t in agent.texts %}{% endfor %}
TimeFromText
{{ 'parent' if t.role == 'parent' else 'agent' }}{{ t.body }}
{% endif %}

Report

{% if agent.report %}{{ agent.report }}{% elif agent.status == 'stopped' %}No report: the agent stopped (no write for 2 hours) without finishing.{% else %}Still {{ agent.status }}; the report appears when it finishes.{% endif %}
{% endblock %}