Skip to content

--8<-- [start:prerequisites]

環境およびプロジェクトが以下の要件を満たしていることを確認してください:

  • JDK 17+
  • Kotlin 2.2.0+
  • Gradle 8.0+ または Maven 3.8+

--8<-- [end:prerequisites]

--8<-- [start:dependencies]

Koogパッケージを依存関係として追加します:

dependencies {
    // 安定版
    implementation("ai.koog:koog-agents:1.0.0")

    // ベータ版
    implementation("ai.koog:koog-agents-additions:1.0.0-beta")
}
dependencies {
    // 安定版
    implementation 'ai.koog:koog-agents:1.0.0'

    // ベータ版
    implementation 'ai.koog:koog-agents-additions:1.0.0-beta'
}
xml
<dependency>
    <!-- 安定版 -->
    <dependency>
        <groupId>ai.koog</groupId>
        <artifactId>koog-agents-jvm</artifactId>
        <version>1.0.0</version>
    </dependency>

    <!-- ベータ版 -->
    <dependency>
        <groupId>ai.koog</groupId>
        <artifactId>koog-agents-additions-jvm</artifactId>
        <version>1.0.0-beta</version>
    </dependency>
</dependency>

--8<-- [end:dependencies]

--8<-- [start:api-key]

LLMプロバイダーからAPIキーを取得するか、Ollamaを介してローカルLLMを実行してください。 詳細については、クイックスタートを参照してください。

--8<-- [end:api-key]