Files
nexus/wiki/concepts/多Profile隔离.md
2026-05-03 05:42:12 +08:00

1.1 KiB
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
多Profile隔离 concept
2026-05-02

Definition

Hermes Agent 的 Profile 机制允许为每个角色/用户创建独立的配置实例,每个 Profile 拥有独立的端口、API Key、工具集和会话状态实现多 Agent 的进程级隔离与并发协作。

Details

  • 每个 Profile 是独立运行的 Hermes 实例
  • 典型分工示例agent-researcher8643、agent-writer8644、agent-coder8645
  • 端口和 API Key 均可独立配置
  • Profile 之间完全隔离,不会相互干扰会话上下文

Usage

# 创建专属 Agent
hermes profile create agent-researcher
hermes -p agent-researcher config set API_SERVER_ENABLED true
hermes -p agent-researcher config set API_SERVER_PORT 8643
hermes -p agent-researcher config set API_SERVER_KEY key-researcher
hermes -p agent-researcher gateway &

Aliases

  • Multi-Profile Isolation
  • Profile-based multi-tenancy
  • Agent Profile Isolation