{% extends "base.html" %} {% block title %}实例 · Hermes Agent Web{% endblock %} {% block body %}

实例

数据目录:{{ data_root }} · 合计 {{ total }} 个实例 · 网关运行中 {{ running_n }} 个 · 列表「所属人」记在每台目录下的 web-meta.json(与 data/config.yaml 分离)

首次配置请点 「Hermes 引导」(setup → 启动 gateway → 容器 shell)。 Docker 项目名 hermes-<序号>,服务 gateway(NousResearch/hermes-agent)。

{% if compose_error %}
Compose 配置错误:{{ compose_error }}
{% endif %}
将分配新序号、创建目录并执行 bootstrap;之后可点「启动」拉起网关。
{% if not rows %}

暂无实例。点击「新建实例」开始。

{% else %} {% for r in rows %} {% endfor %}
# 状态 所属人 端口 操作
{{ r.id }} {% if r.status.running %} 运行中 {% elif r.status.state == 'not_created' %} 未创建容器 {% elif r.status.state in ('exited', 'dead') %} 已停止 {{ r.status.state }} {% else %} {{ r.status.state }} {% endif %} {% if r.status.name %}
{{ r.status.name }}
{% endif %} {% if r.status.detail %}
{{ r.status.detail }}
{% endif %} {% if not r.has_config %}
未配置(无 config.yaml / .env)
{% endif %}
网关 {{ r.gateway_port }}
Dashboard {{ r.dashboard_port }}
Hermes 引导 终端
编辑配置
{% endif %} {% endblock %}