{% extends "agents/_layout.html" %} {% from "_macros.html" import icon %} {% block title %}Connections - {{ brand.name }}{% endblock %} {% block heading %}Connections{% endblock %} {% block actions %} {{ icon("plus", "icon--sm") }} Add a connection {% endblock %} {% block agents_content %}

Machines an Agent chat can work on. A model with one of these can read files, write files and run commands there โ€” never here. Which of those it may do without asking you first is the chat's mode.

{{ icon("shield", "icon--sm") }} Whatever this connection can reach, a model in an agent chat can reach. A container built for the job, with one project mounted into it, is a very different thing from a key to a machine you care about โ€” and {{ brand.name }} cannot tell them apart.
{% if problem %}
{{ icon("warning", "icon--sm") }} {{ problem }}
{% elif not enabled %}
{{ icon("warning", "icon--sm") }} Agent chats are switched off for this instance. You can still add connections here, but nothing will use them until an administrator turns them on.
{% endif %} {% if saved %}
{{ icon("check", "icon--sm") }} {{ saved }}
{% endif %} {% if not profiles %}
{{ icon("server", "empty__mark") }}

No connections yet

Add the host, the user to log in as, and a key or password. Then press Check โ€” you will be shown its fingerprint to confirm before anything is sent to it.

{{ icon("plus", "icon--sm") }} Add a connection
{% else %}
{% for profile in profiles %} {# `refused` is why this connection cannot be used at all, which is a stronger statement than `disabled` -- that one is the owner's own choice and this one is not theirs to make. Greyed out with the same class, because "you cannot use this" is one visual idea however it came about. #} {% set refused = refusals.get(profile.id, "") %}
{{ profile.name }} {% if refused %} not allowed {% elif profile.verified %} key confirmed {% else %} not checked {% endif %} {% if not profile.enabled %}disabled{% endif %} {% if profile.auth == "password" %}password{% endif %}
{{ profile.address }}{% if profile.default_dir %} ยท {{ profile.default_dir }}{% endif %} {% if refused %}

{{ refused }}

{% elif profile.last_error %}

{{ profile.last_error }}

{% elif profile.server_info.system %}

{{ profile.server_info.system }}

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