タグ

ブックマーク / learn.shareai.run (1)

  • Learn Claude Code

    コアパターンすべての AI コーディングエージェントは同じループを共有する:モデルを呼び出し、ツールを実行し、結果を返す。実運用ではこの上にポリシー、権限、ライフサイクル層が重なる。 while True: response = client.messages.create(messages=messages, tools=tools) if response.stop_reason != "tool_use": break for tool_call in response.content: result = execute_tool(tool_call.name, tool_call.input) messages.append(result)

    CLSmooth
    CLSmooth 2026/03/19
  • 1