---
title: "Managed Agents：分离会话、决策与执行"
description: "从 Raindrop 已收藏的 Anthropic 工程文章整理。"
---

> Documentation Index
> Fetch the complete documentation index at: https://logbook.pennlam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Managed Agents：分离会话、决策与执行

## 来源

Lance Martin、Gabe Cemaj、Michael Cohen，[Scaling Managed Agents: Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents)。本次通过 Raindrop 读取了文章正文；没有取得本人的划线正文。

## 核心设计

- **会话**保存持久事件，不等同于模型上下文窗口。
- **Harness**处理模型与工具之间的执行循环。
- **Sandbox 与工具**执行具体操作，不与会话存储绑定为不可替换的单元。

## 可以借鉴什么

会话、决策和执行可以独立失败、独立替换。把历史记录放到可恢复的存储中，不要求单个运行容器永久存活。

凭据、执行环境和会话权限也需要明确边界。文章报告的性能提升只适用于其测试范围，不直接迁移成自己的收益预估。

## 与知识库的关系

保留来源与历史事件的索引，再给模型可选择的摘要。摘要可以改变，但不应使原始证据失去可追溯性。

关联：[远程 Agent 基础设施](/projects/agent-infrastructure/)、[活动记录到知识](/notes/thoughts/activity-to-knowledge/)。

Source: https://logbook.pennlam.com/notes/reading/managed-agents/index.mdx
