{% extends "settings/_layout.html" %} {% block title %}Search agents — roledesk{% endblock %} {# A card per agent: `static/agents.js` fills the list from `/api/agents`, newest first. A card shows the agent's prompts, its rules in words, its switch and its weights; Edit turns that card into the form below, in place, and New puts a blank one on top. The form is a `