長時間動作アプリケーション開発向けハーネス設計Harness design for long-running application development
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- エージェント型コーディングの最前線でパフォーマンスを高めるハーネス設計を解説。
- フロントエンド設計や長時間自律型ソフトウェアエンジニアリングでClaudeの能力をさらに引き出す手法を紹介する。
How Anthropic improved Claude's performance in frontend design and long-running autonomous software engineering tasks through thoughtful harness design for agentic coding workflows.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (anthropic.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (anthropic.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
エージェント型コーディングの性能は、モデルそのものの能力だけでなく、それを取り囲む「ハーネス(harness)」の設計に大きく左右される。Anthropicはエンジニアリングブログで、フロントエンド設計や長時間にわたり自律的に動作するソフトウェアエンジニアリングのタスクにおいて、Claudeの能力をさらに引き出すためのハーネス設計手法を解説した。
ハーネスとは、大規模言語モデルをエージェントとして機能させるための足回り全般を指す。具体的には、モデルに与えるツール群やコンテキスト、プロンプト、実行結果のフィードバックループ、検証やエラー処理の仕組みなどが含まれる。モデルの推論性能が同じでも、ハーネスの作り込み次第で実際のタスク完遂率や出力品質は大きく変わるとされる。
特に課題となるのが、数十分から数時間に及ぶ長時間タスクである。エージェントが多数のステップを連続して実行する場合、コンテキストウィンドウの制約や、途中で蓄積する誤りの伝播、状態管理の難しさが顕在化しやすい。Anthropicは、適切なタイミングでの情報の取捨選択や、サブタスクへの分割、進捗の検証といった仕組みを通じて、長時間でも一貫性を保ちやすくする工夫を紹介している。
フロントエンド設計の領域では、生成したUIの見た目や挙動を実際に確認し、その結果をモデルに戻すフィードバックの設計が重要になると見られる。視覚的な出力は単純なテキスト処理よりも評価が難しく、ハーネス側で適切な検証手段を用意できるかが品質を左右する可能性がある。
こうしたハーネス設計の重要性は、業界全体の関心事でもある。Anthropic自身が提供するClaude Codeのほか、CursorやGitHub Copilot、各種のエージェントフレームワークなど、モデルを実務に組み込むツールが相次いで登場している。モデル単体の性能向上だけでは差がつきにくくなりつつあるとの見方もある中で、周辺の設計をいかに洗練させるかが、実用的な開発支援の差別化要因になっていくと考えられる。今回の解説は、その設計指針を具体的に言語化した内容として、エージェント開発に取り組む開発者にとって参考になりそうだ。
In agentic coding, the model is only part of the equation. The surrounding software that feeds a model context, exposes tools, manages state, and decides when to stop or continue, often called the harness, increasingly determines how well an AI system performs on real engineering work. Anthropic's engineering team has detailed how careful harness design helped push Claude further in two demanding areas: frontend design and long-running autonomous software engineering. The topic matters because as tasks stretch from seconds to hours, the difference between a capable model and a useful system comes down to the scaffolding around it.
A harness is the orchestration layer that sits between a user request and the model. It assembles the prompt, manages the context window, registers the tools the agent can call, captures the results of those calls, and loops until a goal is reached. For short interactions, a thin harness is often enough. For tasks that span many steps, the harness must handle accumulating context, recover from errors, and keep the agent oriented toward the original objective without drifting or repeating work. Anthropic frames this as a design discipline in its own right, distinct from training the underlying model.
Long-running tasks expose problems that short prompts never reveal. As an agent works for an extended period, its context window fills with tool outputs, intermediate reasoning, and prior actions. Without management, important early instructions can be crowded out, and the agent may lose track of what it has already tried. Techniques to address this typically include compacting or summarizing earlier steps, persisting state to external files rather than relying solely on the context window, and structuring work so the agent can resume cleanly after an interruption. The goal is to let an agent operate for hours while remaining coherent, a prerequisite for autonomous software engineering where a single task might involve reading a codebase, making changes across many files, running tests, and iterating on failures.
Frontend design is a useful proving ground because it combines code generation with visual judgment. Producing a working interface is not only about syntactically correct code; it involves layout, styling, responsiveness, and aesthetic choices that are hard to specify precisely. A harness can improve results here by giving the agent feedback loops, for example by letting it render output, inspect the result, and revise. Anthropic indicates that pushing Claude on frontend work involved refining how the agent perceives and iterates on what it builds, rather than expecting a correct answer in a single pass. This reflects a broader pattern in agentic systems, where the ability to verify and self-correct often matters more than raw first-attempt accuracy.
The work sits within a fast-moving industry context. Anthropic ships Claude Code, a command-line agent for software engineering, and has released the Claude Agent SDK and the Model Context Protocol, an open standard for connecting models to external tools and data sources. Competing efforts, including OpenAI's coding agents and a range of third-party tools such as Cursor, Aider, and Devin, are converging on similar concerns: how to give models reliable access to a development environment, how to manage long horizons of work, and how to evaluate progress. Benchmarks like SWE-bench, which measures whether an agent can resolve real GitHub issues, have helped standardize comparison, though they capture only part of what production systems require.
Several prerequisite concepts underpin this approach. Tool use, sometimes called function calling, lets a model invoke external operations such as editing files or running commands and then incorporate the results. Context management addresses the finite window of tokens a model can attend to at once. Evaluation and feedback loops give the agent signals about whether its work is succeeding. Effective harness design weaves these together so that capability already present in the model can be reliably elicited on hard, multi-step tasks.
The broader implication is that improving agent performance is not solely a matter of larger or newer models. Much of the gain appears to come from engineering the system around the model, an area that remains relatively young and where practices are still being established. For teams building on Claude or comparable systems, Anthropic's account suggests that investing in the harness, especially state management and verification for long-running work, is likely to yield meaningful returns alongside any underlying model improvements.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko「ハーネス設計」って何?エージェント型コーディングとどう関係するの?What is “harness design”? How does it relate to agentic coding?
- TECHガイドTECH Guide簡単に言うと、ハーネスはAIエージェントの作業を支える周囲の仕組みじゃ。記事では、その設計が性能の鍵だとしておる。Simply put, a harness is the surrounding system that supports an AI agent’s work. The article says its design is key to performance.
- ポコPokoそれを工夫すると何がうれしいの?長時間の開発でClaudeの力をもっと引き出せるってこと?What do you gain by improving it? Does it help Claude do better on long-running development work?
- TECHガイドTECH Guide記事によれば、フロントエンド設計と長時間の自律型ソフトウェア開発で、Claudeの性能をさらに引き出したそうじゃ。According to the article, thoughtful harness design pushed Claude further in frontend design and long-running autonomous software engineering tasks.
- ポコPokoつまり、モデルだけでなく、動かし方を支える仕組みもエージェント型コーディングには大事なんだね!So it’s not just the model—the system supporting how it works matters for agentic coding too!
- TECHガイドTECH Guideその理解でよいぞ。紹介される設計手法が、二つの領域でClaudeの力をどう引き出すのかが見どころじゃな。Exactly. The key point is how the described harness techniques bring out more of Claude’s capabilities in those two areas.


