HyperAIHyperAI

Command Palette

Search for a command to run...

LLM AgentにおけるExternalization:Memory、Skills、ProtocolsおよびHarness Engineeringに関する統一的レビュー

概要

Large Language Model (LLM) エージェントの構築手法は、モデルの重み(weights)を更新することよりも、モデルを中心としたランタイム(runtime)を再構成することへと、ますますシフトしています。従来のシステムではモデルの内部的な復元力に期待されていた能力が、現在ではメモリ・ストア(memory stores)、再利用可能なスキル(reusable skills)、インタラクション・プロトコル(interaction protocols)、そしてこれらのモジュールを実用的なレベルで信頼可能にする周辺のハーネス(harness)へと外部化されています。本論文では、この変化を「外部化(externalization)」という観点からレビューします。私たちは「認知的道具(cognitive artifacts)」の概念に基づき、エージェントのインフラストラクチャが重要である理由は、単に補助的なコンポーネントを追加するためではなく、モデルにとって困難な認知的負荷を、より確実に解決可能な形態へと変換するためであると主張します。この視点に立てば、メモリは時間軸にわたる状態(state)を外部化し、スキルは手順的な専門知識(procedural expertise)を外部化し、プロトコルはインタラクションの構造を外部化します。そして、ハーネス・エンジニアリング(harness engineering)は、これらを統制された実行プロセスへと統合・調整するユニフィケーション・レイヤー(unification layer)として機能します。本稿では、重み(weights)からコンテキスト(context)、そしてハーネス(harness)へと至る歴史的な変遷を辿るとともに、メモリ、スキル、プロトコルを、相互に関連する3つの異なる外部化形態として分析し、それらが大規模なエージェント・システム内部でどのように相互作用するかを検討します。

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.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています
LLM AgentにおけるExternalization:Memory、Skills、ProtocolsおよびHarness Engineeringに関する統一的レビュー | 記事 | HyperAI超神経