{% extends "base.html" %} {% block title %}Multi-Agent Audit — AI Trace Auditor{% endblock %} {% block nav_audit %}active{% endblock %} {% block content %}
Multi-Agent Report

Multi-Agent Audit

Source: {{ trace_source }} · {{ trace_count }} trace{{ 's' if trace_count != 1 else '' }} · {{ span_count }} span{{ 's' if span_count != 1 else '' }} · {{ regulations_checked | join(', ') }}

{% if report_id %} Download PDF {% endif %} New Audit
{% if agent_scores %}
{% for agent_id, agent_score in agent_scores.items() %}
{{ agent_id }}
{{ agent_score }}%
{% endfor %}
{% endif %} {% if mermaid_diagram %}

Execution DAG

Agent delegation graph with compliance scores. Green indicates high compliance; red indicates gaps.

{{ mermaid_diagram }}
{% else %}

No DAG visualization available for this trace.

The trace may not contain delegation metadata.

{% endif %}
{{ score }}%
System Score
Status Breakdown
Satisfied {{ summary.satisfied }}
Partial {{ summary.partial }}
Missing {{ summary.missing }}
Tiered Scores
{% for tier in tiered_scores %}
{{ tier.label }} {{ tier.score }}%
{{ tier.satisfied }}/{{ tier.count }} satisfied
{% endfor %} {% if not tiered_scores %}

No tiered scoring data available.

{% endif %}
{% if summary.top_gaps %}

Top Compliance Gaps

{% for gap in summary.top_gaps %}
{{ loop.index }} {{ gap }}
{% endfor %}
{% endif %}
{% for status in ['satisfied', 'partial', 'missing', 'not_applicable'] %} {% for req in results_by_status[status] %}
{{ req.id }} {{ req.severity }} {{ req.compliance_tier }}

{{ req.title }}

{{ req.article }} — {{ req.regulation }}

{{ req.score }}%

Description

{{ req.description }}

Legal Citation

{{ req.legal_text }}

{% if req.evidence %}

Evidence Fields

{% for ev in req.evidence %} {% endfor %}
Field Coverage Present / Total
{{ ev.field }} {{ ev.coverage }}% {{ ev.present }} / {{ ev.total }}
{% endif %} {% if req.gaps %}

Gaps

{% for gap in req.gaps %}

{{ gap.description }}

Impact: {{ gap.impact }}

Recommendation: {{ gap.recommendation }}

{% endfor %}
{% endif %}
{% endfor %} {% endfor %}
{% endblock %}