演習 › 全問
問題 Q6-01
76 / 106分野6・コンテキストエンジニアリング
まだ解いていません。
長時間動くエージェントで、作業の後半になると、序盤に呼んだ検索ツールの大量の生の結果が履歴に残り、応答の質が落ちてきた。最も安全で軽い最初の対策はどれか。
正解は D
- Aウィンドウが大きくても、関係のない情報で汚れる問題は残ります。
- B必要な状態まで失います。
- C情報は残ったままで、集中を妨げ続けます。
- D正解です。ずっと前のツールの生の結果を再び見る必要はほとんどなく、消すのは最も安全で軽い圧縮の方法の1つです。
考え方:まず古いツールの結果を刈り込む。
出典:Effective context engineering for AI agents
once a tool has been called deep in the message history, why would the agent need to see the raw result again?https://www.anthropic.com/research/effective-context-engineering-for-a…(取得 2026-11-17)
出典:Context editing
Context editing allows you to selectively clear specific content from conversation history as it grows.https://platform.claude.com/docs/en/build-with-claude/context-editing.…(取得 2026-11-17)