--- title: "Multi-Profile-Isolation" type: concept tags: [] sources: [expose-hermes-agent-as-an-openai-compatible-api-for-any-frontend] last_updated: 2026-05-02 --- ## Definition Multi-Profile Isolation 是通过 Hermes Agent 的 Profiles 机制实现多用户/多场景隔离的技术,每个 Profile 运行独立配置、记忆和技能。 ## Mechanism Hermes Agent 支持多 Profile: - **独立配置**:每个 Profile 拥有独立的 `config.yaml`、API 密钥、工具集 - **独立记忆**:每个 Profile 的会话历史和记忆完全隔离 - **独立技能**:每个 Profile 可启用不同的 Skills - **独立端口**:每个 Profile 运行独立 API Server(不同端口) ## Use Case - 多用户场景:为不同用户/角色创建独立 Profile - 多场景场景:开发/测试/生产环境隔离 - 多 Agent 场景:不同专业 Agent 使用不同 Profile ## Security Benefits - 用户间数据完全隔离 - 配置错误不会相互影响 - 便于独立管理和备份 ## Related - [[Bearer-Token-Authentication]] - [[OpenAI-Compatible-API]]