{% extends "base.html" %} {% block title %}Agents · {{ run.name or run.id }} · AgentFlight{% endblock %} {% block main %}
Runs / {{ run.id }} / agents
It has {{ too_large.spans | number }} spans, and this server rolls up runs of at most {{ too_large.limit | number }} spans for the agents view (AGENTFLIGHT_MAX_AGENT_VIEW_SPANS). The timeline still shows every event. To use the agents view for runs this size, the server's operator can raise the limit.
{{ view.agent_count | number }} agent{{ "s" if view.agent_count != 1 else "" }} {%- if highlights.failed %} · {{ highlights.failed | length }} failed: {% for b in highlights.failed[:3] %}{{ b.name or b.span_id or b.run_id }}{{ ", " if not loop.last else "" }}{% endfor %}{{ " +%d" % (highlights.failed | length - 3) if highlights.failed | length > 3 else "" }} {%- else %} · none failed {%- endif %} {%- if highlights.top %} · most own tokens: {{ "main" if highlights.top.type == "root" else (highlights.top.name or highlights.top.span_id) }} — {{ highlights.top.own.tokens | compact }}{{ " (%d%% of run)" % highlights.top_share_pct if highlights.top_share_pct is not none else "" }} (without sub-agents) {%- endif %} {%- if view.pending_count %} · {{ view.pending_count }} running group{{ "s" if view.pending_count != 1 else "" }} (node not received yet) {%- endif %} {%- if view.child_run_count %} · {{ view.child_run_count | number }} linked run{{ "s" if view.child_run_count != 1 else "" }} (own totals, not in main's) {%- endif %}
Sort: {% for s in ["start", "tokens", "errors"] %}{{ s }}{% if not loop.last %} · {% endif %}{% endfor %} | {% if all_nodes %}agents only{% else %}show all nodes{% endif %}
Agents are node spans marked with agentflight.agent.name (recorded by agentflight.agent(), LangGraph's agent_nodes=, or a hook that sets it). Runs recorded before 0.5.0 have none; everything the run recorded is in the main box above and on the timeline.
This run has {{ view.plain_node_count | number }} plain node span{{ "s" if view.plain_node_count != 1 else "" }}: show all nodes.
{% endif %}First {{ view.child_runs_shown }} of {{ view.child_run_count | number }} linked runs shown · see all
{% endif %} {% endif %} {% endblock %}