or loops, that iteratively guide AI agents toward completing user-defined goals with minimal human intervention." 人の手をなるべく借りずに、決めたゴールへ AI エージェントを繰り返し導くループを設 計すること。 ハーネスのうちループの回し方と止め方を指す言葉です。 出典: IBM「What Is Loop Engineering?」(2026年7月) 13
about what the model can't do on its own" ハーネスの部品はどれも「モデルはこれを自力でできない」という仮定の上にある。 電通総研の検証で効いたのは、作業状態や正しい資料など、 モデルが知りようのない情報を渡す部品でした。 出典: Anthropic「Harness design for long-running application development」 / 電通総研テックブログ(2026年8月) 14
for b in response["content"] if "text" in b) if len(text.split()) <= 50: return True return {"passed": False, "feedback": "Too long. Cap at 50."} agent = Agent(plugins=[GoalLoop( goal=word_count_validator, max_attempts=5, timeout=30.0)]) • goal には関数か、自然言語の条件を渡す • 既定は回数も時間も無制限。max_attempts は必ず決める 44