{% extends "base.html" %} {% block title %}Agents — SimpleAudit{% endblock %} {% block content %}

Agents

{% if chat_enabled %}

{{ agents|length }} agent{{ agents|length|pluralize }}. An agent composes a model, instructions, knowledge, tools, and retrieval settings into an auditable target.

{% endif %}
{% if chat_enabled %} + New agent {% endif %}
{% if not chat_enabled %}
Chat is not enabled on this server, so agents cannot be managed here. Enable it with SIMPLEAUDIT_CHAT=embedded.
{% endif %} {% if chat_enabled and agents %} {# List of agents (only reached when chat is on). #}
{% for agent in agents %}

{{ agent.name }}

{{ agent.base_model.display_name }} · {{ agent.base_model.connection.name }}

{% if not agent.enabled %}disabled{% endif %}
{% if agent.description %}

{{ agent.description }}

{% endif %}
{% if agent.knowledge_bases.count %} {{ agent.knowledge_bases.count }} KB {% endif %} {% if agent.tools.count %} {{ agent.tools.count }} tools {% endif %} {% if agent.retrieval_settings %} Retrieval: {{ agent.retrieval_settings.search_mode }} {% endif %}
Edit Test in Chat
{% csrf_token %}
{% endfor %}
{% elif chat_enabled %} {# Chat on but no agents yet: empty-state CTA. (Off state shows only the notice above.) #}

No agents yet.

Create your first agent
{% endif %} {% endblock %}