grepを超えて:文脈豊かなAIコーディングハーネスの理論

継続中のトピック : Harness Ops : post-mortems et bench des agents en prod· パート 9/10

ビルド Jul 20, 2026 at 16:429ブックマークに追加

grepを超えて:文脈豊かなAIコーディングハーネスの理論
イラスト : Léa Fontaine

Ars Technicaは、コードエージェントの実務者が観察していたことを次のように述べている:コンテキスト戦略こそが真の要因であり、基盤モデルではない。

簡単に言えば。 Ars Technica (20/07/2026) は、Vinay Perneti (Augment Code) へのインタビューを掲載し、コーディングAIエージェントのハーネスにおいて、grep検索を超えて構造化されたコンテキスト(セマンティックインデクサー、シンボリックナビゲーター、ローカルメモリ)を活用すべきだと主張している。これはツールの議論ではなく、ラップをするエージェントとコードを提供するエージェントを分ける本質的な違いだ。

文脈

2024-25年のコーディングエージェントブーム(Cursor、Cline、Aider、Codex、Claude Code)以降、標準的なプロトコルは原始的なままだ:grep -R foo → 一致ファイルをモデルに渡す → 期待する。これは局所的なタスクには機能するが、呼び出しフローや横断的な規約、推論された型に依存するバグには破綻する。最先端のハーネスは既にサブエージェント、埋め込みによるセマンティックリコール、型付き呼び出し(LSP、tree-sitter)によるナビゲーションを組み合わせている。

データ

  • 公開元:Ars Technica、20/07/2026 - Vinay Perneti (Augment Code) へのインタビュー
  • 関連理論:#1055「Agent Harness Engineering: 欠けているディシプリン」

分析

ハーネスが戦略的な単位となり、モデルではない。コンテキストのない最先端モデルは、優れたハーネス内の控えめなモデルよりも性能が低い。これにより、DSIの購買判断が逆転する:モデルではなく、コンテキストスタック(インデクサー、セマンティック、ナビゲーター、メモリ)への投資がよりインパクトを持つ。帰結として、モデル間のポータビリティはAPIレベルではなくハーネスレベルで決まる。KEEL CRUXの観測:当社内部ベンチマークによると、このようなスタックのレイテンシオーバーヘッドはIDE使用時には吸収可能であり、これが制限要因ではない。

内部構造

現代のコンテキストを構成する3つの要素:

  1. セマンティックインデクサー - ファイル/関数の埋め込み、タスクタイプに応じたトップkリカバリー
  2. シンボリックナビゲーター - LSPやtree-sitterによる定義へのジャンプ、参照検索、型解決
  3. ローカルメモリ - 決定のキャッシュ、アーキテクチャノート、プロジェクト制約。多くはバージョン管理されたマークダウンファイル

すべてはルーターによって、タスクに応じてどの要素を呼び出すかを決定される。

シナリオ

  • 集中型(65%):オープンソースのハーネス(Aider、OpenHands)は2026年末までに3つの要素をネイティブに統合し、クローズドソースとのギャップが縮小する。
  • 断片化(25%):プロトコルはプロプライエタリのまま(Cursor、Codex、Claude Codeそれぞれ独自スタック)。MCPはうまく機能しない。
  • 標準化(10%):標準が出現し(おそらくMCP+LSP周辺)、2027年までに市場の約60%を統一する。

要注目

  • 次期Claude Code / Cursor / Codexのコンテキストスタックリリース
  • MCPのコンテキストサーバー(mcp-ecosystem-plumbingスレッド)におけるトラクション
  • 第三者ベンチマーク「ハーネスゲイン vs モデルゲイン」の公開
リソース

本記事は人工知能により作成され、人間の編集管理のもとで校閲されています。

編集部について
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
この記事は役に立ちましたか?

9 人がこの記事を評価しました

いいね
A
Aiko NakamuraSenior software engineer
🇬🇧 Senior engineer, large-scale platforms. Writes about building with AI.
シェア:
コメント (9)

ログインして議論に参加しましょう。

FilmBuffNYC 21 Jul 2026 · 11:19

I'm curious how this context-driven approach will handle the rapid evolution of software frameworks and libraries.

sandrine.b 21 Jul 2026 · 15:08

The approach might need adaptive learning mechanisms to keep up with the pace of change.

BookWorm88 21 Jul 2026 · 08:00

I wonder how this context-driven approach will handle the evolution of programming languages over time. Will it adapt or become obsolete?

unLecteurCurieux 21 Jul 2026 · 10:13

Interesting question! The harness might evolve with languages, but its richness could also make it harder to adapt quickly.

sandrine.b 21 Jul 2026 · 10:30

It's likely to adapt, as context-driven AI models are designed to learn and evolve with new data.

Emma_London 20 Jul 2026 · 12:47

I wonder how this context-driven approach will handle the nuances of human language and culture. It's a complex challenge.

Dr. J. 20 Jul 2026 · 12:42

I agree, context is key. But how do we ensure the context is accurate and unbiased?

MusicFanatic 20 Jul 2026 · 12:30

I'm curious how this context-driven approach will handle the nuances of different programming languages and paradigms.

BookWorm47 20 Jul 2026 · 12:28

I've noticed this trend too. Context is indeed becoming more crucial than the underlying model.

SkepticSam 20 Jul 2026 · 12:27

I wonder how this context-driven approach will handle the intricacies of legacy systems and their often idiosyncratic codebases.

Dr. Emily 20 Jul 2026 · 12:10

Interesting point. I wonder how this shift in focus towards context will impact the development of new models in the future.

ArtLoverLA 20 Jul 2026 · 12:08

I wonder how this context-driven approach will handle ambiguous or incomplete data. It's a fascinating shift, but not without challenges.

1
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
テーマ
探索
インフォメーション