Command Palette
Search for a command to run...
LLM Agent에서의 Externalization: Memory, Skills, Protocols 및 Harness Engineering에 관한 통합적 리뷰
LLM Agent에서의 Externalization: Memory, Skills, Protocols 및 Harness Engineering에 관한 통합적 리뷰
초록
Large language model (LLM) agent는 모델의 가중치(weights)를 직접 변경하기보다, 모델을 중심으로 하는 런타임(runtime)을 재구성하는 방식으로 점점 더 많이 구축되고 있습니다. 과거 시스템에서는 모델이 내부적으로 복구하거나 수행해야 한다고 기대했던 능력들이 이제는 메모리 저장소(memory stores), 재사용 가능한 기술(reusable skills), 상호작용 프로토콜(interaction protocols), 그리고 이러한 모듈들을 실제 환경에서 신뢰할 수 있게 만드는 주변 하네스(harness)로 외부화(externalized)되고 있습니다.본 논문은 이러한 변화를 '외부화(externalization)'라는 관점에서 고찰합니다. 인지적 도구(cognitive artifacts)라는 개념을 바탕으로, 우리는 agent 인프라가 중요한 이유가 단순히 보조적인 구성 요소를 추가하기 때문이 아니라, 모델이 더 신뢰성 있게 해결할 수 있는 형태로 어려운 인지적 부담을 변환해주기 때문이라고 주장합니다. 이러한 관점에서 볼 때, 메모리는 시간에 따른 상태(state)를 외부화하고, 기술(skills)은 절차적 전문성을 외부화하며, 프로토콜(protocols)은 상호작용 구조를 외부화합니다. 그리고 하네스 엔지니어링(harness engineering)은 이들을 조율하여 통제된 실행(governed execution)으로 통합하는 계층 역할을 수행합니다.본 연구에서는 가중치(weights)에서 context를 거쳐 하네스(harness)로 이어지는 역사적 흐름을 추적하고, 메모리, 기술, 프로토콜을 서로 구별되면서도 결합된 세 가지 형태의 외부화 방식으로 분석하며, 이들이 거대한 agent 시스템 내부에서 어떻게 상호작용하는지 조사합니다.
One-sentence Summary
This paper provides a unified review of LLM agent development through the lens of externalization, arguing that shifting cognitive burdens from internal model weights to external memory, skills, protocols, and harness engineering transforms complex reasoning into reliable, structured execution processes.
Key Contributions
- This paper introduces the concept of externalization as a framework for understanding the shift in LLM agent development from model weight optimization to the reorganization of runtime infrastructure.
- The work categorizes agent capabilities into three distinct but coupled forms of externalization: memory for state management, skills for procedural expertise, and protocols for interaction structure.
- The research proposes a comprehensive taxonomy for evaluating agent systems through metrics such as maintainability, recovery robustness, context efficiency, and governance quality to better distinguish infrastructure achievements from model intelligence.
Introduction
As Large Language Model (LLM) agents evolve, the focus of development is shifting from increasing model parameters to optimizing the runtime environments in which they operate. While earlier approaches relied on internalizing knowledge within model weights or managing it through ephemeral context windows, these methods struggle with long-term continuity, procedural consistency, and reliable coordination with external tools. The authors leverage the concept of cognitive artifacts to propose a systems-level framework centered on externalization. They argue that reliable agency is achieved by relocating cognitive burdens into three distinct dimensions: memory for temporal state, skills for procedural expertise, and protocols for structured interaction. These modules are unified by harness engineering, which provides the essential orchestration, governance, and observability required to transform raw model reasoning into dependable, real-world execution.
Method
The authors propose a framework for agentic intelligence that shifts the burden of continuity from the model's internal weights to a structured cognitive environment known as a harness. This architecture decouples the agent's state across time from its transient context by externalizing cognition into three primary modules: Memory, Skills, and Protocols.
The memory system serves as the repository for externalized state, categorized into four distinct dimensions to manage temporal properties and retrieval needs. These include working context, which captures the live intermediate state of a task; episodic experience, which records specific prior runs and decision points; semantic knowledge, which stores abstracted domain facts and heuristics; and personalized memory, which tracks user-specific preferences and habits.
As shown in the figure above, raw context from the ephemeral window and environmental feedback is converted into these four persistent dimensions. The architecture of these memory systems evolves from monolithic context to retrieval stores, hierarchical orchestration involving extraction and consolidation, and finally to adaptive memory systems utilizing dynamic modules and feedback-based optimization.
Skills represent externalized expertise, transforming procedural know-how into reusable, bounded capabilities. A skill is defined by its specification, which includes capability boundaries, scope, preconditions, execution constraints, and examples. This specification elevates a skill from an unstructured prompt to an explicit object that can be governed. Within a skill artifact, the authors distinguish between operational procedures, decision heuristics, and normative constraints, which define the acceptable boundaries for execution.
Protocols provide the externalized interaction layer, translating high-level skill intent into deterministic, machine-readable action schemas. They ensure that skill execution is grounded through standardized interfaces such as tool schemas and subagent delegation contracts.
The integration of these modules occurs within the harness, which acts as a coordinated cognitive environment. Refer to the framework diagram to see how the foundation model sits at the center, surrounded by the three externalization modules and three operational surfaces: Permission, Control, and Observability.
The harness facilitates a continuous loop of interaction among these components. Memory supplies the situational evidence required for skill selection and protocol routing. Skills turn stored experiences into reusable procedures and invoke protocolized actions. Protocols, in turn, constrain execution and facilitate result assimilation by writing normalized outcomes back into memory. This creates a self-reinforcing cycle where execution traces and successes are continuously distilled to improve the agent's long-term capabilities.