Getting the SDK

Source access, package downloads and more.

As part of your Talent Agent SDK subscription you'll receive source access to the full SDK source code and samples at https://github.com/peoplelogic/agent-sdk. We will have invited your organization as a collaborator during signup.

The preferred method of starting a new project with the SDK is to leverage Gradle or Maven as your build tool.

build.gradle
plugins {
    id 'java'
    id "io.freefair.lombok" version "8.6"
}

group = 'dev.peoplelogic.agents.sample'
project.description = "Peoplelogic Agent SDK Sample"
def agent_sdk_version = "${agent_sdk_version}"

java { toolchain { languageVersion = JavaLanguageVersion.of(17) } }
repositories {
    mavenCentral()
    maven {
        name = "SDK Repository"
        url = uri("https://maven.pkg.github.com/peoplelogic/agent-sdk")
        credentials {
            username = System.getenv("GITHUB_USERNAME") ?: project.findProperty("github.username")
            password = System.getenv("GITHUB_PACKAGES_TOKEN") ?: project.findProperty("github.packagesToken")
        }
    }
}

dependencies {
    implementation(platform("ai.peoplelogic:agent-sdk-dependencies:${agent_sdk_version}"))
    // Include teh SDK
    implementation "ai.peoplelogic:agent-sdk"
    implementation "dev.langchain4j:langchain4j"

}

tasks.register("prepareKotlinBuildScriptModel"){}

If you're using Gradle, you'll also typically want to include a gradle.properties file with the following:

gradle.properties
agent_sdk_version = 1.0.7.12

Alternatives to Gradle or Maven

If you aren't a user of Gradle or Maven, you can download the SDK as a standalone package to include in your project or you can download one of our sample projects as a starter kit.

Last updated

Was this helpful?